diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-11-27 23:59:22 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-12-04 02:52:18 +0100 |
commit | 99fb36797a3f0b64ad20fcb8b83026875640f8e0 (patch) | |
tree | d133f8a404e1e7b83daeaf2dc1a0675d5bd89c86 /docs/examples/imap-store.c | |
parent | e9c7a86220ddf4e67b8bff56cddfc7388afcc9ef (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 'docs/examples/imap-store.c')
0 files changed, 0 insertions, 0 deletions