]> git.evergreen-ils.org Git - working/OpenSRF.git/commit
LP1204123 SIGUSR2 causes router re-register (Perl/C)
authorBill Erickson <berick@esilibrary.com>
Tue, 23 Jul 2013 16:06:48 +0000 (12:06 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 24 Jul 2013 20:35:16 +0000 (16:35 -0400)
commit417ffb3135595756eda4c94e15e2ceead5396358
tree96b14cac74e5fdc4f65eb56ba9051b858513222a
parent6ad78d622cd10c6d9d29dcecbd3e112073448e2d
LP1204123 SIGUSR2 causes router re-register (Perl/C)

When a listener process receives the USR2 signal, the 'register' command
is sent to all known routers.  This allows for the addition of new
routers to running opensrf services.

If a register command is sent to a router for which the process is
already successfully register, the router will safely discard it, so
multiple SIGUSR2 calls are safe.

Minor int => bool clarification repair to existing C shutdown
(prefork_clear) code.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
src/libopensrf/osrf_prefork.c
src/perl/lib/OpenSRF/Server.pm