GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HTTP::PROXY::ENGINE::LEGACY (3)

.ds Aq ’

NAME

HTTP::Proxy::Engine::Legacy - The "older" HTTP::Proxy engine

CONTENTS

SYNOPSIS



    my $proxy = HTTP::Proxy->new( engine => Legacy );



DESCRIPTION

This 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-alived requests!

METHODS

The 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 ALSO

HTTP::Proxy, HTTP::Proxy::Engine.

AUTHOR

Philippe BooK Bruhat, <book@cpan.org>.

COPYRIGHT

Copyright 2005-2015, Philippe Bruhat.

LICENSE

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTTP::PROXY::ENGINE::LEGACY (3) 2015-06-16

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.