[issue32518] HTTPServer can't deal with persistent connection properly

2018-01-08 Thread

New submission from 杨鹏 :

when client is using persistent connection, HTTPServer will hang with that 
connection. As a result, it can't deal with other clients.

--
components: Library (Lib)
messages: 309659
nosy: 杨鹏
priority: normal
pull_requests: 4996
severity: normal
status: open
title: HTTPServer can't deal with persistent connection properly
type: behavior
versions: Python 2.7

___
Python tracker 
<https://bugs.python.org/issue32518>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32518] HTTPServer can't deal with persistent connection properly

2018-01-08 Thread

杨鹏  added the comment:

OK,i got it. thanks for your reply. But i have to say, the BaseHTTPServer 
document is kind of confusing. It claims to support persistent connection, but 
actually it hangs with such situation, i can't even shut it down with shudown() 
method. After diving into source code of SocketServer, i finally found the myth.

--

___
Python tracker 
<https://bugs.python.org/issue32518>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com