commit | 475c2583d506f9ee19375eb92c423dc492b1b2ed | [log] [tgz] |
---|---|---|
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | Fri Mar 03 21:44:01 2017 +0900 |
committer | Daniel Stenberg <daniel@haxx.se> | Tue Mar 07 23:12:41 2017 +0100 |
tree | 3f67011561bf3dad939f7424b5ce8929b039ac7d | |
parent | 958e1766889d01b0e1f9634069ac413121c75e3c [diff] |
http2: Fix assertion error on redirect with CL=0 This fixes assertion error which occurs when redirect is done with 0 length body via HTTP/2, and the easy handle is reused, but new connection is established due to hostname change: curl: http2.c:1572: ssize_t http2_recv(struct connectdata *, int, char *, size_t, CURLcode *): Assertion `httpc->drain_total >= data->state.drain' failed. To fix this bug, ensure that http2_handle_stream is called. Fixes #1286 Closes #1302
Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document.
libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how!
You find answers to the most frequent questions we get in the FAQ document.
Study the COPYING file for distribution terms and similar. If you distribute curl binaries or other binaries that involve libcurl, you might enjoy the LICENSE-MIXING document.
If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.
All contributors to the project are listed in the THANKS document.
Visit the curl web site for the latest news and downloads.
To download the very latest source off the Git server do this:
git clone https://github.com/curl/curl.git
(you'll get a directory named curl created, filled with the source code)
Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.