dont need to be TCP specific
This commit is contained in:
parent
09bc4c424a
commit
f2bbd9297e
2
grace.go
2
grace.go
@ -183,7 +183,7 @@ func Inherit() (listeners []Listener, err error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
l := tmp.(*net.TCPListener)
|
l := tmp.(Listener)
|
||||||
listeners = append(listeners, NewListener(l))
|
listeners = append(listeners, NewListener(l))
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user