Bugzilla – Attachment 2611 Details for
Bug 2257
ssh - Connection closed by UNKNOWN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
improve ECONNRESET error message
improve-reset-err.diff (text/plain), 786 bytes, created by
Damien Miller
on 2015-05-01 14:43:51 AEST
(
hide
)
Description:
improve ECONNRESET error message
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2015-05-01 14:43:51 AEST
Size:
786 bytes
patch
obsolete
>Index: dispatch.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/dispatch.c,v >retrieving revision 1.26 >diff -u -p -r1.26 dispatch.c >--- dispatch.c 12 Feb 2015 20:34:19 -0000 1.26 >+++ dispatch.c 1 May 2015 04:40:43 -0000 >@@ -25,6 +25,7 @@ > > #include <sys/types.h> > >+#include <errno.h> > #include <signal.h> > #include <stdarg.h> > >@@ -149,6 +150,13 @@ ssh_dispatch_run_fatal(struct ssh *ssh, > logit("Disconnected from %.200s", > ssh_remote_ipaddr(ssh)); > cleanup_exit(255); >+ case SSH_ERR_SYSTEM_ERROR: >+ if (errno == ECONNRESET) { >+ logit("Connection reset by %.200s", >+ ssh_remote_ipaddr(ssh)); >+ cleanup_exit(255); >+ } >+ /* FALLTHROUGH */ > default: > fatal("%s: %s", __func__, ssh_err(r)); > }
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 2257
:
2457
|
2611
|
2612