Disable keepalive timer on listening socket.

git-svn-id: svn://kolibrios.org@2880 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2012-07-17 22:53:05 +00:00
parent 3c7b5955e3
commit ca262f8c90

View File

@ -605,6 +605,7 @@ SOCKET_listen:
mov [eax + SOCKET.backlog], dx mov [eax + SOCKET.backlog], dx
or [eax + SOCKET.options], SO_ACCEPTCON or [eax + SOCKET.options], SO_ACCEPTCON
mov [eax + TCP_SOCKET.t_state], TCPS_LISTEN mov [eax + TCP_SOCKET.t_state], TCPS_LISTEN
mov [eax + TCP_SOCKET.timer_keepalive], 0 ; disable keepalive timer
push eax push eax
init_queue (eax + SOCKET_QUEUE_LOCATION) ; Set up sockets queue init_queue (eax + SOCKET_QUEUE_LOCATION) ; Set up sockets queue