mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Issue #2143: Fix embedded readline() hang on SSL socket EOF.
This commit is contained in:
parent
a5cfcad0e3
commit
ac2ed1e0ac
1 changed files with 1 additions and 0 deletions
|
@ -175,6 +175,7 @@ else:
|
|||
chr = None
|
||||
while chr != "\n":
|
||||
chr = self.sslobj.read(1)
|
||||
if not chr: break
|
||||
str += chr
|
||||
return str
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue