forked from KolibriOS/kolibrios
Disable keepalive timer on listening socket.
git-svn-id: svn://kolibrios.org@2880 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3c7b5955e3
commit
ca262f8c90
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user