[issue44107] HTTPServer can't close http client completely

2021-06-16 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: later -> not a bug status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[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 client connect to the

[issue44107] HTTPServer can't close http client completely

2021-05-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: Python is calling close() after the HTTP/1.0 request. This isn't a bug on the CPython side. -- nosy: +gregory.p.smith resolution: remind -> not a bug stage: -> resolved status: open -> closed ___ Python

[issue44107] HTTPServer can't close http client completely

2021-05-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.8 only gets security fixes. Please verify issue on a current release. -- nosy: +terry.reedy ___ Python tracker ___

[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 can see

[issue44107] HTTPServer can't close http client completely

2021-05-11 Thread Jonathan Schweder
Jonathan Schweder added the comment: @ueJone according to the (RFC)[https://datatracker.ietf.org/doc/html/rfc6455#section-1.4] the FIN/ACK is not normative, in other words is recommended but not required, I've checked the syscalls of the server, see it below: ``` ... 1561 15143 write(2,

[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_port)) httpd.serve_forever()