[w3m-dev 04330] [patch] http-connection-close

[email protected] Sun, 25 Jul 2010 02:25:36 +0900
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>
dai 

Connection: close 

 Privoxy 
Connection: close  keep-alive 


privoxy: default connection type is keep-alive regardless of client HTTP version
http://bugs.debian.org/535545
-- 
Regards,
	dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E

--- CVS/url.c.orig	2007-05-24 10:30:17.000000000 +0900
+++ CVS/url.c	2009-07-03 12:29:07.000000000 +0900
@@ -1291,6 +1291,8 @@ otherinfo(ParsedURL *target, ParsedURL *
     Strcat_m_charp(s, "Accept-Encoding: ", AcceptEncoding, "\r\n", NULL);
     Strcat_m_charp(s, "Accept-Language: ", AcceptLang, "\r\n", NULL);
 
+    Strcat_charp(s, "Connection: close\r\n");
+
     if (target->host) {
 	Strcat_charp(s, "Host: ");
 	Strcat_charp(s, target->host);