Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66898 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19750 invoked from network); 3 Apr 2013 05:56:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Apr 2013 05:56:37 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.172 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.217.172 mail-lb0-f172.google.com Received: from [209.85.217.172] ([209.85.217.172:60359] helo=mail-lb0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BF/C7-07534-494CB515 for ; Wed, 03 Apr 2013 00:56:36 -0500 Received: by mail-lb0-f172.google.com with SMTP id u10so1223239lbi.17 for ; Tue, 02 Apr 2013 22:56:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=nemtEiaXRlEU9wW0CnmED4wdOxs+tbby0alweVZv1Tk=; b=HG43625IN1urIWZs08R7tk/fixa6D2VSV/C2WwSXdzxw1tmOiXcqJyPjKmmjWBdGup 8qVHSLm/fLJYAqMqOV0q9xTbYogmrQ0MlmMsGG3DnQq3onPXivsmedivXOJiLMO1nBqd 7HTMTmnzybsd1RXSAMqY/0Tc0gobGgQoTzRrIPxmvIcEjilkuUPXS51hWQsdApgxy2g9 O+/IPbVysxuy04FY+BdPHRsf6/O4kgPGQhvb8xffYAi6q5HqexxeacD0Syp9RXfjKSgX E3GOEZf15ibPW4alkDGQD7bsay4EnTGTkEI4aKz/wIJei3gK9Og83i5Y+C256Wy2gB5Y icnA== MIME-Version: 1.0 X-Received: by 10.112.137.74 with SMTP id qg10mr364027lbb.72.1364968592803; Tue, 02 Apr 2013 22:56:32 -0700 (PDT) Received: by 10.114.38.33 with HTTP; Tue, 2 Apr 2013 22:56:32 -0700 (PDT) In-Reply-To: References: Date: Tue, 2 Apr 2013 22:56:32 -0700 Message-ID: To: Laruence Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers From: hannes.magnusson@gmail.com (Hannes Magnusson) Wait wait wait. You are introducing a constant that is going to be available as of 5.4.15 to 5.4.2x and then removed (as it looks like we are agreeing)? People have been living without this constant forever now so people have their workarounds in place and no need to complicate their code to for the existence of this constant which is only available for few bugfix releases anyway? -Hannes On Tue, Apr 2, 2013 at 7:19 PM, Laruence wrote: > Added new constant CURL_WRAPPERS_ENABLE in (include 5.4) > https://github.com/php/php-src/commit/d7f709a032a40cb475042b43db07a4698a2488b7 > > thanks > > > On Mon, Apr 1, 2013 at 9:53 PM, Laruence wrote: >> >> >> >> >> On Mon, Apr 1, 2013 at 7:18 AM, Hannes Magnusson >> wrote: >>> >>> On Sun, Mar 31, 2013 at 6:25 AM, Laruence 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. >> >> >> Hey: >> >> remove is also okey for me, but, I think it probably can only happen in >> 5.6 >> >> before that, I think a flag to 5.4+ is a good choice :) >> >> thanks >>> >>> >>> -Hannes >> >> >> >> >> -- >> Laruence Xinchen Hui >> http://www.laruence.com/ > > > > > -- > Laruence Xinchen Hui > http://www.laruence.com/