Descriptionlog/syslog: Add timeouts for syslog
In order to detect dead syslog readers,
use a timout on (re-)connect and write.
Without this, programs hang in unixdomain sockets writes forever.
The timeouts are 1 seconds each and not configurable from the outside.
Patch Set 1 #Patch Set 2 : diff -r c92f6dbc444a https://code.google.com/p/go #Patch Set 3 : diff -r e2dd08f26402 https://code.google.com/p/go #
MessagesTotal messages: 6
|
|||||||||||||||||||||||||||||||||||||