current jcc.c,1.461,1.462

Fabian Keil via ijbswa-commits <[email protected]> Mon, 26 Jun 2017 12:10:34 +0000
Newsgroups gmane.comp.web.privoxy.cvs
Message-ID <[email protected]>
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv21670

Modified Files:
	jcc.c 
Log Message:
Explicitly taint the server socket in case of CONNECT requests

This doesn't fix any known problems, but makes
some log messages less confusing.


Index: jcc.c
===================================================================
RCS file: /cvsroot/ijbswa/current/jcc.c,v
retrieving revision 1.461
retrieving revision 1.462
diff -C2 -d -r1.461 -r1.462
*** jcc.c	26 Jun 2017 12:09:56 -0000	1.461
--- jcc.c	26 Jun 2017 12:10:31 -0000	1.462
***************
*** 1853,1856 ****
--- 1853,1860 ----
        verify_request_length(csp);
     }
+    else
+    {
+       csp->flags |= CSP_FLAG_SERVER_SOCKET_TAINTED;
+    }
  #endif /* def FEATURE_CONNECTION_KEEP_ALIVE */
  


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot