mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 18:54:37 +03:00
fix fuzzing imapserver by not triggering the rate limiter
This commit is contained in:
@ -73,6 +73,7 @@ func FuzzServer(f *testing.F) {
|
||||
|
||||
f.Fuzz(func(t *testing.T, s string) {
|
||||
run := func(cmds []string) {
|
||||
limitersInit() // Reset rate limiters.
|
||||
serverConn, clientConn := net.Pipe()
|
||||
defer serverConn.Close()
|
||||
defer clientConn.Close()
|
||||
|
Reference in New Issue
Block a user