- Apr 12, 2016
-
-
Tatsuhiro Tsujikawa authored
Sicne we write header field in temporary location, not in the memory that upper layer provides, incrementing drain should not happen. Ref: https://github.com/curl/curl/issues/659 Ref: https://github.com/curl/curl/pull/663
-
Tatsuhiro Tsujikawa authored
This commit ensures that streams which was closed in on_stream_close callback gets passed to http2_handle_stream_close. Previously, this might not happen. To achieve this, we increment drain property to forcibly call recv function for that stream. To more accurately check that we have no pending event before shutting down HTTP/2 session, we sum up drain property into http_conn.drain_total. We only shutdown session if that value is 0. With this commit, when stream was closed before reading response header fields, error code CURLE_HTTP2_STREAM is returned even if HTTP/2 level error is NO_ERROR. This signals the upper layer that stream was closed by error just like TCP connection close in HTTP/1. Ref: https://github.com/curl/curl/issues/659 Ref: https://github.com/curl/curl/pull/663
-
Tatsuhiro Tsujikawa authored
This commit ensures that data from network are processed before HTTP/2 session is terminated. This is achieved by pausing nghttp2 whenever different stream than current easy handle receives data. This commit also fixes the bug that sometimes processing hangs when multiple HTTP/2 streams are multiplexed. Ref: https://github.com/curl/curl/issues/659 Ref: https://github.com/curl/curl/pull/663
-
Tatsuhiro Tsujikawa authored
Previously, when a stream was closed with other than NGHTTP2_NO_ERROR by RST_STREAM, underlying TCP connection was dropped. This is undesirable since there may be other streams multiplexed and they are very much fine. This change introduce new error code CURLE_HTTP2_STREAM, which indicates stream error that only affects the relevant stream, and connection should be kept open. The existing CURLE_HTTP2 means connection error in general. Ref: https://github.com/curl/curl/issues/659 Ref: https://github.com/curl/curl/pull/663
- Apr 11, 2016
-
-
Daniel Stenberg authored
... but ignore EAGAIN if the stream has ended so that we don't end up in a loop. This is a follow-up to c8ab6131 in order to avoid the problem d261652d was made to fix. Reported-by: Jay Satiro Clues-provided-by: Tatsuhiro Tsujikawa Discussed in #750
-
- Apr 10, 2016
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Closes #750
-
- Apr 09, 2016
-
-
Daniel Stenberg authored
-
Steve Holme authored
As these two options provide identical functionality, the former for SOCK5 proxies and the latter for HTTP proxies, merged the two options together. As such CURLOPT_SOCKS5_GSSAPI_SERVICE is marked as deprecated as of 7.49.0.
-
Steve Holme authored
This value is set to TRUE or FALSE so should be a bool and not a long.
-
Steve Holme authored
-
Steve Holme authored
Following conversation on the libcurl mailing list.
-
Steve Holme authored
...when GSS-API or Windows SSPI are not used.
-
Steve Holme authored
-
- Apr 08, 2016
-
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
Allow the service name to be overridden for DIGIST-MD5 and Kerberos 5 authentication in FTP, IMAP, POP3 and SMTP.
-
Steve Holme authored
Calculate the service name and proxy service names locally, rather than in url.c which will allow for us to support overriding the service name for other protocols such as FTP, IMAP, POP3 and SMTP.
-
Steve Holme authored
-
Patrick Monnerat authored
-
Daniel Stenberg authored
Closes #603
-
Daniel Stenberg authored
Closes #544
-
Daniel Stenberg authored
Closes #543
-
Daniel Stenberg authored
Closes #522
-
Daniel Stenberg authored
-
- Apr 07, 2016
-
-
Damien Vielpeau authored
-
Daniel Stenberg authored
... as otherwise we might get stuck thinking there's no more data to handle. Reported-by: Damien Vielpeau Fixes #737
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
mbedtls_ is the prefix used by the mbedTLS library itself so we should avoid using that for our private functions.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
This reverts commit 9c08b4f1. Didn't help. Caused problems. Fixes #756
-
- Apr 06, 2016
-
-
Daniel Stenberg authored
Make (most) example snippets use the example.com domain instead of the random ones picked and used before. Some of those were probably legitimate sites and some not. example.com is designed for this purpose.
-
Michael Kaufmann authored
The space character after the status code is mandatory, even if the reason phrase is empty (see RFC 7230 section 3.1.2) Closes #755
-
Viktor Szakats authored
Closes #754
-
Daniel Stenberg authored
Thinking it might help to apply patches etc with git.
-