[New-bugs-announce] [issue37404] asyncio sock_recv blocks on ssl sockets.

Akshay Takkar report at bugs.python.org
Tue Jun 25 15:36:21 EDT 2019


New submission from Akshay Takkar <akshay.takkar101 at gmail.com>:

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 reason: https://stackoverflow.com/questions/40346619/behavior-of-pythons-select-with-partial-recv-on-ssl-socket

----------
assignee: christian.heimes
components: SSL, asyncio
files: server_client
messages: 346550
nosy: AkshayTakkar, asvetlov, christian.heimes, yselivanov
priority: normal
severity: normal
status: open
title: asyncio sock_recv blocks on ssl sockets.
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file48437/server_client

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37404>
_______________________________________


More information about the New-bugs-announce mailing list