This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: BaseHTTPServer.shutdown() locks if the last request 404'd
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: orsenthil Nosy List: Philip.Horger, orsenthil, petri.lehtinen
Priority: normal Keywords:

Created on 2011-07-14 23:49 by Philip.Horger, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unnamed Philip.Horger, 2011-07-18 22:27
Messages (5)
msg140382 - (view) Author: Philip Horger (Philip.Horger) Date: 2011-07-14 23:49
I haven't yet checked to see if other errors mess it up, but it refuses to exit the serve_forever() loop if the last request had a 404 error.
msg140383 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2011-07-14 23:52
Can you please provide an example snippet with your expectation of the behavior?
msg140626 - (view) Author: Philip Horger (Philip.Horger) Date: 2011-07-18 21:54
I'm having trouble replicating the issue in simpler code snippets than the
project code the issue first popped up in, which means the problem is
probably my own code. For now, it looks like this was a false alarm, and I'm
sorry for wasting anyone's time. I normally do more research on my own
before submitting bugs, but at the time I hit the submit button I literally
had 10 seconds of internet left, so I was a bit crunched for time.

On Fri, Jul 15, 2011 at 11:54 AM, Petri Lehtinen <report@bugs.python.org>wrote:

>
> Changes by Petri Lehtinen <petri@digip.org>:
>
>
> ----------
> nosy: +petri.lehtinen
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue12570>
> _______________________________________
>
msg140629 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2011-07-18 22:23
Not a problem. I am closing this, but if you find enough evidence that something is a bug, feel free to reopen this or another report.
msg140630 - (view) Author: Philip Horger (Philip.Horger) Date: 2011-07-18 22:27
Thanks, sounds good to me too. I'll probably work on it a bit later, see if
I can find the bug in my own code at least.

On Mon, Jul 18, 2011 at 3:23 PM, Senthil Kumaran <report@bugs.python.org>wrote:

>
> Changes by Senthil Kumaran <senthil@uthcode.com>:
>
>
> Removed file: http://bugs.python.org/file22690/unnamed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue12570>
> _______________________________________
>
History
Date User Action Args
2022-04-11 14:57:19adminsetgithub: 56779
2011-07-18 22:27:05Philip.Horgersetfiles: + unnamed

messages: + msg140630
2011-07-18 22:23:59orsenthilsetfiles: - unnamed
2011-07-18 22:23:52orsenthilsetstatus: open -> closed
resolution: not a bug
messages: + msg140629

stage: resolved
2011-07-18 21:54:00Philip.Horgersetfiles: + unnamed

messages: + msg140626
2011-07-15 18:54:39petri.lehtinensetnosy: + petri.lehtinen
2011-07-14 23:52:58orsenthilsetassignee: orsenthil

messages: + msg140383
nosy: + orsenthil
2011-07-14 23:49:05Philip.Horgercreate