- 04 Dec, 2015 1 commit
-
-
octal authored
Basically, this commit brings a brand new Response API to the party: - Response::send() can be used to send a fixed-size content and will use the classic Content-Length header - When content size is not known in advance, a Stream interface can be used to stream the response. A ResponseStream is obtaining by a call to the Response::stream member function. After that, headers will be immutable and data can be streamed a-la-ostream with operator<<
-
- 03 Dec, 2015 1 commit
-
-
octal authored
Also fixed a bunch of issues: - Flags<T> now works correctly and correctly zero-initializes the value in the default constructor - Fixed a nasty bug in Poller that went unnoticed because the Tag constructor was not marked explicit
-
- 01 Dec, 2015 1 commit
-
-
octal authored
-
- 30 Nov, 2015 4 commits
-
-
Mathieu Stefani authored
-
Mathieu Stefani authored
-
Mathieu Stefani authored
-
Mathieu Stefani authored
-
- 27 Nov, 2015 1 commit
-
-
octal authored
An Http Response is now written in two phases: - First the headers are written, and then a ResponseWriter is returned once all headers have been written. - A ResponseWriter is basically a wrapper around a NetworkStream which is a streambuf, allowing it to be used with an ostream object - Once a ResponseWriter has been constructed, headers become read-only and can not be written anymore
-
- 25 Nov, 2015 1 commit
-
-
Mathieu Stefani authored
-
- 24 Nov, 2015 2 commits
- 19 Nov, 2015 1 commit
-
-
octal authored
The whenAll function returns a Promise<T> that will resolve when all of the promises have resolved or will reject when of the promise is rejected.
-
- 17 Nov, 2015 2 commits
- 16 Nov, 2015 1 commit
-
-
octal authored
-
- 12 Nov, 2015 3 commits
-
-
octal authored
-
octal authored
-
octal authored
commit e60bcb0bc15fbba453340d69d106c5850b9a6d67 Author: octal <mathieu.stefani@supinfo.com> Date: Thu Nov 12 14:14:53 2015 +0100 Added a NoExcept concept that will call std::terminate if a promise has been rejected commit bae200046427b93e6f124c848ab36d246a7580c3 Author: octal <mathieu.stefani@supinfo.com> Date: Wed Nov 11 14:50:27 2015 +0100 Updated Optional to be able to move the result out when chaining a Promise commit da60bc8b02a1fb89a91985a0da9ddf4b7219f5b3 Author: octal <mathieu.stefani@supinfo.com> Date: Fri Nov 6 17:43:36 2015 +0100 Started working on a proof-of-concept implementation of an asynchronous primitive based on the Promises/A+ specification
-
- 03 Nov, 2015 2 commits
- 02 Nov, 2015 2 commits
- 29 Oct, 2015 1 commit
-
-
octal authored
Conflicts: src/http.cc
-
- 08 Sep, 2015 1 commit
-
-
Mathieu Stefani authored
-
- 06 Sep, 2015 1 commit
-
-
Mathieu STEFANI authored
-
- 05 Sep, 2015 1 commit
-
-
Mathieu STEFANI authored
-
- 03 Sep, 2015 1 commit
-
-
Mathieu Stefani authored
-
- 02 Sep, 2015 4 commits
-
-
Mathieu Stefani authored
Added a Date and a Raw header. Raw headers will be used when the parser encounters a header that it does not know. Raw headers only store strings for now
-
Mathieu STEFANI authored
-
Mathieu STEFANI authored
-
Mathieu STEFANI authored
-
- 01 Sep, 2015 5 commits
-
-
Mathieu Stefani authored
-
Mathieu Stefani authored
-
Mathieu Stefani authored
-
Mathieu Stefani authored
-
Mathieu Stefani authored
The reason is to avoid some headers name like Server or Date to collide with some other generic classes that might have the same name
-
- 31 Aug, 2015 2 commits
-
-
Mathieu Stefani authored
-
Mathieu Stefani authored
-
- 30 Aug, 2015 1 commit
-
-
Mathieu STEFANI authored
-
- 29 Aug, 2015 1 commit
-
-
Mathieu STEFANI authored
-