mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-21 11:30:01 +00:00
test for retransmitted segment
This commit is contained in:
1 parent
320da5e84c
commit
ac40673a9e
3 files changed
+49
-11
No files matched your search
+1
-1
@@ -600,7 +600,7 @@ static void read_conn(struct mg_connection *c, struct pkt *pkt) {
|
||||
MG_DEBUG(("%lu SEQ %x -> %x", c->id, mg_htonl(pkt->tcp->seq), s->ack));
|
||||
// Advance ACK counter
|
||||
s->ack = (uint32_t) (mg_htonl(pkt->tcp->seq) + pkt->pay.len);
|
||||
#ifdef MIP_TEST
|
||||
#if 0
|
||||
// Send ACK immediately
|
||||
uint32_t rem_ip;
|
||||
memcpy(&rem_ip, c->rem.ip, sizeof(uint32_t));
|
||||
|
||||
Reference in new issue
Block a user