lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #45161] tcp.c / tcp_abandon / pcb->local_port set to z


From: Dipl. Ing. Bernhard Weber
Subject: [lwip-devel] [bug #45161] tcp.c / tcp_abandon / pcb->local_port set to zero but needed later for tcp_rst
Date: Thu, 21 May 2015 12:36:18 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

Follow-up Comment #2, bug #45161 (project lwip):

the call stack is:
my software -> tcp_abort -> tcp_abandon -> tcp_rst

snipnet from tcp.c / void tcp_abandon(struct tcp_pcb *pcb, int reset)

if (send_rst) {
   LWIP_DEBUGF(TCP_RST_DEBUG, ("tcp_abandon: sending RSTn"));
   tcp_rst(seqno, ackno, &pcb->local_ip, &pcb->remote_ip, pcb->local_port,
pcb->remote_port);
 }

The reason for calling this sequence ist another big problem, but i cannot
track it down to generate a good description.
It feels like: send big data chunks to a win7 x64 pc, 64k window and no data
is commited for at least 700ms -> calling tcp_abort (see above), wait for
reconnect from pc (7-10 ms later with valid local port number, duration
without valid local port: 200-1000ms) and resend all data to pc.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?45161>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]