forked from KolibriOS/kolibrios
* slow work in TCP resending fixed
* TCP resend timeout increased to slightly more realistic value git-svn-id: svn://kolibrios.org@1183 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a5563b0c1a
commit
27b928368a
@ -42,7 +42,7 @@ TH_URG = 0x20
|
|||||||
TWOMSL equ 10 ; # of secs to wait before closing socket
|
TWOMSL equ 10 ; # of secs to wait before closing socket
|
||||||
|
|
||||||
TCP_RETRIES equ 5 ; Number of times to resend a packet
|
TCP_RETRIES equ 5 ; Number of times to resend a packet
|
||||||
TCP_TIMEOUT equ 10 ; resend if not replied to in x hs
|
TCP_TIMEOUT equ 20 ; resend if not replied to in x hs
|
||||||
|
|
||||||
;*******************************************************************
|
;*******************************************************************
|
||||||
; Interface
|
; Interface
|
||||||
@ -228,9 +228,8 @@ proc tcp_tx_handler stdcall
|
|||||||
mov edi, eax
|
mov edi, eax
|
||||||
pop ecx
|
pop ecx
|
||||||
; Now get buffer location, and copy buffer across. argh! more copying,,
|
; Now get buffer location, and copy buffer across. argh! more copying,,
|
||||||
mov esi, resendBuffer
|
imul esi, ecx, IPBUFFSIZE
|
||||||
@@: add esi, IPBUFFSIZE
|
add esi, resendBuffer
|
||||||
loop @b
|
|
||||||
|
|
||||||
; we have resend buffer location in esi
|
; we have resend buffer location in esi
|
||||||
mov ecx, IPBUFFSIZE
|
mov ecx, IPBUFFSIZE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user