lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Post messages with the httpd.c example


From: Trampas Stern
Subject: Re: [lwip-users] Post messages with the httpd.c example
Date: Tue, 4 Feb 2020 07:40:42 -0500

The post parsing in the http code has couple problems.  Most of the time it will not cause issues.

First it assume the first packet includes the entire POST header.  With small MTU size this might not happen. 
Second it adds a null terminator at the end of the POST header before calling httpd_post_begin().  This is a minor issue and might be considered a design intent. 

Trampas



On Tue, Feb 4, 2020 at 5:49 AM vysocan <address@hidden> wrote:
My observation is that httpd_post_receive_data is called for each received
packet until content_len for this connection is reached. Then the
httpd_post_finished is called for application to finalize.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

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

reply via email to

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