remove backoff from form parsing

This commit is contained in:
Patricio Whittingslow
2026-07-27 18:10:22 -03:00
parent 659e7c7ba9
commit 98f104f67c
3 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ func BenchmarkRequestParseForm(b *testing.B) {
buf := make([]byte, 64)
var mux MuxSlice
mux.Handle("POST /f", func(ex *Exchange) {
err := ex.RequestParseForm(&benchForm, buf, nopBackoff)
err := ex.RequestParseForm(&benchForm, buf)
if err != nil || benchForm.Len() != 2 {
panic("invalid result")
}