1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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.
This commit is contained in:
Ashish SHUKLA 2021-09-19 15:12:49 +00:00
parent 927ce5e715
commit 49ac413386
2 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= soju
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.0
PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= https://git.sr.ht/~emersion/go-scfg/archive/:goscfg \
https://git.sr.ht/~sircmpwn/go-bare/archive/:gobare

View File

@ -0,0 +1,9 @@
--- 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,
}
}