Query: http::proxy::engine::legacy
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
HTTP::Proxy::Engine::Legacy(3pm) User Contributed Perl Documentation HTTP::Proxy::Engine::Legacy(3pm)NAMEHTTP::Proxy::Engine::Legacy - The "older" HTTP::Proxy engineSYNOPSISmy $proxy = HTTP::Proxy->new( engine => 'Legacy' );DESCRIPTIONThis engine reproduces the older child creation algorithm of HTTP::Proxy. Angelos Karageorgiou "<angelos@unix.gr>" reports: I got the Legacy engine to work really fast under "Win32" with the following trick: max_keep_alive_requests(1); max_clients(120); $HTTP::VERSION(1.0); # just in case and it smokes. It seems that forked children are really slow when calling select for handling "keep-alive"d requests!METHODSThe module defines the following methods, used by HTTP::Proxy main loop: start() Initialise the engine. run() Implements the forking logic: a new process is forked for each new incoming TCP connection. stop() Reap remaining child processes. The following method is used by the engine internally: reap_zombies() Process the dead child processes.SEE ALSOHTTP::Proxy, HTTP::Proxy::Engine.AUTHORPhilippe "BooK" Bruhat, "<book@cpan.org>".COPYRIGHTCopyright 2005, Philippe Bruhat.LICENSEThis module is free software; you can redistribute it or modify it under the same terms as Perl itself. perl v5.12.4 2011-07-03 HTTP::Proxy::Engine::Legacy(3pm)
Similar Topics in the Unix Linux Community |
---|
how to set Proxy for Pop3, SMTP etc |
pipe read and write with many forked children |
output required |
Search Engine |
Tron Legacy |