Skip to content

Commit

Permalink
Set keep alive to false
Browse files Browse the repository at this point in the history
  • Loading branch information
Aceeri committed Jul 2, 2019
1 parent a603dba commit a75c0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (c *MapiConn) tryConnect() error {

tcpConn, _ := conn.(*net.TCPConn)

tcpConn.SetKeepAlive(true)
tcpConn.SetKeepAlive(false)
tcpConn.SetNoDelay(true)
c.conn = tcpConn

Expand Down

0 comments on commit a75c0b1

Please sign in to comment.