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()

#########################################
HTTP client(192.168.1.8) close the socket when http request is done.But the 
http server(192.168.1.168) does't send 'TCP_FIN' message.

----------
files: Dingtalk_20210511174335.jpg
messages: 393451
nosy: ueJone
priority: normal
severity: normal
status: open
title: HTTPServer can't close http client completely
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file50037/Dingtalk_20210511174335.jpg

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44107>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to