Commit 25f52b08 authored by Denis Bilenko's avatar Denis Bilenko

socket.py: remove dead code

parent 774e0f8d
......@@ -304,8 +304,7 @@ class GreenSSL(GreenSocket):
if self.timeout!=0.0:
wait_reader(self.fileno(), timeout=self.gettimeout(), timeout_exc=timeout)
try:
while True:
return self.fd.recv(buflen)
return self.fd.recv(buflen)
except SSL.ZeroReturnError:
return ''
except SSL.SysCallError, e:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment