1HTTP::Proxy::Engine::LeUgsaecry(C3o)ntributed Perl DocumHeTnTtPa:t:iPornoxy::Engine::Legacy(3)
2
3
4
6 HTTP::Proxy::Engine::Legacy - The "older" HTTP::Proxy engine
7
9 my $proxy = HTTP::Proxy->new( engine => 'Legacy' );
10
12 This engine reproduces the older child creation algorithm of
13 HTTP::Proxy.
14
15 Angelos Karageorgiou "<angelos@unix.gr>" reports:
16
17 I got the Legacy engine to work really fast under "Win32" with the
18 following trick:
19
20 max_keep_alive_requests(1);
21 max_clients(120);
22 $HTTP::VERSION(1.0); # just in case
23
24 and it smokes.
25
26 It seems that forked children are really slow when calling select for
27 handling "keep-alive"d requests!
28
30 The module defines the following methods, used by HTTP::Proxy main
31 loop:
32
33 start()
34 Initialise the engine.
35
36 run()
37 Implements the forking logic: a new process is forked for each new
38 incoming TCP connection.
39
40 stop()
41 Reap remaining child processes.
42
43 The following method is used by the engine internally:
44
45 reap_zombies()
46 Process the dead child processes.
47
49 HTTP::Proxy, HTTP::Proxy::Engine.
50
52 Philippe "BooK" Bruhat, "<book@cpan.org>".
53
55 Copyright 2005-2015, Philippe Bruhat.
56
58 This module is free software; you can redistribute it or modify it
59 under the same terms as Perl itself.
60
61
62
63perl v5.32.0 2020-07-28 HTTP::Proxy::Engine::Legacy(3)