version 1.24, 2003/09/16 09:46:42
|
version 1.25, 2003/09/23 11:22:14
|
Line 45
|
Line 45
|
|
|
# Change log: |
# Change log: |
# $Log$ |
# $Log$ |
|
# Revision 1.25 2003/09/23 11:22:14 foxr |
|
# Tested ability to receive sigusr2 This is now logged and must be |
|
# properly implemented as a re-read of hosts and re-init of appropriate |
|
# children. |
|
# |
# Revision 1.24 2003/09/16 09:46:42 foxr |
# Revision 1.24 2003/09/16 09:46:42 foxr |
# Added skeletal infrastructure to support SIGUSR2 update hosts request. |
# Added skeletal infrastructure to support SIGUSR2 update hosts request. |
# |
# |
Line 144 use LONCAPA::HashIterator;
|
Line 149 use LONCAPA::HashIterator;
|
# |
# |
# Disable all signals we might receive from outside for now. |
# Disable all signals we might receive from outside for now. |
# |
# |
#$SIG{QUIT} = IGNORE; |
|
#$SIG{HUP} = IGNORE; |
|
#$SIG{USR1} = IGNORE; |
|
#$SIG{INT} = IGNORE; |
|
#$SIG{CHLD} = IGNORE; |
|
#$SIG{__DIE__} = IGNORE; |
|
|
|
|
|
# Read the httpd configuration file to get perl variables |
# Read the httpd configuration file to get perl variables |
Line 1645 sub CheckKids {
|
Line 1644 sub CheckKids {
|
|
|
=head1 UpdateKids |
=head1 UpdateKids |
|
|
parent's SIGUSR1 handler. This handler: |
parent's SIGUSR2 handler. This handler: |
|
|
=item |
=item |
|
|
Line 1668 the start of the master program and main
|
Line 1667 the start of the master program and main
|
=cut |
=cut |
|
|
sub UpdateKids { |
sub UpdateKids { |
|
Log("INFO", "Updating connections via SIGUSR2"); |
} |
} |
|
|
|
|