projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bd11819
)
In the HTTP snipplets, refer to the client as client.
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 24 Nov 2007 14:34:09 +0000
(14:34 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sat, 24 Nov 2007 14:34:09 +0000
(14:34 +0000)
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
482e810
..
b5fdc39
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1,4
+1,4
@@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.15
7 2007/11/03 17:34:49
fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.15
8 2007/11/11 16:44:17
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@
-33,6
+33,9
@@
const char jcc_rcs[] = "$Id: jcc.c,v 1.157 2007/11/03 17:34:49 fabiankeil Exp $"
*
* Revisions :
* $Log: jcc.c,v $
*
* Revisions :
* $Log: jcc.c,v $
+ * Revision 1.158 2007/11/11 16:44:17 fabiankeil
+ * Emit a log message when activating the MS IIS5 hack.
+ *
* Revision 1.157 2007/11/03 17:34:49 fabiankeil
* Log the "weak randomization factor" warning only
* once for mingw32 and provide some more details.
* Revision 1.157 2007/11/03 17:34:49 fabiankeil
* Log the "weak randomization factor" warning only
* once for mingw32 and provide some more details.
@@
-1098,11
+1101,11
@@
static const char CSUCCEED[] =
"Proxy-Agent: Privoxy/" VERSION "\r\n\r\n";
static const char CHEADER[] =
"Proxy-Agent: Privoxy/" VERSION "\r\n\r\n";
static const char CHEADER[] =
- "HTTP/1.0 400 Invalid header received from
browser
\r\n"
+ "HTTP/1.0 400 Invalid header received from
client
\r\n"
"Proxy-Agent: Privoxy " VERSION "\r\n"
"Content-Type: text/plain\r\n"
"Connection: close\r\n\r\n"
"Proxy-Agent: Privoxy " VERSION "\r\n"
"Content-Type: text/plain\r\n"
"Connection: close\r\n\r\n"
- "Invalid header received from
browser
.\r\n";
+ "Invalid header received from
client
.\r\n";
static const char CFORBIDDEN[] =
"HTTP/1.0 403 Connection not allowable\r\n"
static const char CFORBIDDEN[] =
"HTTP/1.0 403 Connection not allowable\r\n"
@@
-1111,20
+1114,20
@@
static const char CFORBIDDEN[] =
"Connection: close\r\n\r\n";
static const char FTP_RESPONSE[] =
"Connection: close\r\n\r\n";
static const char FTP_RESPONSE[] =
- "HTTP/1.0 400 Invalid request received from
browser
\r\n"
+ "HTTP/1.0 400 Invalid request received from
client
\r\n"
"Content-Type: text/plain\r\n"
"Connection: close\r\n\r\n"
"Invalid request. Privoxy doesn't support FTP.\r\n";
static const char GOPHER_RESPONSE[] =
"Content-Type: text/plain\r\n"
"Connection: close\r\n\r\n"
"Invalid request. Privoxy doesn't support FTP.\r\n";
static const char GOPHER_RESPONSE[] =
- "HTTP/1.0 400 Invalid request received from
browser
\r\n"
+ "HTTP/1.0 400 Invalid request received from
client
\r\n"
"Content-Type: text/plain\r\n"
"Connection: close\r\n\r\n"
"Invalid request. Privoxy doesn't support gopher.\r\n";
/* XXX: should be a template */
static const char MISSING_DESTINATION_RESPONSE[] =
"Content-Type: text/plain\r\n"
"Connection: close\r\n\r\n"
"Invalid request. Privoxy doesn't support gopher.\r\n";
/* XXX: should be a template */
static const char MISSING_DESTINATION_RESPONSE[] =
- "HTTP/1.0 400 Bad request received from
browser
\r\n"
+ "HTTP/1.0 400 Bad request received from
client
\r\n"
"Proxy-Agent: Privoxy " VERSION "\r\n"
"Content-Type: text/plain\r\n"
"Connection: close\r\n\r\n"
"Proxy-Agent: Privoxy " VERSION "\r\n"
"Content-Type: text/plain\r\n"
"Connection: close\r\n\r\n"
@@
-1142,7
+1145,7
@@
static const char NO_SERVER_DATA_RESPONSE[] =
#if 0
/* XXX: should be a template */
static const char NULL_BYTE_RESPONSE[] =
#if 0
/* XXX: should be a template */
static const char NULL_BYTE_RESPONSE[] =
- "HTTP/1.0 400 Bad request received from
browser
\r\n"
+ "HTTP/1.0 400 Bad request received from
client
\r\n"
"Proxy-Agent: Privoxy " VERSION "\r\n"
"Content-Type: text/plain\r\n"
"Connection: close\r\n\r\n"
"Proxy-Agent: Privoxy " VERSION "\r\n"
"Content-Type: text/plain\r\n"
"Connection: close\r\n\r\n"