Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66878 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95219 invoked from network); 1 Apr 2013 08:17:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2013 08:17:33 -0000 Authentication-Results: pb1.pair.com header.from=dor.tchizik@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dor.tchizik@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.178 as permitted sender) X-PHP-List-Original-Sender: dor.tchizik@gmail.com X-Host-Fingerprint: 209.85.214.178 mail-ob0-f178.google.com Received: from [209.85.214.178] ([209.85.214.178:45041] helo=mail-ob0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/61-22002-B9249515 for ; Mon, 01 Apr 2013 03:17:31 -0500 Received: by mail-ob0-f178.google.com with SMTP id wd20so1688202obb.37 for ; Mon, 01 Apr 2013 01:17:28 -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=1yapQ97UCahEx7fJPYdE4hjwDP2VIBePPCf6e6ks0fM=; b=eh+pe9hLGxOpgJzPk38msoQiSi7sW/RvqGgZDgLyNluvzJK11DKi5yV6SWeQv1dOds cYhvIH2eO4Zx6aPTA0IDKWXw8FG7UbMGZmdu8YagaOFhcg2pYXJCYFDc9rqXeZyKLzkd gfchvAb4vehcVjFj3gq8QHSWiTYUQ7OrgDgDsDGujjtoFWIgCwJECpv9EH47l0v80f2M SpJI4cFTvXpB0WZjok/sEf9QvFoeCcTaaWFxXZb0ups2J3im+iTH6nJKdEQO78MQlhp4 PNoLLwvTdKLf9/FTcqiWxDvFSkRPRhruvH8KshXrHZTKHMmZxA/IJln1nS1OdFgN2/IW 8csA== MIME-Version: 1.0 X-Received: by 10.182.96.136 with SMTP id ds8mr3781377obb.22.1364804248826; Mon, 01 Apr 2013 01:17:28 -0700 (PDT) Received: by 10.182.128.69 with HTTP; Mon, 1 Apr 2013 01:17:28 -0700 (PDT) In-Reply-To: References: Date: Mon, 1 Apr 2013 11:17:28 +0300 Message-ID: To: Hannes Magnusson Cc: Laruence , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers From: dor.tchizik@gmail.com (Madara Uchiha) I actually agree with that. I've reached a point when I consider using fsockopen instead of curl to fetch information from a website. I can hardly stand cURL. There should be a decent OOP based wrapper for making HTTP requests to handle it decently. Meanwhile, I agree that cURL needs to go. On Mon, Apr 1, 2013 at 2: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. > > -Hannes > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >