1
0
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:
Gerasimos (Makis) Maropoulos
2019-11-13 19:18:41 +02:00
parent 7ad97865b5
commit 8da68a0a43
6 changed files with 394 additions and 3 deletions

View File

@@ -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
}