thriftpy2
thriftpy2 copied to clipboard
close socket after client timeout
I found the socket is not closed correctly after asyncio.wait_for timeout.
So add writer.close() in TimeoutError exception.
@ethe please take a look.