Skip to content
Snippets Groups Projects
Commit 1dd82ede authored by Aman Gupta's avatar Aman Gupta
Browse files

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: default avatarAman Gupta <aman@tmm1.net>
parent 039007c9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment