Hi, Guys,

Hope I can get this issue solved at here. The version is the latest 1.4.1.

lwip is used inside iOS extension to receive IP packets. and then use
socket API to get TCP content and then send the data out.

The usages is not complex, netif_set_default/netif_set_up to setup and
lwip_accept/lwip_send etc for data send and receive.

the simple http connection works well and the request and response all
works.

but, when too many connections made - eg. 10-20 http connections. the lwip
will crash.

all the time it will crash at do_writemore()

most time at this assert line:

LWIP_ASSERT("conn->write_offset < conn->current_msg->msg.w.len",

conn->write_offset < conn->current_msg->msg.w.len);

and some time also at

LWIP_ASSERT("conn->pcb.tcp != NULL", conn->pcb.tcp != NULL);

all the settings are default (like #define MEM_SIZE 1048576)

is this issue caused by limitation of resource usage in extension?

or what information need for proceed solve this issue?

-- 
*This email may contain or reference confidential information and is 
intended only for the individual to whom it is addressed.  Please refrain 
from distributing, disclosing or copying this email and the information 
contained within unless you are the intended recipient.  If you received 
this email in error, please notify us at [email protected] 
<[email protected]>** immediately and remove it from your system.*
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to