﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36193	AssertionError: Invalid ASGI message after request body: http.request	Dominik Gasparic		"I suspect that with the feature introduced from Django 5.0 for handling http.disconnect events. Something might be problematic under certain conditions with async views in Django. I only saw this happening with Nginx Unit and Django>=5.0. [https://code.djangoproject.com/ticket/33738]

Here is also the ticket on Nginx Unit github [https://github.com/nginx/unit/issues/1561] it contains traceback, Unit log and behavior described in more detail.
I also created demo project to reproduce this behavior: [https://github.com/codedoga/nginx_unit_asgi_django]

Another thing I noticed is that if I override ASGIHandler with the one used by Django<=5.0 it works without issues."	Bug	closed	HTTP handling	5.0	Normal	invalid	ASGI, http.disconect,		Unreviewed	0	0	0	0	0	0
