#17187: Incompatibility with Cherokee webserver's FastCGI handling
-------------------------------------+-------------------------------------
     Reporter:  sciyoshi             |                    Owner:  sam@…
         Type:  Bug                  |                   Status:  closed
    Component:  HTTP handling        |                  Version:  1.3
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:  cherokee flup        |             Triage Stage:
  fastcgi fcgi content-length uwsgi  |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 It looks like this part of the code changed heavily since Django 1.3, the
 patch doesn't apply.

 Based on code inspection, I'd say this problem can't happen anymore --
 from `WSGIRequest.__init__`:
 {{{
         try:
             content_length = int(self.environ.get('CONTENT_LENGTH'))
         except (ValueError, TypeError):
             content_length = 0
         self._stream = LimitedStream(self.environ['wsgi.input'],
 content_length)
 }}}

 If it still occurs on trunk, could you reopen the ticket and provide a
 test case? (or at least simple steps to reproduce the problem, involving
 as few third-party tools as possible).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17187#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to