From 1dd82edea5ab689f9a94e14cb2cf6d382cbf9ee6 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Mon, 25 Dec 2017 20:37:55 -0800 Subject: avformat/hls: enable http_multiple only for http/1.1 servers Some http/1.0 implementations, like python's SimpleHTTPServer, can only support one client connection at a time. Making a second request while the first is still connected leads to a deadlock. This change enables multiple connections for http/1.1 servers only, which need to support keepalive by default and should have no problem with concurrent requests. Signed-off-by: Aman Gupta --- doc/demuxers.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/demuxers.texi') diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 81ab399cdc..6080167233 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -323,7 +323,7 @@ Enabled by default. @item http_multiple Use multiple HTTP connections for downloading HTTP segments. -Enabled by default. +Enabled by default for HTTP/1.1 servers. @end table @section image2 -- cgit v1.2.1