Files
FFmpeg/libavformat
Aman Gupta 9c8922acad This fixes a deadlock while reading a chunked https response, if
multiple_requests=1 is also set. Without an EOF to signal the end of
the last chunk, tls_read gets stuck forever trying to read more data
than is available. This occurs with the http protocol reproducibly,
because http.c always reads 4kb at a time, and the last chunk of an
http response is often much smaller.

After this commit, tls_read always returns any buffered plaintext
first before attempting to read more encrypted data off the
underlying tcp socket.

Signed-off-by: Rodger Combs <rodger.combs@gmail.com>
2017-11-13 15:04:55 -06:00
..
2016-07-03 04:37:48 +02:00
2017-10-05 17:10:23 +02:00
2017-03-29 14:49:29 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-10-29 19:40:52 +02:00
2017-02-01 02:57:40 +01:00
2017-10-19 22:07:21 +02:00
2017-09-20 03:31:48 +02:00
2017-10-19 22:07:21 +02:00
2017-09-01 18:52:56 +08:00
2017-11-12 22:20:22 +08:00
2016-10-21 19:41:09 +02:00
2017-10-05 17:10:23 +02:00
2017-08-29 01:33:47 +02:00
2017-08-30 12:13:01 +02:00
2017-02-11 20:20:07 +01:00
2017-09-07 15:19:22 +02:00
2017-09-01 02:16:33 -03:00
2016-05-04 18:16:21 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-04-20 15:39:18 +00:00
2017-09-23 19:37:21 -03:00
2016-05-21 18:49:45 +02:00
2017-11-05 10:42:07 +01:00
2017-03-30 13:26:04 +02:00
2016-11-07 00:51:49 +01:00
2016-10-09 20:09:00 +02:00
2017-10-05 17:10:23 +02:00
2017-06-13 19:49:06 +02:00
2016-07-17 13:10:27 -03:00
2017-09-01 17:56:33 +02:00
2017-09-01 02:16:33 -03:00
2017-04-25 15:39:10 +02:00
2017-07-10 15:02:29 -04:00
2016-11-23 01:16:42 +01:00
2017-01-30 11:00:58 +01:00
2017-09-21 16:17:02 -08:00
2017-09-09 12:07:14 +02:00
2016-05-03 15:45:10 +02:00
2017-09-01 02:16:33 -03:00
2016-08-04 16:25:40 -03:00
2017-11-06 18:20:29 +01:00
2017-09-22 01:33:22 +02:00
2017-07-16 16:09:17 +01:00
2016-11-07 00:51:49 +01:00