aboutsummaryrefslogtreecommitdiff
path: root/src/tool_sleep.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-11-27 23:59:22 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-12-04 02:52:18 +0100
commit99fb36797a3f0b64ad20fcb8b83026875640f8e0 (patch)
treed133f8a404e1e7b83daeaf2dc1a0675d5bd89c86 /src/tool_sleep.h
parente9c7a86220ddf4e67b8bff56cddfc7388afcc9ef (diff)
sws: try to remove socket and retry bind
If sws is killed it might leave a stale socket file on the filesystem which would cause an EADDRINUSE error. After this patch, it is checked whether the socket is really stale and if so, the socket file gets removed and another bind is executed. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'src/tool_sleep.h')
0 files changed, 0 insertions, 0 deletions