vlc | branch: master | Francois Cartegnie <[email protected]> | Wed Sep 5 15:19:50 2018 +0200| [e5dbc5301ebd383f8c4d3eb933703a293e8e8260] | committer: Francois Cartegnie
demux: adaptive: never reuse chunked stream > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e5dbc5301ebd383f8c4d3eb933703a293e8e8260 --- modules/demux/adaptive/http/HTTPConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/adaptive/http/HTTPConnection.cpp b/modules/demux/adaptive/http/HTTPConnection.cpp index dbfdc3bf70..451e81d2bd 100644 --- a/modules/demux/adaptive/http/HTTPConnection.cpp +++ b/modules/demux/adaptive/http/HTTPConnection.cpp @@ -356,7 +356,7 @@ void HTTPConnection::setUsed( bool b ) available = !b; if(available) { - if(!connectionClose && contentLength == bytesRead ) + if(!connectionClose && contentLength == bytesRead && (!chunked || chunked_eof)) { queryOk = false; bytesRead = 0; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
