[PATCH] cURL limiting upload/download speed

From: Date: Fri, 16 Mar 2007 14:27:35 +0000
Subject: [PATCH] cURL limiting upload/download speed
Groups: php.internals 
Request: Send a blank email to internals+get-28370@lists.php.net to get a copy of this message
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 (#28370) next »