mirror of
https://github.com/soypat/lneto.git
synced 2026-08-15 12:23:44 +00:00
remove backoff from form parsing
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user