[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #31469] Repetitive lwip_send() calls causes bad behavi
From: |
Ben |
Subject: |
[lwip-devel] [bug #31469] Repetitive lwip_send() calls causes bad behaviour |
Date: |
Tue, 26 Oct 2010 15:59:13 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0) |
URL:
<http://savannah.nongnu.org/bugs/?31469>
Summary: Repetitive lwip_send() calls causes bad behaviour
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: bendov
Submitted on: Tue Oct 26 15:59:12 2010
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:
I'm running lwip 1.3.0 on xilkernel 4.0.
Using lwip_send function in a server application, the following code:
char* str = "something\r\n";
int len = strlen(str);
while (true)
{
lwip_send(sd, str, len, 0);
}
is excecuted once a connection to the server is established.
The result is:
1. Only one message ("something\r\n") received on the client.
2. after unknown number of sends the lwip_send function does not return.
after debugging i've found that it is stuck in tcpip_apimsg_lock() (tcpip.c)
and to be more specific in LOCK_TCPIP_CORE().
Any help regarding this issue will be appreciated.
Ben.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?31469>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #31469] Repetitive lwip_send() calls causes bad behaviour,
Ben <=