#11319: http download without Content-Length warns about ending prematurely
----------------------------------------+----------------------------------
Reporter: David Johansen | Type: defect
Status: new | Priority: minor
Component: avformat | Version: 7.1
Keywords: http | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------------+----------------------------------
Summary of the bug:
If the server doesn't provide a `Content-Length` header, then the handling
by `libavformat/http.c` warns about it ending prematurely when it's
actually fine.
How to reproduce:
`filesize` is `-1` so and `end_off` hasn't been set by a byte range, so
the connection ending is incorrectly viewed as ending prematurely, when
there's actually no expectation of when it should end.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11319>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".