This fixes a couple problems when exiting due to signal:
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 25 Sep 2008 20:31:29 +0000 (20:31 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 25 Sep 2008 20:31:29 +0000 (20:31 +0000)
commit81c5c973ffc8e6d305f533f5ea2e6e407beca865
treecf1b0f47cc80fa1a5bbde157912a1328f189c3ad
parent5fe8a76ab35012a0a5e1bd8cc5ff4a6f059f37f5
This fixes a couple problems when exiting due to signal:

 * connection threads exit without closing client socket
   (so client blocks waiting for response that never comes)

 * listen_queue_thread blocks on poll() until a new connection comes in
   (because no poll timeout specified)

-- kevin brintnall

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1525 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_daemon.c