Icecast: Send 100-continue header if possible
authorMarvin Scholz <epirat07@gmail.com>
Tue, 11 Nov 2014 01:39:39 +0000 (02:39 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 15 Nov 2014 08:14:04 +0000 (09:14 +0100)
commit3a6bb9735053c453f806ceab1d91124648d90aca
tree24bed2a2fe9c91f43b794029403fdc11443f0113
parent2e1704059ae8625beda2ffde847ad22c5ba416dc
Icecast: Send 100-continue header if possible

This allows for proper error reporting. Only do
this for non-legacy requests as only Icecast >2.4.0
will reply with a proper status.
Libav seems to accept both, 100 and 200 status codes, but
let's stay close to spec.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/icecast.c