Update synapse/http/site.py

Co-authored-by: Eric Eastwood <erice@element.io>
This commit is contained in:
Devon Hudson
2025-12-02 00:11:01 +00:00
committed by GitHub
parent 426b676f3f
commit 296ed42ed8

View File

@@ -150,7 +150,7 @@ class SynapseRequest(Request):
# been received, to dispatch the request to a resource.
def requestReceived(self, command: bytes, path: bytes, version: bytes) -> None:
# In the case of a Content-Length header being present, and it's value being too
# large, this will make debugging issues due to overly large requests much
# large, throw a proper error to make debugging issues due to overly large requests much
# easier. Currently we handle such cases in `handleContentChunk` and abort the
# connection without providing a proper HTTP response.
#