You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Channel.shutdown_read() does not fail/unblock reads #939
Channel.shutdown_read() claims that future reads will fail.
On a native Python socket object, shutdown(SHUT_RD) both fails future reads, and unblocks/fails any outstanding reads in background threads.
Channel.shutdown_read() does neither, because it only sets eof_received, which recv() doesn't check, and it has no mechanism for notifying background threads.
_handle_eof does fix these issues.
[maintainer edit: replaced inline snippet with link to PR: #940]
Activity
ploxiln commentedon Apr 12, 2017
Your diff is unreadable. Edit your issue description, and put the diff in a "fenced code block" - https://help.github.com/articles/creating-and-highlighting-code-blocks/
Even better would be to open a pull request with the proposed changes.
cpatulea commentedon Apr 13, 2017
#940
ploxiln commentedon Apr 13, 2017
That's readable, thanks!
cpatulea commentedon Apr 25, 2017
Hey, I was hoping to get this upstreamed. Does this look reasonable?