Issue #2143: Fix embedded readline() hang on SSL socket EOF.

This commit is contained in:
Sean Reifscheider 2008-03-20 00:46:50 +00:00
parent a5cfcad0e3
commit ac2ed1e0ac
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ else:
chr = None
while chr != "\n":
chr = self.sslobj.read(1)
if not chr: break
str += chr
return str