diff options
author | Valery Piashchynski <[email protected]> | 2021-10-31 08:55:08 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-31 08:55:08 -0700 |
commit | 89fdb4509214dece1523d3ff4d6a7a8b9236443d (patch) | |
tree | 4b4ed046352b325cf76991a2dc676d4529192e98 /utils/network.go | |
parent | b78558d0af7f813f81de0338400f99291932347f (diff) | |
parent | c3a32497244f645dc70fa1f54e8000399576f66a (diff) |
[#842]: upd(listener): set `TCP_DEFER_ACCEPT` to false
[#842]: upd(listener): set `TCP_DEFER_ACCEPT` to false
Diffstat (limited to 'utils/network.go')
-rwxr-xr-x | utils/network.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/network.go b/utils/network.go index 5b451b3c..1961c618 100755 --- a/utils/network.go +++ b/utils/network.go @@ -64,7 +64,7 @@ func CreateListener(address string) (net.Listener, error) { func createTCPListener(addr string) (net.Listener, error) { cfg := tcplisten.Config{ ReusePort: true, - DeferAccept: true, + DeferAccept: false, FastOpen: true, } |