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 0ca0e64 commit 29b102cCopy full SHA for 29b102c
exp/api/remote/remote_api.go
@@ -448,7 +448,7 @@ func WithWriteHandlerMiddlewares(middlewares ...func(http.Handler) http.Handler)
448
}
449
450
451
-// maxDecodedSize limits the maximum allowed size of decompressed snappy payloads.
+// maxDecodedSize limits the maximum allowed bytes of decompressed snappy payloads.
452
// This protects against maliciously crafted payloads that could cause excessive memory
453
// allocation and potentially lead to out-of-memory (OOM) conditions.
454
// All usual payloads should be much smaller than this limit and pass without any problems.
0 commit comments