Tatsuhiro Tsujikawa b019af41e7 http2: Ensure that http2_handle_stream_close is called
Previously, when HTTP/2 is enabled and used, and stream has content
length known, Curl_read was not called when there was no bytes left to
read. Because of this, we could not make sure that
http2_handle_stream_close was called for every stream. Since we use
http2_handle_stream_close to emit trailer fields, they were
effectively ignored. This commit changes the code so that Curl_read is
called even if no bytes left to read, to ensure that
http2_handle_stream_close is called for every stream.

Discussed in https://github.com/bagder/curl/pull/564
2016-01-08 17:16:47 -05:00
..
2016-01-07 01:49:31 -05:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-10-21 23:18:04 +02:00
2013-02-14 10:41:45 +01:00
2015-03-03 23:17:43 +01:00
2015-03-17 13:57:37 +01:00
2015-11-15 23:15:00 +01:00
2014-10-08 12:25:07 +02:00
2015-03-03 23:17:43 +01:00
2015-03-03 12:36:18 +01:00
2015-10-01 18:15:11 +02:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-12-15 23:47:46 +01:00
2015-12-15 23:47:46 +01:00
2014-12-16 13:52:06 +01:00
2015-03-03 12:36:18 +01:00
2015-03-17 13:57:37 +01:00
2010-03-24 11:02:54 +01:00
2015-07-21 14:01:19 +02:00
2015-10-21 13:00:52 -04:00
2015-10-20 07:57:24 +02:00
2014-12-20 14:43:02 +00:00
2015-03-03 12:36:18 +01:00
2014-10-13 16:33:47 +02:00
2015-07-14 01:25:36 -04:00
2015-05-22 16:26:14 +02:00
2015-11-21 11:41:20 +00:00
2014-12-30 13:10:30 +00:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2013-02-14 10:41:45 +01:00
2013-02-14 10:41:45 +01:00
2015-06-24 23:44:42 +02:00
2013-02-01 08:14:46 +01:00