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 29069 Static file serving does not call request_finished signal André Cruz nobody "I'm using the method described here for serving uploaded files in development: https://docs.djangoproject.com/en/2.0/howto/static-files/#serving-files-uploaded-by-a-user-during-development However I've found that requests that hit these URLs emit the request_started signal but not the request_finished signal. Supposedly this signal would be sent after the content was sent but it is never sent. I've tried both with runserver and the latest uWSGI. This is a problem when we are using a connection pool since Django uses this signal to cleanup db connections (and thus return them to the pool), so we have a connection leak." Bug closed HTTP handling 3.0 Normal fixed streamingresponse request_finished Tom Forbes Matt Hoskins Herbert Fortes Collin Anderson Florian Apolloner Accepted 0 0 0 0 0 0