Ticket #505 (defect)
Opened 3 years ago
Last modified 3 years ago
cherrypy.thread_data cleared on Request.close()
Status: closed (fixed)
| Reported by: | jtate@rpath.com | Assigned to: | fumanchu |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | CherryPy code | Keywords: | thread_data |
| Cc: | rdelon |
The thread_data structure is no longer a per thread storage space, and is instead a per connection store, which is a misnomer at least.
I will attach a patch to revert this change introduced in r1013. cherrypy.serving.dict.clear() is also called, but I'm not sure if that breaks anything.
Attachments
Change History
04/06/06 10:33:39: Modified by jtate@rpath.com
- attachment thread_data-clear-revert.patch added.
04/06/06 15:06:45: Modified by fumanchu
- cc set to rdelon.
- status changed from new to closed.
- resolution set to fixed.
- severity changed from major to critical.
Absolutely correct. Fixed in [1042]. This should be immediately applied to the 2.2 branch and a new release made.


revert thread_data.dict.clear() in Request.close()