Re: Work is beginning on cURL and PHP again

From: Date: Tue, 22 Oct 2002 12:27:28 +0000
Subject: Re: Work is beginning on cURL and PHP again
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-89917@lists.php.net to get a copy of this message
Anyway if you get bored :) - I've been hacking away at Andrei's generator from php-gtk, the file is at http://docs.akbkhome.com/PHP_CGenerator.tgz php h2def.php /usr/include/curl/curl.h /usr/include/curl/multi.h /usr/include/curl/easy.h will generate a defs file from the header files php CGenerator.php Test/curl.defs will generate the C code from the defs file. I've not done that much to the generator, other than re-orgainized it, and made the Arg types and C code into template files. It really needs support for resources adding to be able to do curl properly.. Regards Alan Sterling Hughes wrote:
On Tue, 2002-10-22 at 01:38, Alan Knowles wrote:
Non blocking connections would be nice... - On the generating stuff - why do you want to generate the code on the users system? - all the re2c stuff in CVS is 'pre-genereated' It would be nice to have extension generator that could be built upon, that didnt involve re-reading all those perl/awk manuals, just to add features to it. :) Any idea if finding 'generic' bits in the php-gtk generator is possible?
Well, the reason for the generator, is it will build an extension that mimics the current version of cURL installed which will allow the cURL extension to support multiple versions of the library without a lot of maintanence and stuff :) -Sterling
Regards Alan Sterling Hughes wrote:
Hi, I'm going to be working on updating the PHP cURL extension in the coming weeks: * adding the multi-interface. * ssl session id caching (globally) * global dns cache in threaded webservers (same for ssl sesssion id caching) * allowing cURL handle re-use. * allowing "persistent" cURL handles that survive the request, for HTTP 1.1 persistent connections * Autogenerating much of the interface between cURL and PHP, allowing PHP to support multiple versions of the underlying cURL library * Supporting all cURL options/callbacks in one way or another * Adding a OOP interface to cURL, on the extension level... [undecided] * Updating the cURL documentation So, I'm sending this message, to the lists just to get any suggestions, comments, feature requests, bug reports that you would like me to look at/consider when revamping the extension. The changes will be done step by step to the extension, but the full revamping should be expected around the time of PHP 5 (PHP 4.3 is too soon for all these changes to be integrated and tested). -Sterling PS: I'll be at the PHP Conference in Frankfurt, and ApacheCon in Las Vegas, if you're coming to either of those, feel free to talk about it with me there as well...
     


« previous php.dev (#89917) next »