Re: Sleeping before Multiperform returns a magic number
Date: Wed, 15 Jul 2009 11:25:28 -0400
2009/7/15 Michael Wood <esiotrot_at_gmail.com>:
> 2009/7/15 <centrio_at_gmail.com>:
>> My application, after it connects to 'http URL' successfully, sleeps for
>> 60sec before i do a first multiperform.
>> During this time, server will be pushing data continuosly which might exceed
>> curl's CURL_MAX_WRITE_SIZE(16384)bytes.
>> When i do multipeform (in a while(1) loop ) after this 60sec interval, i see
>> curl returns bytes in this order : 16384, 16384,
>> I want to know what's this '1448' magic number.
>> please help.
> Might it be related to the ethernet MTU (1500)?
I did a quick google of "1448 bytes", and it does seem to be a rather
common number of bytes returned in this type of situation, so I am
pretty sure it is the MTU less headers...
Received on 2009-07-15