mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-05-17 08:36:55 +03:00
This PR makes vmauth honor `-maxRequestBodySizeToRetry` regardless of `-requestBufferSize`. Previously the larger of the two was used, so the retry could not be disabled by setting `-maxRequestBodySizeToRetry=0`, `-requestBufferSize` has to be set to zero too. Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/10857 PR https://github.com/VictoriaMetrics/VictoriaMetrics/pull/10882 --------- Co-authored-by: Max Kotliar <mkotlyar@victoriametrics.com>