Ivan Sagalaev wrote:
>>
> Found it. Both modpython.py and wsgi.py have this bit:
> 
>     try:
>         request = ModPythonRequest(req)
>         response = self.get_response(req.uri, request)
>     finally:
>         db.db.close()
> 
>     # Apply response middleware
>     for middleware_method in self._response_middleware:
>         response = middleware_method(request, response)
> 
> .. meaning that if any response middleware uses db connection (like 
> Session) it's not closed.  I've filed a ticket: 
> http://code.djangoproject.com/ticket/1445

I see. It was actually fixed by [EMAIL PROTECTED] in ticket #1237. 
The lesson is: don't bundle multiple fixes in one ticket, some of them 
may be missed, if there are questionable parts.

I see your ticket was already acted upon too and fixed.

Thanks,

Eugene


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to