[issue44107] HTTPServer can't close http client completely

2021-06-16 Thread ueJone
ueJone <775844...@qq.com> added the comment: Sorry, I've been busy with other things recently. I think that the problem is't caused by OS, because the other TCP servers were disconnected normally and TCP client can access to these servers. My question is how to make the clien

[issue44107] HTTPServer can't close http client completely

2021-05-11 Thread ueJone
ueJone <775844...@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 c

[issue44107] HTTPServer can't close http client completely

2021-05-11 Thread ueJone
New submission from ueJone <775844...@qq.com>: # HTTP Server from http.server import HTTPServer, SimpleHTTPRequestHandler port = 80 httpd = HTTPServer(('', port), SimpleHTTPRequestHandler) print("Starting simple_httpd on port: " + str(httpd.server_po