Re: [PATCH] cURL limiting upload/download speed

From: Date: Fri, 16 Mar 2007 14:31:02 +0000
Subject: Re: [PATCH] cURL limiting upload/download speed
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-28371@lists.php.net to get a copy of this message
Hi Tijnema, The mailing lists strips attachment that don't have a correct mime-type. Could you post your patch somewhere and send the link to the list? Does this patch require specific cURL version? Edin Tijnema ! wrote: > Hi, > > I've written a small patch so that PHP supports limiting > upload/download speed when using cURL. > The patch is based on PHP-5.2.1, but works also on PHP6 from CVS(Only > differs in offset a little bit) . > What the patch does is adding 2 extra constants for the curl_setopt() > function. The new constants are: > CURLOPT_MAX_SEND_SPEED_LARGE and CURLOPT_MAX_RECV_SPEED_LARGE > So these must also be added to the manual if you are going to > implement this patch. > > Kind Regards, > > Tijnema >

« previous php.internals (#28371) next »