[issue44107] HTTPServer can't close http client completely

ueJone report at bugs.python.org
Tue May 11 21:38:35 EDT 2021


ueJone <775844993 at qq.com> added the comment:

The HTTPServers run on win10 20H2. The HTTP client is a embed device.


The client often fails to connect to the HTTP server when reboot after close socket. Test as follows:

1. The client close socket when HTTP_GET request is done.(Now you can see that HTTPServer not send 'FIN', it means the server not close socket completely)
2. The client reboot and send HTTP_GET request again, but it can't connect to the HTTPServer as shown in the attachment.

In addition, every request is successful if the client not reboot.

I think the problem may be caused by the HTTPServer not closing the previous connection completely.

----------
resolution:  -> remind

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


More information about the Python-bugs-list mailing list