]> git.sesse.net Git - vlc/commit
httpd: Fix keepalive/close of non-matching HTTP versions.
authorDerk-Jan Hartman <hartman@videolan.org>
Wed, 24 Sep 2008 01:05:07 +0000 (03:05 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Wed, 24 Sep 2008 01:08:38 +0000 (03:08 +0200)
commit304a487848610a5bb10e0e0fdc14694729a85463
treeda6a185c5717b81082127be72cce8b69dc149fb6
parent97a8b0fb564f9df63c58c9ee840d9e540ecae2a0
httpd: Fix keepalive/close of non-matching HTTP versions.

This is a suggestion by Forum user boing (http://forum.videolan.org/viewtopic.php?f=18&t=47295&p=162690#p162690)

Freebox implements a HTTP/1.0 client, we a HTTP/1.1 server. As such we should base our determination of the keepalive vs. close behaviour on the query (client request) instead of the answer (server response).

See also: http://www.ietf.org/rfc/rfc2145.txt
src/network/httpd.c