[vlc-devel] [PATCH 1/2] httpd: Fix answer sending from custom handlers
Rémi Denis-Courmont
remi at remlab.net
Thu Jun 11 17:31:32 CEST 2020
Le torstaina 11. kesäkuuta 2020, 13.59.29 EEST Hugo Beauzée-Luyssen a écrit :
> In case of custom handlers, the entire response is crafted by pf_fill.
> This will in turn cause 0 bytes of headers to be sent, which is expected
> since those headers are contained in the answer, however we will treat
> such a case as a dead connection,
I think that's a misunderstanding and a bug. Writing can return 0 on a full
file system. But I don't think you can get a 0 write return other than writing
0 bytes on a TCP socket.
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list