Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82386 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30250 invoked from network); 10 Feb 2015 16:32:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Feb 2015 16:32:22 -0000 Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.179 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.212.179 mail-wi0-f179.google.com Received: from [209.85.212.179] ([209.85.212.179:46205] helo=mail-wi0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/6D-47508-5923AD45 for ; Tue, 10 Feb 2015 11:32:22 -0500 Received: by mail-wi0-f179.google.com with SMTP id hi2so5311551wib.0 for ; Tue, 10 Feb 2015 08:32:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=skAnM+3ENiMw4tMeYsSFstuwFK6EwDoCYsnKwJKExnI=; b=MuXFZxJR+WG0TIyQUnkfoy65Js/uj8txsJvl1Nw56012OiPKZ3vuHFunO8+WjE2/hX PwJdItXFsbSbWTjeBOxKFfLyYRjnlJ+bvw8qX4rfiTNEys3pRHSw+Kg0B01lk7I12Vek CQc8I7k/utfBXfDA/EvOsBz3OpioA6r8DCX0lSg8RbVwanHrMgO6SjPy2FRuO8o/ga/6 LvIMu6BRS6AHj2gRFPieovLsRHJ2by3eYx8l4Al3qbdCDOk7Z1Wez4Ez0Dq78t8AUntb EIC7qAOnqE0HV79tj++pDCjM2xSJANMJas7yHvOie4699KN7avaA1K3QiF9eoEC8rw5s iAGw== X-Received: by 10.195.13.104 with SMTP id ex8mr53339189wjd.12.1423585938061; Tue, 10 Feb 2015 08:32:18 -0800 (PST) Received: from [192.168.2.120] (89-104-28-113.customer.bnet.at. [89.104.28.113]) by mx.google.com with ESMTPSA id o7sm19479457wix.12.2015.02.10.08.32.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2015 08:32:17 -0800 (PST) Sender: Michael Wallner Message-ID: <54DA3290.9010903@php.net> Date: Tue, 10 Feb 2015 17:32:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Daniel Lowrey CC: "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] pecl_http From: mike@php.net (Michael Wallner) On 06/02/15 17:44, Daniel Lowrey wrote: >>> I’ve rewritten the RFC for pecl_http and hopefully addressed most of the >>> things mentioned previously. >>> >>> I you still find anything lacking, please let me know, so I can > expand the >>> RFC accordingly. >>> >>> And of course, everything else is up for discussion. >>> > > I may not have been clear before, but just to be sure ... > > I would really like to see the pecl/http RFC broken up into multiple > voting options instead of one giant "yes" or "no" as per my previously > mentioned concerns: > >> 1. There is a lot of *really* useful functionality in pecl/http that > IMO should be bundled with the standard PHP distribution. >> 2. There is some functionality here that isn't HTTP-specific and > should exist in other extensions. >> 3. There is some functionality here that IMO belongs in pecl/ and not ext/ >> 4. There is some functionality here that will likely upset some people > because it's subjective > > I also want to reiterate my feeling that PHP *does not* need to bundle > yet another HTTP client -- especially one that brings other pecl > dependencies with it. There's just no reason for doing this (other than > API waffling). Performance is not a valid reason (we have ext/curl, > which is fine if you want something that's compiled). Also, when you > consider that HTTP resource traversal is more than adequately handled in > userland already this addition just doesn't make a ton of sense to me. > Let's bring the things that actually benefit from being compiled into > the standard distribution; the rest should stay in pecl. > > If you doubt that this is a solved problem in userland consider the > performance of my own 100% userland HTTP client demonstrated here > without the use of curl or any other extensions: > > https://gist.github.com/rdlowrey/54171625334670ccb9f5 > > If this proposal is "all or nothing" then I have to vote "no" ... and it > would be a shame to miss out on the beneficial portions of pecl/http :( While I think it's not a particularly good reason to vote "no", it may very well be a valid one; but I'm not conviced that splitting it up makes the situation any better. I really don't want to compete with the client you've written, but it seems this is the only thing you oppose to? -- Regards, Mike