Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 516026 Details for
Bug 634594
net-misc/openssh-7.6_p1 sftp-server stalls during transfers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix the sftp stall
fix.patch (text/plain), 633 bytes, created by
Zac Medico
on 2018-01-23 03:33:12 UTC
(
hide
)
Description:
Fix the sftp stall
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2018-01-23 03:33:12 UTC
Size:
633 bytes
patch
obsolete
>--- a/channels.c >+++ b/channels.c >@@ -1003,13 +1003,16 @@ > fd_set *readset, fd_set *writeset) > { >+ u_int limit = c->remote_window; >+ > /* check buffer limits */ > if (!c->tcpwinsz || c->dynamic_window > 0) > c->tcpwinsz = channel_tcpwinsz(); > >- c->remote_window = MIN(c->remote_window, 2 * c->tcpwinsz); >+ if (c->dynamic_window) >+ limit = MIN(limit, 2 * c->tcpwinsz); > > if (c->istate == CHAN_INPUT_OPEN && >- c->remote_window > 0 && >- sshbuf_len(c->input) < c->remote_window && >+ limit > 0 && >+ sshbuf_len(c->input) < limit && > sshbuf_check_reserve(c->input, CHAN_RBUF) == 0) > FD_SET(c->rfd, readset);
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 634594
:
516022
|
516024
| 516026