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

avformat/http: return EINVAL from ff_http_do_new_request() if re-used with different hostname


This will prevent improper use of ff_http_do_new_request() if the user
tries to send a request for a different host to a previously connected
persistent http/1.1 connection.

Signed-off-by: default avatarAman Gupta <aman@tmm1.net>
Signed-off-by: default avatarKarthick J <kjeyapal@akamai.com>
parent d2a2bc9a
No related branches found
No related tags found
No related merge requests found
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