Details
Description
XFireServletController.doService can set the ThreadLocal 'requests' and 'responses' members, but neglect to clear them before returning. This can be a source of confusion to the affected thread. For example, the thread may be subsequently assigned (by a frugal servlet container) to process an unrelated request, at which point the ThreadLocal request and response may have been (frugally) allocated to other uses unrelated to this thread's current work. Havoc may ensue.
Please take greater care to clear these ThreadLocal members before exiting doService.
Sure enough, it only happens when we generate WSDL, but I just fixed this in SVN.