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:
parent
927ce5e715
commit
49ac413386
@ -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
|
||||
|
9
irc/soju/files/patch-cmd_soju_main.go
Normal file
9
irc/soju/files/patch-cmd_soju_main.go
Normal 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,
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user