Oh! I forgot to include the netbuf_delete( ) function only in my
mail. Sorry my bad. But in my code it is included. And I have the same
As I was looking into the packets being sent back and forth and
noticed that HTTP client receives only first response from HTTP
server(not 2 responses). Following GET request is blocked in the LWIP
netconn_recv() (netconn_recv == NULL) function but the response is sent
(displayed in Wireshark tool). First response data are corrupted.
Corrupted data are located near the concatenation of the 2 packets
received for the response.
--- On Thu, 12/4/08, greencity
December 4, 2008, 3:41 PM
----- Original Message -----
Sent: Thursday, December 04, 2008 3:39 PM
Subject: re:[lwip-users] netconn_recv issue
hi,i can not find that you free the netbuf,it maybe
result in your problem. please insert "netbuf_delete(inbuf);" at last
then try agin.I think maybe has some change.
while( true )
netconn_new( conn );
netconn_write( conn, &command, sizeof( command ),
if( (inBuf =
netconn_recv( conn ) ) != NULL
netconn_close( conn );