mirror of
https://github.com/kataras/iris.git
synced 2026-01-06 03:27:27 +00:00
Add socket.io example
Former-commit-id: 895669c537db46f1694e8006418ea0509c60cb04
This commit is contained in:
@@ -115,7 +115,8 @@ func (su *Supervisor) newListener() (net.Listener, error) {
|
||||
// restarts we may want for the server.
|
||||
//
|
||||
// User still be able to call .Serve instead.
|
||||
l, err := netutil.TCPKeepAlive(su.Server.Addr)
|
||||
// l, err := netutil.TCPKeepAlive(su.Server.Addr)
|
||||
l, err := netutil.TCP(su.Server.Addr)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user