[lwip-users] lwip processing of posts

2014-10-14 Thread Becker Markus
Hi, I am currently implementing a proxy between HTTP and another protocol using a different library. So far the proxying works pretty well for GETs. I am now implementing proxying of POSTs as well. The POSTs will _not_ be multipart/form-data or application/x-www-form-urlencoded. So then MHD_create

Re: [lwip-users] pbuf leak for HTTP POST

2014-09-25 Thread Becker Markus
> Becker Markus wrote: > > we've had a pbuf leak of the PBUF_POOL when using the httpserver_raw > > [..] > > > > Our fix was in > > [..] > > to add > > pbuf_free(*inp); > > just before just before line 1479 > > *inp = NULL; > > S

[lwip-users] pbuf leak for HTTP POST

2014-09-25 Thread Becker Markus
Hi, we've had a pbuf leak of the PBUF_POOL when using the httpserver_raw from lwip-contrib.git at the processing of HTTP POSTs, which led to the complete stack becoming unresponsive. Our fix was in http_post_request(struct pbuf **inp, struct http_state *hs, char *data, u16_t data_len, char *uri,