Message401349
If I create_server
server_coro = loop.create_server( lambda: self._protocol_factory(self), sock=sock, ssl=ssl)
server = loop.run_until_complete(server_coro)
Then connect and disconnect a client the protocol connection lost and dealloc are called.
If however I close the server with existing connections then protocol dealloc is never called and I leak memory due to a malloc in my protocol.c init.
server.close()
loop.run_until_complete(server.wait_closed()) |
|
Date |
User |
Action |
Args |
2021-09-07 23:52:45 | MarkReedZ | set | recipients:
+ MarkReedZ, asvetlov, yselivanov |
2021-09-07 23:52:45 | MarkReedZ | set | messageid: <1631058765.71.0.794565950389.issue45134@roundup.psfhosted.org> |
2021-09-07 23:52:45 | MarkReedZ | link | issue45134 messages |
2021-09-07 23:52:45 | MarkReedZ | create | |
|