[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-06-28 Thread Akshay Takkar
Change by Akshay Takkar : -- keywords: +patch pull_requests: +14274 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14457 ___ Python tracker <https://bugs.python.org/issu

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-06-26 Thread Akshay Takkar
Akshay Takkar added the comment: Ah, I see. Yes, raising an exception would probably be very useful. Thanks for the info. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-06-26 Thread Akshay Takkar
Akshay Takkar added the comment: Can you please elaborate on how to get around this issue? -- ___ Python tracker <https://bugs.python.org/issue37404> ___ ___

[issue37404] asyncio sock_recv blocks on ssl sockets.

2019-06-25 Thread Akshay Takkar
New submission from Akshay Takkar : I'm working on a server that uses sock_recv from asyncio. await sock_recv(socket, n) never returns if socket is wrapped in ssl using the wrap_socket function from the ssl module. I think the problem stated in this stackoverflow question could be the r