nasty workaround to avoid hang joining thread created in serveOverHTTP with python2.6

Bug #564375 reported by Michael Hudson-Doyle
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

With changes to the SocketServer module in Python 2.6 the thread created in serveOverHTTP cannot be joined, because HttpServer.stop_server doesn't do enough to get the thread out of the select call in SocketServer.BaseServer.handle_request().

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :
Tim Penhey (thumper)
tags: added: tech-debt
Changed in launchpad-code:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Guilherme Salgado (salgado) wrote :

According to Max Bowsher, the "proper fix would be for SocketServer to provide a documented way of breaking it out of its select loop". Has that bug been filed against Python?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.