Re: About TCP segment

From: Arun Desai (adesai@cisco.com)
Date: Wed Aug 09 2000 - 14:33:33 MDT


In general, portions of an HTTP request can be transmitted
over separate TCP packets if an application (in this case,
polygraph) sets the TCP_NODELAY option on the socket, and
if it writes portions of the HTTP request using multiple
calls to write() to the socket.

Maybe Polygraph can be enhanced to provide a configurable
request-chunk-size setting.

Arun R. Desai

At 05:32 AM 8/9/00 , Alex Rousskov wrote:
>Sanjay,
>
> Polygraph does not know anything about TCP packets. You may be
>able to achieve your goal by using tools external to Polygraph. I would
>suggest experimenting with socket buffer sizes and dummynet. Dummynet is
>a FreeBSD-specific tool, but similar packages are available for Linux
>(NISTnet) and probably other OSes.
>
> Note that HTTP requests are usually relatively small (300 bytes
>or less) so dividing them into packets would require really small
>packet sizes.
>
>Alex.
>
>On Wed, 9 Aug 2000, sanjay kumar wrote:
>
>> Hi,
>>
>> If HTTP request packet is large, then TCP stack
>> divides the HTTP packet into two or more TCP segement.
>> Is there any mechanism provided by the PolyGraph, so
>> that we can force it to divide the HTTP request (going
>> from the PloyGraph)into some fixed length TCP segment.
>> Similarly, for the HTTP response messages.
>>
>> Thanks and Regards
>> Sanjay Ara
>
>



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:14 MDT