lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #27117] tcp_listen_with_backlog


From: Chris N. Strahm
Subject: [lwip-devel] [bug #27117] tcp_listen_with_backlog
Date: Mon, 27 Jul 2009 10:52:55 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Avant Browser; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

URL:
  <http://savannah.nongnu.org/bugs/?27117>

                 Summary: tcp_listen_with_backlog
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: cstrahm
            Submitted on: Mon 27 Jul 2009 10:52:52 AM GMT
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.3.0

    _______________________________________________________

Details:


#define TCP_LISTEN_BACKLOG 1

Connection count is never decremented, backlog builds up, and TCP dies. 

> It seems like closing never decrements the backlog count.
> Something like that.  Is the way it should work?

No. When you accept a connection it should decrement the backlog count, but I
can't see anywhere in the code where this is done - looks like you've found a
bug.  Could you file a bug on savannah, and for now use the workaround of not
specifying TCP_LISTEN_BACKLOG

Kieran






    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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