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.
1 parent 84cf3e4 commit 1641c5cCopy full SHA for 1641c5c
changelog.d/10091.misc
@@ -0,0 +1 @@
1
+Log method and path when dropping request due to size limit.
synapse/http/site.py
@@ -105,8 +105,10 @@ def handleContentChunk(self, data):
105
assert self.content, "handleContentChunk() called before gotLength()"
106
if self.content.tell() + len(data) > self._max_request_body_size:
107
logger.warning(
108
- "Aborting connection from %s because the request exceeds maximum size",
+ "Aborting connection from %s because the request exceeds maximum size: %s %s",
109
self.client,
110
+ self.get_method(),
111
+ self.get_redacted_uri(),
112
)
113
self.transport.abortConnection()
114
return
0 commit comments