lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] http server and proxy


From: Bernhard 'Gustl' Bauer
Subject: Re: [lwip-users] http server and proxy
Date: Tue, 10 Mar 2009 08:25:45 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

David Empson schrieb:
"Bernhard 'Gustl' Bauer" <address@hidden> 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





reply via email to

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