We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e7c522 + 6061ab5 commit 58860f8Copy full SHA for 58860f8
ddtrace/appsec/_handlers.py
@@ -1,4 +1,3 @@
1
-import asyncio
2
import io
3
import json
4
from typing import Any
@@ -171,6 +170,9 @@ def _on_lambda_parse_body(
171
170
172
async def _on_asgi_request_parse_body(receive, headers):
173
if asm_config._asm_enabled:
+ # This must not be imported globally due to 3rd party patching timeline
174
+ import asyncio
175
+
176
more_body = True
177
body_parts = []
178
try:
releasenotes/notes/asyncio_fix-d279a20c05a2bf24.yaml
@@ -0,0 +1,4 @@
+---
+fixes:
+ - |
+ AAP: This fix resolves an issue where stream endpoints with daphne/django where unresponsive due to an asyncio error.
0 commit comments