lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP configuration large packet size


From: Navcon - Pedro Paulo Santos
Subject: Re: [lwip-users] LWIP configuration large packet size
Date: Thu, 6 May 2010 17:25:37 -0300

Hi,
 
I had the same problem you have now, and suggest you to read my topic here called "lwIP malloc fail". I had to send in a HTTP website a large package (a download).
 
But the first question I would ask you is: do you try to send all the packages inside the tcp_recv callback function? If you do so, the lwIP buffers will not be freed and the memory will lack in a few sent packages. The solution I found is explained in the topic.
 
Regards,
 
Pedro Paulo.
 
----- Original Message -----
Sent: Thursday, May 06, 2010 4:53 AM
Subject: [lwip-users] LWIP configuration large packet size

Hi

 

 

I use LWiP for my project. I run the stack on an embedded board (with blackfin BF527 processor). I use the webserver too. I have created a webpage which is located on my webserver. I would like to use this webpage to show some dynamic data. I couldn’t send some big packets. After two segments, the stack send an acknowledge of the end of transmission.  On my webpage, I get the data with the command xmlhttprequest.

I copy hear the main lines I could see with the sniffer Wireshark

192.168.1.1         192.168.1.11                      HTTP                     GET /polyline_c.xml HTPP/1.1

192.168.1.11      192.168.1.1                        TCP                        TCP segment of reassembled PDU

192.168.1.11      192.168.1.1                        TCP                        TCP segment of reassembled PDU

192.168.1.1         192.168.1.11                      TCP                        vaultbase > http [ACK] seq=444 Ack=1111 win =64425 len=0

192.168.1.11      192.168.1.1                        TCP                        http> vaultbase [FIN,ACK] Seq=1111 ack=444 Win=8192 Len=0

….

 

I configured the TCP IP stack to accept the large packet size (file lwipopts.h), but this change nothing. After the transmission of two segments, the transmission is closed.

 

I attached the file of trace and the file of the Stack configuration.

Thanks for your help.

 

Best regards.       

 

 

 

Antoine Damon

DSP Software Designer

Tel: +33.2.4360.0044

Fax: +33.2.4360.2870

FAURE HERMAN

 

* * * * * * * * * * * * *

This e-mail is intended solely for the intended recipient or recipients. If this e-mail is addressed to you in error or you otherwise receive this e-mail in error, please advise the sender, do not read, print, forward or save this e-mail, and promptly delete and destroy all copies of this e-mail.

This email may contain information that is confidential, proprietary or secret and should be treated as confidential by all recipients. This e-mail may also be a confidential attorney-client communication, contain attorney work product, or otherwise be privileged and exempt from disclosure. If there is a confidentiality or non-disclosure agreement or protective order covering any information contained in this e-mail, such information shall be treated as confidential and subject to restriction on disclosure and use in accordance with such agreement or order, and this notice shall constitute identification, labeling or marking of such information as confidential, proprietary or secret in accordance with such agreement or order.

The term 'this e-mail' includes any and all attachments.

* * * * * * * * * * * * *

 


_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


__________ Informação do ESET NOD32 Antivirus, versão da vacina 4628 (20091122) __________

A mensagem foi verificada pelo ESET NOD32 Antivirus.

http://www.eset.com

reply via email to

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