Re: cvs: php4 / NEWS
| From: | Sterling Hughes | Date: | Mon, 30 Apr 2001 03:33:19 +0000 |
| Subject: | Re: cvs: php4 / NEWS | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-5400@lists.php.net to get a copy of this message | ||
On Mon, 30 Apr 2001, Andi Gutmans wrote:
> >+- Added the ability to handle user-defined callbacks with cURL, support
> >now for
> >+ the CURLOPT_WRITEFUNCTION, CURLOPT_PASSWDFUNCTION,
> >CURLOPT_READFUNCTION, and
> >+ the CURLOPT_HEADERFUNCTION callbacks. (Sterling)
>
> Shouldn't those be WRITE_FUNCTION, PASSWD_FUNCTION and so on? It's more
> readable. Also I don't think you need to spell out the whole API in the
> NEWS. The first part of the sentence is enough :)
>
> >+- Added the CURLOPT_SSL_VERIFYPEER, CURLOPT_CAINFO, CURLOPT_MAXREDIRS,
> >+ CURLOPT_FILETIME (and therefore CURLINFO_FILETIME), CURLOPT_RANDOM_FILE,
> >+ CURLOPT_EGDSOCKET and CURLOPT_CONNECTTIMEOUT options to curl_setopt().
> >+ (Sterling)
>
> I'd also change the naming convention to be similar as what I mentioned
> above and again, you don't have to spell out all new constants :)
>
Changes applied...
> >+- Added support for persistent connections with cURL. (Sterling)
>
> Just curious. What is a cURL persistent connection? For example a
> persistent connection to a URL? Does it Cache the data?
>
Its a implemented via a connection cache, persistant connection to a url.
Its mainly a cURL thing, its a new feature which has cURL re-use
connections and sockets to speed things up considerably. All I had to do
was add the constants... :)
> >+- Fixed a problem in cURL with file descriptors being allocated, but never
> >+ closed. (Sterling)
> > - Fixed interactive mode (-a). It works again with the same limitations it
> > has always had (Andi, Zend Engine)
> > - Improved memory manager to use less memory and provide better memory
> > overflow
>
> Next time don't ask us to speak :)
>
;)