Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82055 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84698 invoked from network); 6 Feb 2015 16:44:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2015 16:44:42 -0000 Authentication-Results: pb1.pair.com header.from=rdlowrey@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rdlowrey@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.169 as permitted sender) X-PHP-List-Original-Sender: rdlowrey@gmail.com X-Host-Fingerprint: 209.85.213.169 mail-ig0-f169.google.com Received: from [209.85.213.169] ([209.85.213.169:36793] helo=mail-ig0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/F9-45146-67FE4D45 for ; Fri, 06 Feb 2015 11:44:38 -0500 Received: by mail-ig0-f169.google.com with SMTP id hl2so3844846igb.0 for ; Fri, 06 Feb 2015 08:44:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=XcWHUsXXi/sEKgj9cdMwZ6shwkmzRrvNTvMMHTRLXw0=; b=Ste3zEa62gk2JygVVunL4vUf93/xJJ5dOLjLEuB+zFYHXu6N32zQjhwcVRK6DwvBeo nFeAwQrtmGyNPszCxs+vELVVVnz9d+7BmiY+CHkOwJXCI+1LhCM4mC2pDAYX3VM72cYV LF1t0MTGwEfdXV8i42vHJhYjiNXsHhqV9/4z9Zhv7uB7LAr3aQ0tbDNTjNqyc/hnWHeX sj6P6pzyBBcyKuEu3GKyispCIWOu37JEKbEiEWY3Yl13mEBQHrawABBKvOj7pwD2q5KZ gc2wAP5KTsqdR4V1KDV2RmM9f1HbUB/pnc19t9P76SKKGWX3xlW4BX3oTXiBG4s9dssQ rvgA== MIME-Version: 1.0 X-Received: by 10.107.16.169 with SMTP id 41mr11329471ioq.33.1423241075928; Fri, 06 Feb 2015 08:44:35 -0800 (PST) Sender: rdlowrey@gmail.com Received: by 10.50.156.198 with HTTP; Fri, 6 Feb 2015 08:44:35 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Feb 2015 11:44:35 -0500 X-Google-Sender-Auth: dc6j8jENnOxX8YXMXsFjEnwx0gU Message-ID: To: Michael Wallner Cc: Daniel Lowrey , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113edac4c2d6f9050e6e22d6 Subject: Re: [PHP-DEV] [RFC] [DISCUSSION] pecl_http From: rdlowrey@php.net (Daniel Lowrey) --001a113edac4c2d6f9050e6e22d6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable >> I=E2=80=99ve rewritten the RFC for pecl_http and hopefully addressed mos= t 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 :( --001a113edac4c2d6f9050e6e22d6--