current TODO,1.162,1.163
Fabian Keil <[email protected]> Sat, 20 May 2017 09:25:16 +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-serv3748 Modified Files: TODO Log Message: Add #158: Use a single thread to wait for new requests on reused client connections Index: TODO =================================================================== RCS file: /cvsroot/ijbswa/current/TODO,v retrieving revision 1.162 retrieving revision 1.163 diff -C2 -d -r1.162 -r1.163 *** TODO 20 May 2017 09:25:00 -0000 1.162 --- TODO 20 May 2017 09:25:14 -0000 1.163 *************** *** 472,475 **** --- 472,483 ---- 157) Add a directive to control the currently hardcoded receive-buffer size. + 158) Use a single thread to wait for new requests on reused client connections. + Currently the thread that handles the first request on a connection + stays responsible for the client connect until it gets closed. + In case of lots of idle connections lots of waiting threads are used. + While it's conceivable that this ineffiency is irrelevant from a + performance point of view, using a single thread should reduce Privoxy's + memory footprint a bit which may be noticeable in case of multi-user setups + with hundreds of idle connections. ########################################################################## ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot