|
From: | David Empson |
Subject: | Re: [lwip-users] http server and proxy |
Date: | Tue, 10 Mar 2009 10:51:10 +1300 |
"Bernhard 'Gustl' Bauer" <address@hidden> wrote:
I tried to connect to my LWIP http server via proxy. I send POST packetswith 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.
[Prev in Thread] | Current Thread | [Next in Thread] |