Skip to content

Commit

Permalink
irc/soju: Import a patch from upstream
Browse files Browse the repository at this point in the history
This is bug fix related to using it over VPN, or behind a reverse
proxy. See https://todo.sr.ht/~emersion/soju/134, and
emersion/soju#33.
  • Loading branch information
wahjava committed Sep 19, 2021
1 parent 927ce5e commit 49ac413
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions irc/soju/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
9 changes: 9 additions & 0 deletions irc/soju/files/patch-cmd_soju_main.go
Original file line number Diff line number Diff line change
@@ -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,
}
}

0 comments on commit 49ac413

Please sign in to comment.