#10721: http: protocol for output ignores HTTP errors
------------------------------------+----------------------------------
Reporter: maximrazin | Type: defect
Status: new | Priority: normal
Component: avformat | Version: 6.0
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Summary of the bug:
When ffmpeg output uses http: protocol, and HTTP server returns an error
(e.g. 404 or 405), the error is ignored completely, it isn't even
reflected in logs.
How to reproduce:
Set up a local web server, don't enable HTTP PUT/POST. I used nginx with a
default configuration
{{{
% ffmpeg -i file.ts -c copy -f mpegts http://localhost/blackhole.ts
}}}
HTTP server returns 405, but ffmpeg does not react and completes
successfully
Expected behavior:
ffmpeg should log the HTTP error and fail with I/O error
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10721>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".