Bugzilla – Attachment 1075 Details for
Bug 52
ssh hangs on exit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Up-to-date hang-on-exit patch
openssh-hang.patch (text/plain), 990 bytes, created by
John Bowman
on 2006-02-22 16:24:45 AEDT
(
hide
)
Description:
Up-to-date hang-on-exit patch
Filename:
MIME Type:
Creator:
John Bowman
Created:
2006-02-22 16:24:45 AEDT
Size:
990 bytes
patch
obsolete
>diff -ru openssh-4.3p2/clientloop.c openssh-4.3p2J/clientloop.c >--- openssh-4.3p2/clientloop.c 2005-12-30 22:22:32.000000000 -0700 >+++ openssh-4.3p2J/clientloop.c 2006-02-21 00:46:57.000000000 -0700 >@@ -583,9 +583,12 @@ > len = read(connection_in, buf, sizeof(buf)); > if (len == 0) { > /* Received EOF. The remote host has closed the connection. */ >+/* This message duplicates the one already in client_loop(). */ >+#if 0 > snprintf(buf, sizeof buf, "Connection to %.300s closed by remote host.\r\n", > host); > buffer_append(&stderr_buffer, buf, strlen(buf)); >+#endif > quit_pending = 1; > return; > } >diff -ru openssh-4.3p2/session.c openssh-4.3p2J/session.c >--- openssh-4.3p2/session.c 2006-02-07 16:18:55.000000000 -0700 >+++ openssh-4.3p2J/session.c 2006-02-21 00:50:20.000000000 -0700 >@@ -2192,6 +2192,8 @@ > */ > if (c->ostate != CHAN_OUTPUT_CLOSED) > chan_write_failed(c); >+ if (s->ttyfd != -1 && c->istate == CHAN_INPUT_OPEN) >+ chan_read_failed(c); > } > > void
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
Flags:
djm
:
ok-
Actions:
View
|
Diff
Attachments on
bug 52
:
557
|
572
|
667
|
801
|
1075
|
1098
|
1214
|
1215
|
1227
|
1242
|
1243