Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-05-18 | http2: Fix bug that data to be drained are overwritten by pending "paused" data | Tatsuhiro Tsujikawa | |
2015-05-18 | http2: Don't call nghttp2_session_mem_recv while it is paused by a stream | Tatsuhiro Tsujikawa | |
2015-05-18 | http2: Read data left in connection buffer after pause | Tatsuhiro Tsujikawa | |
Previously when we do pause because of out of buffer, we just throw away unread data in connection buffer. This just broke protocol framing, and I saw occasional FRAME_SIZE_ERROR. This commit fix this issue by remembering how much data read, and in the next iteration, we process remaining data. | |||
2015-05-18 | http2: Fix streams get stuck | Tatsuhiro Tsujikawa | |
This commit fixes the bug that streams get stuck if stream gets some DATA, and stream->closed becomes true at the same time. Previously, in this condition, after we processed DATA, we are going to try to read data from underlying transport, but there is no data, and gets EAGAIN. There was no code path to evaludate stream->closed. | |||
2015-05-18 | http2: store incoming h2 SETTINGS | Daniel Stenberg | |
2015-05-18 | pipeline: move function to pipeline.c and make static | Daniel Stenberg | |
... as it was only used from there. | |||
2015-05-18 | IsPipeliningPossible: http2 can always "pipeline" (multiplex) | Daniel Stenberg | |
2015-05-18 | http2: remove debug logging from on_frame_recv | Daniel Stenberg | |
2015-05-18 | http2: remove the closed check in http2_recv | Daniel Stenberg | |
With the "drained" functionality we can get here slightly asynchronously so the stream have have been closed but there is pending data left to read. | |||
2015-05-18 | http2: bump the h2 buffer to 8K | Daniel Stenberg | |
2015-05-18 | http2: Curl_read should not use the single buffer | Daniel Stenberg | |
... as it does for pipelining when we're multiplexing, as we need the different buffers to store incoming data correctly for all streams. | |||
2015-05-18 | http2: more debug outputs | Daniel Stenberg | |
2015-05-18 | http2: leave WAITPERFORM when conn is multiplexed | Daniel Stenberg | |
No need to wait for our "spot" like for pipelining | |||
2015-05-18 | http2: force "drainage" of streams | Daniel Stenberg | |
... which is necessary since the socket won't be readable but there is data waiting in the buffer. | |||
2015-05-18 | http2: move the mem+len pair to the stream struct | Daniel Stenberg | |
2015-05-18 | http2: more stream-oriented data, stream ID 0 is for connections | Daniel Stenberg | |
2015-05-18 | http2: move lots of state data to the 'stream' struct | Daniel Stenberg | |
... from the connection struct. The stream one being the 'struct HTTP' which is kept in the SessionHandle struct (easy handle). lookup streams for incoming frames in the stream hash, hashing is based on the stream id and we get the SessionHandle for the incoming stream that way. | |||
2015-05-18 | HTTP: partial start at fixing up hash-lookups on http2 frame receival | Daniel Stenberg | |
2015-05-18 | http: a stream hash for h2 multiplexing | Daniel Stenberg | |
2015-05-18 | http: a stream hash for h2 multiplexing | Daniel Stenberg | |
2015-05-18 | http2: debug log when receiving unexpected stream_id | Daniel Stenberg | |
2015-05-18 | http2: move stream_id to the HTTP struct (per-stream) | Daniel Stenberg | |
2015-05-18 | Curl_http2_setup: only do it once and enable multiplex on the server | Daniel Stenberg | |
Once we know we are HTTP/2 enabled we know the server can multiplex. | |||
2015-05-18 | http: switch on "pipelining" (multiplexing) for HTTP/2 servers | Daniel Stenberg | |
... and do not blacklist any. | |||
2015-05-15 | README.pipelining: removed | Daniel Stenberg | |
All the details mentioned here are better documented in man pages | |||
2015-05-14 | build: removed bundles.c from make files | Dan Fandrich | |
This file was removed in commit fd137786 | |||
2015-05-14 | Curl_conncache_add_conn: fix memory leak on OOM | Daniel Stenberg | |
2015-05-12 | CURLMOPT_MAX_HOST_CONNECTIONS: host = host name + port number | Daniel Stenberg | |
2015-05-12 | conncache: keep bundles on host+port bases, not only host names | Daniel Stenberg | |
Previously we counted all connections to a specific host name and that would be used for the CURLMOPT_MAX_HOST_CONNECTIONS check for example, while servers on different port numbers are normally considered different "origins" on the web and should thus be considered different hosts. | |||
2015-05-12 | bundles: merged into conncache.c | Daniel Stenberg | |
All the existing Curl_bundle* functions were only ever used from within the conncache.c file, so I moved them over and made them static (and removed the Curl_ prefix). | |||
2015-05-12 | hostcache: made all host caches use structs, not pointers | Daniel Stenberg | |
This avoids unnecessary dynamic allocs and as this also removed the last users of *hash_alloc() and *hash_destroy(), those two functions are now removed. | |||
2015-05-12 | multi: converted socket hash into non-allocated struct | Daniel Stenberg | |
avoids extra dynamic allocation | |||
2015-05-12 | connection cache: avoid Curl_hash_alloc() | Daniel Stenberg | |
... by using plain structs instead of pointers for the connection cache, we can avoid several dynamic allocations that weren't necessary. | |||
2015-05-08 | proxy: add newline to info message | Daniel Stenberg | |
2015-05-08 | FTP: fix dangling conn->ip_addr dereference on verbose EPSV. | Patrick Monnerat | |
2015-05-08 | FTP: Make EPSV use the control IP address rather than the original host. | Patrick Monnerat | |
This ensures an alternate address is not used. Does not apply to proxy tunnel. | |||
2015-05-08 | tool_help: fix formatting for --next option | Alessandro Ghedini | |
2015-05-08 | opts: improved the TCP keepalive examples | Egon Eckert | |
2015-05-08 | winbuild: Document the option used to statically link the CRT | Jay Satiro | |
- Document option RTLIBCFG (runtime library configuration). Bug: https://github.com/bagder/curl/issues/254 Reported-by: Bert Huijben | |||
2015-05-06 | netrc: Read in text mode when cygwin | Orgad Shaneh | |
Use text mode when cygwin to eliminate trailing carriage returns. Bug: https://github.com/bagder/curl/pull/258 | |||
2015-05-05 | OS400: Add SPNEGO service name options to ILE/RPG binding. | Patrick Monnerat | |
2015-05-04 | curl_multi_info_read.3: fix typo | Daniel Stenberg | |
Reported-by: Liviu Chircu | |||
2015-05-04 | MANUAL: language fix | Daniel Stenberg | |
Reported-by: Fred Stluka Bug: https://github.com/bagder/curl/issues/255 | |||
2015-05-04 | gtls: properly retrieve certificate status | Alessandro Ghedini | |
Also print the revocation reason if appropriate. | |||
2015-05-04 | OpenSSL: conditional check for SSL3_RT_HEADER | Daniel Stenberg | |
The symbol is fairly new. Reported-by: Kamil Dudka | |||
2015-05-04 | openssl: skip trace outputs for ssl_ver == 0 | Daniel Stenberg | |
The OpenSSL trace callback is wonderfully undocumented but given a journey in the source code, it seems the cases were ssl_ver is zero doesn't follow the same pattern and thus turned out confusing and misleading. For now, we skip doing any CURLINFO_TEXT logging on those but keep sending them as CURLINFO_SSL_DATA_OUT/IN. Also, I added direction to the text info and I edited some functions slightly. Bug: https://github.com/bagder/curl/issues/219 Reported-by: Jay Satiro, Ashish Shukla | |||
2015-05-02 | schannel.c: Small changes | Marc Hoersken | |
2015-05-02 | schannel.c: Improve code path and readability | Marc Hoersken | |
2015-05-02 | schannel.c: Improve error and return code handling upon aa99a63f03 | Marc Hoersken | |
2015-05-02 | schannel: fix regression in schannel_recv | Chris Araman | |
https://github.com/bagder/curl/issues/244 Commit 145c263 changed the behavior when Curl_read_plain returns CURLE_AGAIN. We now handle CURLE_AGAIN and SEC_I_CONTEXT_EXPIRED correctly. |