mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-25 13:13:47 +03:00
Fix identifier rename on non-Linux file
I guess the tooling only refactors for your OS!
This commit is contained in:
parent
17f9f974f8
commit
89a086dec2
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ import (
|
|||
func ListenTimeout(network, addr string, keepAlivePeriod time.Duration) (net.Listener, error) {
|
||||
// check to see if plugin provides listener
|
||||
if ln, err := getListenerFromPlugin(network, addr); err != nil || ln != nil {
|
||||
return acceptPipe(ln), err
|
||||
return pipeable(ln), err
|
||||
}
|
||||
|
||||
lnKey := listenerKey(network, addr)
|
||||
|
@ -29,7 +29,7 @@ func ListenTimeout(network, addr string, keepAlivePeriod time.Duration) (net.Lis
|
|||
}
|
||||
return nil, err
|
||||
}
|
||||
return &sharedListener{Listener: acceptPipe(ln), key: lnKey}, nil
|
||||
return &sharedListener{Listener: pipeable(ln), key: lnKey}, nil
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in a new issue