Provide a mechanism whereby a server drone can terminate immediately,
without waiting for max_requests or a DISCONNECT message.
Motivation: a drone may determine that it is incapacitated and can neither
complete the current request nor service subsequent ones.
In particular, it may lose a database connection.
Mechanism: set a switch in the current osrfAppSession. In osrf_prefork.c,
inspect this switch after every method call, and bail out if it's set.
M include/opensrf/osrf_app_session.h
M src/libopensrf/osrf_app_session.c
M src/libopensrf/osrf_prefork.c
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1969
9efc2488-bf62-4759-914b-
345cdb29e865