cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Sleeping before Multiperform returns a magic number

From: Michael Wood <esiotrot_at_gmail.com>
Date: Wed, 15 Jul 2009 17:17:56 +0200

2009/7/15 <centrio_at_gmail.com>:
> Hi,
> 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,
> 1448,1448,1448,1448,1448,1448....
>
> I want to know what's this '1448' magic number.
> please help.

Might it be related to the ethernet MTU (1500)?

-- 
Michael Wood <esiotrot_at_gmail.com>
Received on 2009-07-15