mirror of
https://github.com/caddyserver/caddy.git
synced 2025-04-22 04:18:47 +08:00
oops
Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
This commit is contained in:
parent
e42cf4fc80
commit
c65fc0bb1a
@ -136,7 +136,7 @@ func (fcl *fakeCloseListener) Accept() (net.Conn, error) {
|
||||
}
|
||||
|
||||
// call underlying accept
|
||||
conn, err := fcl.Accept()
|
||||
conn, err := fcl.sharedListener.Accept()
|
||||
if err == nil {
|
||||
// if 0, do nothing, Go's default is already set
|
||||
// and if the connection allows setting KeepAlive, set it
|
||||
|
Loading…
x
Reference in New Issue
Block a user