projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eaf23da
)
Stop adding a "Connection: close" header in finish_http_response(), as we're no longe...
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 12 Apr 2010 16:48:45 +0000
(16:48 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 12 Apr 2010 16:48:45 +0000
(16:48 +0000)
cgi.c
patch
|
blob
|
history
diff --git
a/cgi.c
b/cgi.c
index
93af14b
..
8f1807f
100644
(file)
--- a/
cgi.c
+++ b/
cgi.c
@@
-1,4
+1,4
@@
-const char cgi_rcs[] = "$Id: cgi.c,v 1.12
5 2009/06/14 14:37:08
fabiankeil Exp $";
+const char cgi_rcs[] = "$Id: cgi.c,v 1.12
6 2009/10/29 16:53:56
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgi.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgi.c,v $
@@
-1636,14
+1636,6
@@
struct http_response *finish_http_response(const struct client_state *csp, struc
if (!err) err = enlist_unique_header(rsp->headers, "Pragma", "no-cache");
}
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
*/
/*
* Write the head
*/