mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
49ac413386
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.
10 lines
238 B
Go
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,
|
|
}
|
|
}
|