projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not expect a trailing dot in: Request from 10.0.0.1 marked for blocking. limit...
[privoxy.git]
/
cgisimple.c
diff --git
a/cgisimple.c
b/cgisimple.c
index
0a6c779
..
9540b70
100644
(file)
--- a/
cgisimple.c
+++ b/
cgisimple.c
@@
-1,4
+1,4
@@
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.10
6 2011/02/14 16:07:52
fabiankeil Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.10
8 2011/03/03 14:42:55
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
@@
-202,6
+202,8
@@
jb_err cgi_die (struct client_state *csp,
/* quit */
g_terminate = 1;
/* quit */
g_terminate = 1;
+ csp->flags &= ~CSP_FLAG_CLIENT_CONNECTION_KEEP_ALIVE;
+
rsp->content_length = 0;
rsp->head_length = 0;
rsp->is_static = 0;
rsp->content_length = 0;
rsp->head_length = 0;
rsp->is_static = 0;
@@
-776,7
+778,7
@@
jb_err cgi_send_user_manual(struct client_state *csp,
{
/*
* We currently only support a flat file
{
/*
* We currently only support a flat file
- * hierachy for the documentation.
+ * hiera
r
chy for the documentation.
*/
log_error(LOG_LEVEL_ERROR,
"Rejecting the request to serve '%s' as it contains '/' or '..'",
*/
log_error(LOG_LEVEL_ERROR,
"Rejecting the request to serve '%s' as it contains '/' or '..'",