lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] HTTPD POST usage help and clarification


From: Mário Luzeiro
Subject: [lwip-users] HTTPD POST usage help and clarification
Date: Fri, 11 Oct 2019 12:04:31 +0000

Hi all,

I'm looking to use POST messages.
I found the lwip/httpd/post_example that I based my implementation.

it works ok so far, but some questions:
- I found in function http_post_rxpbuf the following comment:
"* ATTENTION: The application is responsible for the pbuf now, so don't free 
it!"

Does it mean that httpd_post_receive_data callback should free the pbuff ?
The post_example is not free it.


- I was thinking how does this behave when a POST is uploading data
the function httpd_post_receive_data(void *connection, struct pbuf *p) not sure 
if it tells anything about if all data was received
How should I proceed to implement a progressive handling of data? eg: when a 
file is uploaded.


- Should I have a look on LWIP_HTTPD_POST_MANUAL_WND ?
Is that important for me and how does it work?

Is there ant online source for learning how to use this POST features in LWIP? 
or anyone could clarify me?

Mario Luzeiro


reply via email to

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