[vlc-devel] [PATCH] Bug fix: Connection: close is a server sidemessage

Remi Denis-Courmont rdenis at simphalempin.com
Tue Jun 17 15:58:33 CEST 2008

On Tue, 17 Jun 2008 09:51:14 -0400, "Bill C. Riemers" <briemers at redhat.com>
> Ilkka Ollakka wrote:
>> Wouldn't it then be better to change that Connection: Close to
>> Keep-Alive inside http/1.1 check there instead sending it also to 1.0
>> servers (thou it ain't wrong to send it to them too, but just caught my
>> eye on that comment on connection being only server-side message).
> Probably.  About the only thing we can do with a persistent connection
> with http 1.0 is rewind back to the start of the file.  Not particularly
> useful.

IMHO, we should simply not send Connection: at all. If we have a HTTP/1.0
proxy, I vaguely remember that this can break (the proxy will forward the
header downstream incorrectly). If we have a HTTP/1.0 proxy/server, keeping
the connection alive is, as you note, not quite useful. And if we have a
HTTP/1.1 connection, keep-alive is implicit anyway.

Rémi Denis-Courmont

More information about the vlc-devel mailing list