thriftpy2 icon indicating copy to clipboard operation
thriftpy2 copied to clipboard

close socket after client timeout

Open lexdene opened this issue 3 years ago • 1 comments

I found the socket is not closed correctly after asyncio.wait_for timeout. So add writer.close() in TimeoutError exception.

lexdene avatar Aug 05 '21 05:08 lexdene

@ethe please take a look.

lexdene avatar Aug 05 '21 06:08 lexdene