David Empson schrieb:
"Bernhard 'Gustl' Bauer" <[email protected]> wrote:
I tried to connect to my LWIP http server via proxy. I send POST packets
with a query string in the body. After the proxy HEAD and BODY are in
two separate packets. It look like there is only the HEAD in pbuf of
http_recv. Any idea what I can do about this?
Probably nothing. It is likely to be a characteristic of the way that
proxy server is implemented. I expect it delays sending the body for
long enough that the body ends up travelling in a separate packet from
the header.
Is your concern related to network throughput issues, buffer usage
issues in LWIP, or your application expecting to receive a complete HTTP
request in a single packet? The last of these is a bad assumption to
make for any protocol based on TCP/IP.
http_recv is called with a 'struct pbuf'. I expect HEAD and BODY to be
in payload of pbuf. I thought this would be done when IP_REASSEMBLY is
set to 1.
Gustl
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users