> +// read headers if not already loaded (this is needed to check if
> connection is closing)
> +if (!s->end_header) {
> + int new_location;
> + http_read_header(h, &new_location);
> +
> + if (s->willclose) {
> +ret = ffurl_closep(&s->hd);
> +
> +if (ret < 0)
Sorry, I manually changed the file... This one should work.
On Sat, Jul 27, 2019 at 9:16 AM Michael Niedermayer
wrote:
On Fri, Jul 26, 2019 at 10:13:01PM +, Ian Klassen wrote:
> Hi,
>
> Here is a potential fix for this bug: https://trac.ffmpeg.org/ticket/7975
>
> Before reusing the connec
On Fri, Jul 26, 2019 at 10:13:01PM +, Ian Klassen wrote:
> Hi,
>
> Here is a potential fix for this bug: https://trac.ffmpeg.org/ticket/7975
>
> Before reusing the connection the headers are checked to see if the server is
> closing the connection. Also, the server may respond with "Connecti