Re: Add a constant to reflect --with-curlwrappers

From: Date: Sun, 31 Mar 2013 23:18:52 +0000
Subject: Re: Add a constant to reflect --with-curlwrappers
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-66877@lists.php.net to get a copy of this message
On Sun, Mar 31, 2013 at 6:25 AM, Laruence <laruence@php.net> wrote: > Hey: > > there are some issues when people run some codes in a php which is > compiled with --with-curlwrappers, like #61336, or the recently test script > for #64433 (failed when curl wrappers enabled). > > I know, that the curl wrapper should act the same as php http wrapper, > but for now, we need to provide the ability to user, that they can warn if > they codes can not run with curl wrappers.. > > here are some really usages: > https://github.com/UnionOfRAD/lithium/issues/59 and > http://weizhifeng.net/wrong-with-curlwrappers.html > > I propose to add a constant : bool CURL_WRAPPERS_ENABLE The curl wrappers have always been a major pain, with plenty of bugs and we tend to forget to add context options there to match the standard wrapper on new feature. It has been marked as experimental since forever, and I think its time to face the failed experiment and remove it. -Hannes

« previous php.internals (#66877) next »