I'm using lwip 2.0.3 with httpd and when submitting one of my webpage forms 
(using "type="submit"") the web browser complains lwip/httpd didn't send any 
data. 
Upon further investigation, the issue is in httpd.c:
#if LWIP_HTTPD_SUPPORT_REQUESTLIST  clen = pbuf_clen(hs->req);  if 
((hs->req->tot_len <= LWIP_HTTPD_REQ_BUFSIZE) &&    (clen <= 
LWIP_HTTPD_REQ_QUEUELEN)) {

hs->req->tot_len is longer than LWIP_HTTPD_REQ_BUFSIZE, which is 1023 because 
of:

 #define LWIP_HTTPD_MAX_REQ_LENGTH           LWIP_MIN(1023, 
(LWIP_HTTPD_REQ_QUEUELEN * PBUF_POOL_BUFSIZE))


I tried increasing LWIP_HTTPD_MAX_REQ_LENGTH  to a higher value, but it caused 
an exception. What is the proper way to deal with this? 
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to