Re: Streams: FTP/HTTP wrapper gurus wanted

From: Date: Sun, 11 Aug 2002 14:41:40 +0000
Subject: Re: Streams: FTP/HTTP wrapper gurus wanted
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-86717@lists.php.net to get a copy of this message
Hi Sterling, I'm not sure :-) I'm 50/50 on integrating curl, because I know that it supports more features than the current wrappers, but I'm not sure if it supports a rich enough API to do the things that the streams API supports. So, I need your opinion: Does libcurl allow you to have progress notification callbacks, so that scripts/extensions can act on notifications such as mime type, file size, and overall progress? (I know it can print out a progress bar, but we need something a little bit more useful than that :-) Can we wrap a curl handle up into a stream without too much trouble? Is libcurl thread-safe? The other stuff should be relatively easy (like HEAD requests and so on), but if those two things look too hard, I'd be tempted to spend the effort on improving the streams code instead of trying to force libcurl to fit into streams. Last time I looked, I didn't like the look of libcurl, but it's been a while, so things might be better now. Opinions please! :-) --Wez. On 08/11/02, "Sterling Hughes" <sterling@bumblebury.com> wrote: > Wez, > > This seems like an ideal time to me to start working on the bundling of > cURL into PHP, no?

« previous php.dev (#86717) next »