Bugzilla – Attachment 2050 Details for
Bug 1329
stale control sockets prevent connection multiplexing.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to unlink stale socket, against 5.6p1
openssh-5.6p1-remove-stale-control-socket.patch (text/plain), 485 bytes, created by
David Woodhouse
on 2011-05-20 22:22:58 AEST
(
hide
)
Description:
Patch to unlink stale socket, against 5.6p1
Filename:
MIME Type:
Creator:
David Woodhouse
Created:
2011-05-20 22:22:58 AEST
Size:
485 bytes
patch
obsolete
>--- openssh-5.6p1/mux.c~ 2010-06-26 01:02:24.000000000 +0100 >+++ openssh-5.6p1/mux.c 2011-05-20 12:38:31.000000000 +0100 >@@ -1825,7 +1825,10 @@ muxclient(const char *path) > } > if (errno == ENOENT) > debug("Control socket \"%.100s\" does not exist", path); >- else { >+ else if (errno == ECONNREFUSED) { >+ debug("Removing stale control socket \"%.100s\"", path); >+ unlink(path); >+ } else { > error("Control socket connect(%.100s): %s", path, > strerror(errno)); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1329
:
1318
|
1513
|
1514
|
2050
|
2051