lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] http server: receiving more than one packet


From: Bernhard 'Gustl' Bauer
Subject: Re: [lwip-users] http server: receiving more than one packet
Date: Fri, 29 Jan 2010 09:51:28 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Mike Kleshov schrieb:
sometimes a http transfer uses several packets. So I must know when the last
packet is received to start answering. So far I search 'Content-Length' in
the 1st packet and subtract the length of each packet. This causes problems
if the string is not in the 1st packet, or the transmission is terminated
from the remote side.

Those are only some of the problems this can cause. It is perfectly
legal for the web server to send data 1-byte-per-packet. You have to
be prepared for that if you want to be a well-behaved network node.


I wrote a code that should cope with small packets. Now I like to test it. I need a tool that let me adjust the packet size that is sent from browser to LWIP. Does anybody know such a tool?

TIA

Gustl




reply via email to

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