Bugzilla – Attachment 2712 Details for
Bug 2469
ssh connection hangs indefinitely on EPIPE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch: check ssh_packet_write_poll return value in ssh_packet_write_wait
epipe_handling.patch (text/plain), 490 bytes, created by
Tomas Kuthan
on 2015-09-18 19:28:30 AEST
(
hide
)
Description:
Patch: check ssh_packet_write_poll return value in ssh_packet_write_wait
Filename:
MIME Type:
Creator:
Tomas Kuthan
Created:
2015-09-18 19:28:30 AEST
Size:
490 bytes
patch
obsolete
>diff -pur old/packet.c new/packet.c >--- old/packet.c >+++ new/packet.c >@@ -2040,7 +2040,9 @@ ssh_packet_write_wait(struct ssh *ssh) > NFDBITS), sizeof(fd_mask)); > if (setp == NULL) > return SSH_ERR_ALLOC_FAIL; >- ssh_packet_write_poll(ssh); >+ r = ssh_packet_write_poll(ssh); >+ if (r == SSH_ERR_SYSTEM_ERROR || r == SSH_ERR_CONN_CLOSED) >+ return r; > while (ssh_packet_have_data_to_write(ssh)) { > memset(setp, 0, howmany(state->connection_out + 1, > NFDBITS) * sizeof(fd_mask));
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 2469
: 2712