avformat/http: avoid ff_http_do_new_request after http/1.0 response
authorAman Gupta <aman@tmm1.net>
Mon, 25 Dec 2017 19:35:26 +0000 (11:35 -0800)
committerAman Gupta <aman@tmm1.net>
Tue, 26 Dec 2017 22:48:14 +0000 (14:48 -0800)
commit11f989945e1748fbe9b2a5abd68a25d3091acc5d
tree2e75cd68d27394ee0a2942d72351a2966c263359
parenta232a72d77cf32766e7f42f892b983f5e496653f
avformat/http: avoid ff_http_do_new_request after http/1.0 response

This makes do_new_request fail early when dealing with a http/1.0 server, avoiding unnecessary "reconnecting" warnings shown to the user.

Signed-off-by: Aman Gupta <aman@tmm1.net>
libavformat/http.c