.gitignore
[catagits/FCGI-ProcManager.git] / ChangeLog
1 0.17
2
3         * ProcManager.pm: Remove constraint that process can't change pid.
4           This resolves the daemon exiting after first child dies
5           if the process id of the daemon has changed since starting.
6           This commonly happens when a script waits to check for the
7           socket being available and working before forking and exitting.
8           It can also happen in a race condition of fork && exit when
9           the exit is delayed until after the forked child has already
10           spawned the fastcgi handlers.
11
12 2001-04-23 18:12  James Jurach  <muaddib@erf.net>
13
14         * ProcManager.pm: SIGHUP handler now issues SIGTERM to children but
15         then proceeds normally. added documentation blurb about signal
16         handling. we now use POSIX::sigaction() to avoid SA_RESTART during
17         certain regions. added re-usable POSIX::SigAction members to toggle
18         SA_RESTART. added sig_sub() -- necessary to pass name to
19         POSIX::SigAction creation. 
20
21         * README: added small blurb to consult FCGI::ProcManager
22         documentation. 
23
24         * t/exporter.t:
25         * t/procmanager.t: fixed pm_manage() test.
26
27 2001-03-13 18:12  James Jurach  <muaddib@erf.net>
28
29         * ProcManager.pm: removed check for FCGI_ROLE.  now more
30         transparent when undesired.
31
32         * ProcManager.pm: detect when no FastCGI environment exists.
33
34         * ProcManager.pm: only warn and sleep -- do not abort on fork
35         failure.
36
37         * ProcManager.pm: now, we give notification to which processes we
38         send a TERM signal.
39
40 2001-02-09 10:16  James Jurach  <muaddib@erf.net>
41
42         * t/: exporter.t, procmanager.t: made it easier to manage
43         sample_request_loop() for testing.
44
45         * ProcManager.pm: modified some error messages.  added immediate
46         notify of manager signal.
47
48         * ProcManager.pm: added more documentation.  renamed
49         pm_reap_server() to pm_wait().  fixed problem when ! MANAGER_PID
50         that caused server to die immediately we now delete list of child
51         PIDs from each child.  added mechanism to pm_exit() to send a
52         SIGKILL to any remaining children.
53
54 2001-01-31 01:13  James Jurach  <muaddib@erf.net>
55
56         * README: more documentation
57
58         * ProcManager.pm: re-organized method layout.  separated manager
59         vs. server vs. common moved more intialization into managing_init()
60         and handling_init() created pm_die() to be called when manager
61         should die.  cleaned up error messages and notifications.
62
63         * t/: exporter.t, procmanager.t: revised test messages
64
65 2001-01-30 16:35  James Jurach  <muaddib@erf.net>
66
67         * t/: exporter.t, procmanager.t: removed call to pm_state()
68
69         * ProcManager.pm: removed sleep() call after testing
70         signal-during-fork-loop
71
72 2001-01-30 12:49  James Jurach  <muaddib@erf.net>
73
74         * ProcManager.pm: Cleaned up pm_manage().  removed signal
75         registration routines.  replaced by direct %SIG access.  there is
76         now a manager signal handler and a handler signal handler.  added
77         checks to die when getppid() changes.
78
79 2001-01-20 02:06  James Jurach  <muaddib@erf.net>
80
81         * MANIFEST: removed Changes from MANIFEST
82
83 2001-01-13 00:44  James Jurach  <muaddib@erf.net>
84
85         * t/procmanager.t: corrected various recent method name changes. 
86         removed calls to want_to_die().  added request loop hooks to
87         pm_pre_dispatch(), pm_post_dispatch().  renamed sample_handler() to
88         sample_request_loop().
89
90         * ProcManager.pm: renamed request loop hooks to pm_pre_dispatch(),
91         pm_post_dispatch().  when pm_manage() is called with
92         n_processes==0, return through goto.  renamed pre_manage_init() to
93         managing_init().  renamed post_manage_init() to handling_init(). 
94         added received_signal() to remember that a signal was received. 
95         signal handler simpler: now only notes signal and propagates
96         signal.
97
98         * t/exporter.t: this uses non-OO calling mode.
99
100         * MANIFEST: added t/exporter.t.
101
102         * Changes: ChangeLog is where per-file changes are listed.
103
104 2000-12-22 05:58  James Jurach  <muaddib@erf.net>
105
106         * ProcManager.pm: corrected logic error in self_or_default(). 
107         changed all occurances of write_pid_file() to pm_write_pid_file(). 
108         changed all occurances of remove_pid_file() to
109         pm_remove_pid_file().
110
111 2000-12-14 17:54  James Jurach  <muaddib@erf.net>
112
113         * ProcManager.pm: corrected state() -> pm_state() method call.
114
115 2000-12-10 17:25  James Jurach  <muaddib@erf.net>
116
117         * ProcManager.pm: corrected some method renaming issues.
118
119 2000-12-09 19:48  James Jurach  <muaddib@erf.net>
120
121         * t/procmanager.t: effected the changes to these subroutine names.
122
123         * ProcManager.pm: made this module OO/Exporter hybrid.  removed
124         treatment of $ENV{PROCMANAGER_PROCESSES} from constructor.  changed
125         several subroutine names.
126
127 2000-12-05 22:23  James Jurach  <muaddib@erf.net>
128
129         * ProcManager.pm: made SIGHUP's do what SIGTERM's do
130
131 2000-11-20  James Jurach  <muaddib@erf.net>
132
133         * Released first public version.