Source

CherryPy / cherrypy / _cpmodpy.py

The branch 'cherrypy-3.0.x' does not exist.
Diff from to

File cherrypy/_cpmodpy.py

                     response = request.run(method, path, qs, sproto, headers, rfile)
                     break
                 except cherrypy.InternalRedirect, ir:
-                    request.close()
+                    cherrypy.engine.release()
                     prev = request
                     
                     if not recursive:
                     rfile = StringIO.StringIO()
             
             send_response(req, response.status, response.header_list, response.body)
-            request.close()
+            cherrypy.engine.release()
     except:
         tb = format_exc()
         cherrypy.log(tb)