[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #46685] pcb->accepts_pending is not decreased
From: |
PIPON |
Subject: |
[lwip-devel] [bug #46685] pcb->accepts_pending is not decreased |
Date: |
Tue, 15 Dec 2015 10:48:12 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 |
URL:
<http://savannah.nongnu.org/bugs/?46685>
Summary: pcb->accepts_pending is not decreased
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: harvey
Submitted on: mar. 15 déc. 2015 10:48:11 GMT
Category: None
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.2
_______________________________________________________
Details:
Hello,
I'm new to this group.
Here is my problem .
I use a ftp server: to avoid multiple connection that causes a memory overflow
I activated *TCP_LISTEN_BACKLOG* with TCP_DEFAULT_LISTEN_BACKLOG 6
I connect with winSCP to my ftp server on port 21 ( I'm not in passive mode )
The connection failed and retries are performed
For each retry pcb->accepts_pending is increased up to pcb->backlog
The problem is that it's never decreased : so when I want to make a correct
ftp connexion in passive mode , the connection fails.
At start
Active PCB states:
Local port 23, foreign port 52064 snd_nxt 6934 rcv_nxt
1755408404 State: ESTABLISHED
Listen PCB states:
Local port 21, foreign port 10 snd_nxt 0 rcv_nxt 3452816845
State: LISTEN
Local port 23, foreign port 20 snd_nxt 0 rcv_nxt 3452816845
State: LISTEN
After retries:
Active PCB states:
Local port 23, foreign port 52064 snd_nxt 7238 rcv_nxt
1755408410 State: ESTABLISHED
Local port 21, foreign port 52115 snd_nxt 7824 rcv_nxt
3257071051 State: ESTABLISHED
Local port 21, foreign port 52104 snd_nxt 7433 rcv_nxt
1725182136 State: CLOSE_WAIT
Local port 21, foreign port 52088 snd_nxt 7149 rcv_nxt
4173042710 State: CLOSE_WAIT
Local port 21, foreign port 52077 snd_nxt 6959 rcv_nxt
1606482214 State: CLOSE_WAIT
Local port 21, foreign port 52069 snd_nxt 6881 rcv_nxt
2499358084 State: CLOSE_WAIT
Listen PCB states:
Local port 21, foreign port 1290 snd_nxt 0 rcv_nxt 3452816845
State: LISTEN
Local port 23, foreign port 20 snd_nxt 0 rcv_nxt 3452816845
State: LISTEN
After a while:
Active PCB states:
Local port 23, foreign port 52064 snd_nxt 7970 rcv_nxt 1755408416 State:
ESTABLISHED
Listen PCB states:
Local port 21, foreign port 1290 snd_nxt 0 rcv_nxt 3452816845 State: LISTEN
Local port 23, foreign port 20 snd_nxt 0 rcv_nxt 3452816845 State: LISTEN
pcb->accepts_pending = 5 !!!!
I think it's not a correct behaviour...
Is there a solution ?
Regards
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?46685>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #46685] pcb->accepts_pending is not decreased,
PIPON <=