- 28 Mar, 2016 1 commit
-
-
Jacob Champion authored
The ContinueTimer could expire before the full HEADERS frame was actually sent. By moving the call to timer->start() to the on_frame_send_callback(), this race is fixed.
-
- 23 Mar, 2016 1 commit
-
-
Jacob Champion authored
If a 100 Continue interim response was received after the continue timeout was reached, dispatch_continue() would force a double submission of DATA frames. This patch prevents dispatch_continue() from doing anything if the timer callback has already been invoked. This makes ContinueTimer a single-shot mechanism, as originally intended.
-
- 22 Mar, 2016 8 commits
-
-
Jacob Champion authored
To deal with servers that don't conform to RFC 7231 (or, potentially, connections with a large round-trip time), don't wait forever for a 100 Continue status to come back. Currently, the timeout is hard-coded to one second. A ContinueTimer encapsulates the handshake timeout logic for a single request. Somewhat counterintuitively, ContinueTimers are owned by the HttpClient instead of the Request object, because their lifetime must be bound to the life of the connection (which is owned by the HttpClient and not the Requests). A Request is associated with its corresponding ContinueTimer through a std::weak_ptr.
-
Jacob Champion authored
Requests that expect a 100 Continue will not submit their DATA frames until the server sends the interim response.
-
Jacob Champion authored
Add a placeholder for the expect-continue option, which will perform an Expect/Continue handshake for DATA uploads.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 21 Mar, 2016 3 commits
-
-
Tatsuhiro Tsujikawa authored
This reverts commit 6680d8b7.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 20 Mar, 2016 5 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 19 Mar, 2016 9 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
-
- 17 Mar, 2016 2 commits
- 16 Mar, 2016 5 commits
-
-
Peter Wu authored
Fix Windows build by defining `ssize_t` when missing and adjusting the install commands. Add support for ENABLE_WERROR=1 while at it. Tested with MSVC 2013 on Windows 7 x64.
-
Peter Wu authored
Avoid adding a LIBXML2_LIBRARIES-NOTFOUND to the libraries list when it is not found. Likewise for OpenSSL.
-
Peter Wu authored
Matches autotools behavior. The m4_if logic was misread...
-
Peter Wu authored
Do not add _U_ and NGHTTP2_NORETURN definitions to the command line, instead add it to config.h. This matches what autotools does.
-
Peter Wu authored
Users can disable this by setting -DCMAKE_C_FLAGS=-DNDEBUG or -DCMAKE_CXX_FLAGS=-DNDEBUG to disable assertions as desired.
-
- 15 Mar, 2016 3 commits
-
-
Tatsuhiro Tsujikawa authored
src/Makefile.am: fix missing allocator.h
-
Peter Wu authored
Build type-specific flags are added before other flags, reflect this in the output.
-
Peter Wu authored
NOTE: RelWithDebInfo *disables* assertions by default. To keep assertions, use CMAKE_BUILD_TYPE=Debug or CMAKE_BUILD_TYPE=None.
-
- 14 Mar, 2016 3 commits