#32798: StreamingHttpResponse raises SynchronousOnlyOperation in ASGI server
--------------------------------+-----------------------------------------
     Reporter:  Ralph Broenink  |                    Owner:  Michael Brown
         Type:  Bug             |                   Status:  assigned
    Component:  HTTP handling   |                  Version:  3.2
     Severity:  Normal          |               Resolution:
     Keywords:  ASGI, async     |             Triage Stage:  Accepted
    Has patch:  1               |      Needs documentation:  0
  Needs tests:  1               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+-----------------------------------------
Changes (by Carlton Gibson):

 * needs_tests:  0 => 1


Comment:

 The proposed fix is ''slow'' — but it's not clear exactly how slow. I'm
 going to put together a benchmark with locust so we can decide properly
 it's fast-enough, or if we'd be better erroring in this case, with a
 helpful error messages saying ≈''"Use WSGI here"''.
 [https://github.com/django/django/pull/14652#pullrequestreview-773806647
 Comment on PR to that effect.]

 I'll mark as ''Needs tests'' for the moment.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32798#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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.e160bac9d65afb8ac3e69e4975627e8e%40djangoproject.com.

Reply via email to