aboutsummaryrefslogtreecommitdiff
path: root/gl/fd-hook.c
diff options
context:
space:
mode:
authorGravatar Sven Nierlein <sven@nierlein.de> 2013-09-15 20:49:36 +0200
committerGravatar Sven Nierlein <sven@nierlein.de> 2013-09-15 20:49:36 +0200
commitcb8390aec94e7e44180780b6e315d5363082dfef (patch)
treedfba0d3844e6322ff78110451ec0803fcc34015d /gl/fd-hook.c
parentc900ee2772b223c3ae8c29f752b8c1a6a8c10f92 (diff)
downloadmonitoring-plugins-cb8390aec94e7e44180780b6e315d5363082dfef.tar.gz
check_tcp: use receive timeout for checks that expect response
if check_imap expects a string that never occurs, it currently waits forever because thats how the imap protocoll works. Use a receive timeout in that case so we can exit early with a proper error message.
Diffstat (limited to 'gl/fd-hook.c')
0 files changed, 0 insertions, 0 deletions