projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
75b537d
)
In verify_request_length(), use clear_iob() when nuking pipelined data
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 21 Oct 2012 12:59:40 +0000
(12:59 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 21 Oct 2012 12:59:40 +0000
(12:59 +0000)
jcc.c
patch
|
blob
|
history
diff --git
a/jcc.c
b/jcc.c
index
cbad64f
..
075f23c
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1,4
+1,4
@@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.40
0 2012/10/21 12:56:38
fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.40
1 2012/10/21 12:58:03
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@
-1134,8
+1134,7
@@
static void verify_request_length(struct client_state *csp)
"Possible pipeline attempt detected. The connection will not "
"be kept alive and we will only serve the first request.");
/* Nuke the pipelined requests from orbit, just to be sure. */
"Possible pipeline attempt detected. The connection will not "
"be kept alive and we will only serve the first request.");
/* Nuke the pipelined requests from orbit, just to be sure. */
- csp->client_iob->buf[0] = '\0';
- csp->client_iob->eod = csp->client_iob->cur = csp->client_iob->buf;
+ clear_iob(csp->client_iob);
}
else
{
}
else
{