Re: How to reset/unset cURL options?
Michael Dowling <[email protected]> Mon, 4 Apr 2011 19:51:50 -0500
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <[email protected]> |
You've inspired me. I haven't coded in C in a while and this is my first patch for PHP, but here it is: http://bugs.php.net/patch-display.php?bug_id=54022&patch=curl_reset&revision=latest -Michael On Mon, Apr 4, 2011 at 3:02 PM, Daniel Stenberg <[email protected]> wrote: > On Mon, 4 Apr 2011, Matthias wrote: > >> The problem with php-curl is, that it is absolute not up to date. cUrl >> 7.12.1 was released in Aug 2004, and nobody of the php developers has >> implemented the new functions and options (except for a few). There are many >> other examples.. CURLOPT_QUOTE and CURLOPT_POSTQUOTE are defined, >> CURLOPT_PREQUOTE not... and so on.. >> >> Some more years waiting time and fiddle about :D > > There's no need for anyone to wait. Just fix the problems and send the guys > a patch. That's what open source is about! > > Heck, I found a missing option yesterday. I wrote up a patch in 10 minutes > and wham, 30 minutes later that code was committed to the PHP source tree > and now we can use CURLINFO_REDIRECT_URL in the next PHP release... > > -- > > / daniel.haxx.se > _______________________________________________ > http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php > _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php