1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/irc/soju/files/patch-cmd_soju_main.go
Ashish SHUKLA 49ac413386 irc/soju: Import a patch from upstream
This is bug fix related to using it over VPN, or behind a reverse
proxy. See https://todo.sr.ht/~emersion/soju/134, and
https://github.com/emersion/soju/pull/33.
2021-09-19 15:12:49 +00:00

10 lines
238 B
Go

--- cmd/soju/main.go.orig 2021-09-13 12:23:33 UTC
+++ cmd/soju/main.go
@@ -253,5 +253,6 @@ func proxyProtoListener(ln net.Listener, srv *soju.Ser
}
return proxyproto.IGNORE, nil
},
+ ReadHeaderTimeout: 5 * time.Second,
}
}