/ Zope / Apsis / Pound Mailing List / Archive / 2008 / 2008-04 / listener question

[ << ] [ >> ]

[ Sessions in pound / Piotr Jakubowski ... ] [ HTTPS Pass Through Question / Jonathan Cyr ... ]

listener question
David L Kensiski <David(at)SchoolLoop.com>
2008-04-16 21:07:56 [ FULL ]
How does pound handle listening?  From my naive look at the code, it  
appears that the single worker process is listening on each socket,  
and as poll() returns, the worker process walks all the sockets and  
creates a separate thread for each new connection.  That thread  
handles the connection, then exits.  Is this correct, or am I missing  
something?  Is there a way to limit the number of threads it creates?

Thanks,
--Dave

MailBoxer