HTTP::Proxy::Engine::Legacy.3pm

Langue: en

Version: 2007-12-22 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

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

SYNOPSIS

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

DESCRIPTION

This engine reproduces the older child creation algorithm of HTTP::Proxy.

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 2005, Philippe Bruhat.

LICENSE

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.