lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #26069] Connect to a remote IP address which is not pr


From: Rikke Ottesen
Subject: [lwip-devel] [bug #26069] Connect to a remote IP address which is not present makes the APP hang
Date: Fri, 03 Apr 2009 08:52:04 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

Follow-up Comment #8, bug #26069 (project lwip):

Yes, but the problem is that the pcb->state is SYN_SENT, and this is not
checked.
I have added some code to make that check

    if (pcb->state == SYN_SENT) {
      if ((u32_t)(tcp_ticks - pcb->tmr) > 10) {
        ++pcb_remove;
        LWIP_DEBUGF(TCP_DEBUG, ("tcp_slowtmr: removing pcb stuck in
SYN_SENTn"));
      }
    }

Otherwise it will never go into the
/* If the PCB should be removed, do it. */ 
and call 
 TCP_EVENT_ERR(pcb->errf, pcb->callback_arg, ERR_ABRT); 

That is the main problem.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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