[prev in list] [next in list] [prev in thread] [next in thread]
List: privoxy-commits
Subject: [privoxy-commits] current jcc.c,1.278,1.279
From: noreply () sourceforge ! net
Date: 2009-08-19 16:02:55
Message-ID: E1Mdncl-00013v-Nq () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/ijbswa/current
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4082
Modified Files:
jcc.c
Log Message:
In chat(), set CSP_FLAG_CLIENT_REQUEST_COMPLETELY_READ after \
csp->expected_client_content_length reaches zero so we don't have to deal with the \
next request until we're ready again.
Index: jcc.c
===================================================================
RCS file: /cvsroot/ijbswa/current/jcc.c,v
retrieving revision 1.278
retrieving revision 1.279
diff -u -d -r1.278 -r1.279
--- jcc.c 19 Aug 2009 16:00:07 -0000 1.278
+++ jcc.c 19 Aug 2009 16:02:53 -0000 1.279
@@ -1925,6 +1925,12 @@
"Expected client content length set to %llu "
"after reading %d bytes.",
csp->expected_client_content_length, len);
+ if (csp->expected_client_content_length == 0)
+ {
+ log_error(LOG_LEVEL_CONNECT,
+ "Done reading from the client.");
+ csp->flags |= CSP_FLAG_CLIENT_REQUEST_COMPLETELY_READ;
+ }
}
#endif /* def FEATURE_CONNECTION_KEEP_ALIVE */
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
ijbswa-commits mailing list
ijbswa-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ijbswa-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic