Skip to content
Commit 99fb3679 authored by Peter Wu's avatar Peter Wu Committed by Daniel Stenberg
Browse files

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: default avatarPeter Wu <peter@lekensteyn.nl>
parent e9c7a862
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment