From ca262f8c906b1bcdf78e46d73627f1f7f33b0e6f Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Tue, 17 Jul 2012 22:53:05 +0000 Subject: [PATCH] Disable keepalive timer on listening socket. git-svn-id: svn://kolibrios.org@2880 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/network/socket.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/branches/net/network/socket.inc b/kernel/branches/net/network/socket.inc index ab2add9839..9bf2364ce8 100644 --- a/kernel/branches/net/network/socket.inc +++ b/kernel/branches/net/network/socket.inc @@ -605,6 +605,7 @@ SOCKET_listen: mov [eax + SOCKET.backlog], dx or [eax + SOCKET.options], SO_ACCEPTCON mov [eax + TCP_SOCKET.t_state], TCPS_LISTEN + mov [eax + TCP_SOCKET.timer_keepalive], 0 ; disable keepalive timer push eax init_queue (eax + SOCKET_QUEUE_LOCATION) ; Set up sockets queue