Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51044 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28541 invoked from network); 16 Dec 2010 12:47:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2010 12:47:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.45 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.214.45 mail-bw0-f45.google.com Received: from [209.85.214.45] ([209.85.214.45:54007] helo=mail-bw0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/00-28099-37A0A0D4 for ; Thu, 16 Dec 2010 07:47:49 -0500 Received: by bwz16 with SMTP id 16so3777118bwz.32 for ; Thu, 16 Dec 2010 04:47:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=VJ04awLbW3Fdkl7+AvCsJ/jGNIUHiUdPY7kE4wLbDiY=; b=owoO6DUJL2eQq03vqExW5jIgGrkWCMaq1Cmu8/AMaLTu/kBzKogfiUZ54EbwMz3X2f GaGl45eS5Wy51QcSGk9deS8rbEukbsUyNC5HJqg9DfNvmbFnOu+xamgZjBQ0thV5kbqt zTAhwPd2xxqFkGabBzW7mvIxHSmk7PtijyfYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=apPSecYh1G+SpIaYLWPAfO2iPyrGDAKpr+JJv0CCuCq+tgMJVb5p8bHCjZvL/4T4W3 jjotsmoaaaCEIL2TrUIOfEMWr75fCCx9f+KaRlT2sOMkK3cxKQfDjmpl0tyU6nhV+Yo4 7yYLDZy8GvNU8R1Bb/0L3QckTQ564L8vxp1GU= MIME-Version: 1.0 Received: by 10.204.61.74 with SMTP id s10mr8387659bkh.91.1292503663341; Thu, 16 Dec 2010 04:47:43 -0800 (PST) Received: by 10.204.52.129 with HTTP; Thu, 16 Dec 2010 04:47:43 -0800 (PST) In-Reply-To: References: Date: Thu, 16 Dec 2010 13:47:43 +0100 Message-ID: To: Ferenc Kovacs Cc: Gustavo Lopes , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [PATCH] Add option to disable POST data processing From: pierre.php@gmail.com (Pierre Joye) hi, On Thu, Dec 16, 2010 at 1:42 PM, Ferenc Kovacs wrote: > So currently we didn't talk about security measures, but performance gains: > If somebody wants to write a script, which handles big file uploads, but > only writes it to somewhere (to file, or another stream), then currently you > have to allocate the memory for the post data twice(see the first email), > which is very inefficient if you don't need the $_POST at all. yes, but that's something very confusing right now, the naming and the other ways to access POST data. The goal of this idea is a good thing to do, but the naming and its implementation are confusing (processing vs reading vs used at all). Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org