88,7 → 88,7 |
; If FIN has been set, but not ACKed, but we havent been called to retransmit, esi will be -1 |
; Otherwise, window shrank after we sent into it. |
|
jnc .bigger_than_zero |
jns .not_negative |
|
; enter persist state |
xor esi, esi |
108,7 → 108,7 |
|
; If window didn't close completely, just wait for an ACK |
|
.bigger_than_zero: |
.not_negative: |
|
;--------------------------- |
; Send one segment at a time (124) |
129,10 → 129,8 |
add edi, esi |
sub edi, [eax + TCP_SOCKET.SND_UNA] |
sub edi, [eax + STREAM_SOCKET.snd + RING_BUFFER.size] |
jns @f |
|
cmp edi, 0 |
jge @f |
|
and dl, not (TH_FIN) |
|
@@: |