Cédric Krier
c32655ae05
Catch select.error for SIGTERM on OpenBSD
2011-01-16 22:25:19 +01:00
Phillip Heller
91184b1173
Factored out common daemon code from services to new trytond.protocols.com
...
Suppress Errno 57 when attempting to close an already shut socket, fixes issue1624
Revert from join() on enumerated threads to join() on individual service threadsto preserve debugging environments
2010-10-06 16:53:00 -04:00
Phillip Heller
e77d1851ff
Set waiting connection on select instead of accept for issue1625
...
SIGINT seems to not stop accept call
2010-09-25 11:42:43 -04:00
Cédric Krier
483afed26a
Catch only Exception according to PEP 352
2010-07-08 19:53:39 +02:00
Cédric Krier
b5fb4d1ef3
Refactoring by validation with pylint
2010-02-18 18:50:35 +01:00
Cédric Krier
2584e00eb5
Join the thread when stopping instead of sleep
2009-03-25 01:28:49 +01:00
Cédric Krier
805ce0c869
Remove logging from protocols and add host, port, protocol on dispatch
2009-02-27 18:48:07 +01:00
Cédric Krier
54d750a624
Use better logger name
2009-02-12 18:28:58 +01:00
Cédric Krier
5a94693494
Move netrpc into protocols
2009-02-11 20:37:24 +01:00