Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66877 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71068 invoked from network); 31 Mar 2013 23:18:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2013 23:18:57 -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.177 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.217.177 mail-lb0-f177.google.com Received: from [209.85.217.177] ([209.85.217.177:56344] helo=mail-lb0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/30-04033-E54C8515 for ; Sun, 31 Mar 2013 18:18:56 -0500 Received: by mail-lb0-f177.google.com with SMTP id r10so1484536lbi.22 for ; Sun, 31 Mar 2013 16:18:52 -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=86MgoHCaW/Qq/49dhSbjnAuIfYH0yBUEi+jsXDSWSQo=; b=GrxN6z8Zi+cJsS+mvX9vc+netCfAjrxbmzhkt9u4mek8apgRZ52blLLHF/qZxj/Ar6 R9pH2BKjkFOfRdQfir/gyL97Sqxx1D9rROUMZKyH5Vv9ASBXX9oFKpCAaLX6FWjyTFjm YIVUIZyx29dflclZVbNC7N7W5Uj6KRkmXVNDpsB87LxDVA7INnblIbVJLDQiWNCFQTMk JIY56wY3YrXMCI/2NLGR4RSgprqBhiYtoJ7EUoDdRDwqNMlxZjmvHVmYhJslH7cbXyMs R4pM0NSWUsS+7N5WZXWXRxTSTz3qWj3B5rJ3VR6U/8zSsPOZDoyDpoJuMHHOLJcel6oY WT3Q== MIME-Version: 1.0 X-Received: by 10.112.7.229 with SMTP id m5mr4394043lba.129.1364771932195; Sun, 31 Mar 2013 16:18:52 -0700 (PDT) Received: by 10.114.38.33 with HTTP; Sun, 31 Mar 2013 16:18:52 -0700 (PDT) In-Reply-To: References: Date: Sun, 31 Mar 2013 16:18:52 -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) 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. -Hannes