Skip to content
Snippets Groups Projects
Commit e2f8f140 authored by Jacek Jendrzej's avatar Jacek Jendrzej Committed by Carl Eugen Hoyos
Browse files

lavf/http: Reset compressed header flag, fix http 302 request


Fixes ticket #6404.
Fixes ticket #6666.

Signed-off-by: default avatarJacek Jendrzej <satbaby@kawaii.com>
parent eea64ef4
No related branches found
No related tags found
No related merge requests found
...@@ -1248,6 +1248,7 @@ static int http_connect(URLContext *h, const char *path, const char *local_path, ...@@ -1248,6 +1248,7 @@ static int http_connect(URLContext *h, const char *path, const char *local_path,
s->willclose = 0; s->willclose = 0;
s->end_chunked_post = 0; s->end_chunked_post = 0;
s->end_header = 0; s->end_header = 0;
s->compressed = 0;
if (post && !s->post_data && !send_expect_100) { if (post && !s->post_data && !send_expect_100) {
/* Pretend that it did work. We didn't read any header yet, since /* Pretend that it did work. We didn't read any header yet, since
* we've still to send the POST data, but the code calling this * we've still to send the POST data, but the code calling this
......
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