From: <no...@so...> - 2010-04-12 16:48:53
|
Update of /cvsroot/ijbswa/current In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv32053 Modified Files: cgi.c Log Message: Stop adding a "Connection: close" header in finish_http_response(), as we're no longer required to do it. Index: cgi.c =================================================================== RCS file: /cvsroot/ijbswa/current/cgi.c,v retrieving revision 1.126 retrieving revision 1.127 diff -u -d -r1.126 -r1.127 --- cgi.c 29 Oct 2009 16:53:56 -0000 1.126 +++ cgi.c 12 Apr 2010 16:48:45 -0000 1.127 @@ -1636,14 +1636,6 @@ if (!err) err = enlist_unique_header(rsp->headers, "Pragma", "no-cache"); } - /* - * Quoting RFC 2616: - * - * HTTP/1.1 applications that do not support persistent connections MUST - * include the "close" connection option in every message. - */ - if (!err) err = enlist_unique_header(rsp->headers, "Connection", "close"); - /* * Write the head */ |