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
Showing with 2 additions and 2 deletions