Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 46456 invoked from network); 8 Sep 2006 17:20:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Sep 2006 17:20:24 -0000 Received: (qmail 64484 invoked by uid 500); 8 Sep 2006 17:20:24 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 64353 invoked by uid 500); 8 Sep 2006 17:20:24 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 64340 invoked by uid 99); 8 Sep 2006 17:20:23 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2006 10:20:23 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=mcqueenorama@gmail.com; domainkeys=good Authentication-Results: idunn.apache.osuosl.org smtp.mail=mcqueenorama@gmail.com; spf=pass X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_BY_IP Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 66.249.92.171 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from ([66.249.92.171:43506] helo=ug-out-1314.google.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id B9/20-08684-556A1054 for ; Fri, 08 Sep 2006 10:20:22 -0700 Received: by ug-out-1314.google.com with SMTP id u2so679554uge for ; Fri, 08 Sep 2006 10:20:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Z+Q0BqJF9bN75ctzwNrZk5eOuH8S7wRwXMuhVxL6IPoV5C+GTMhqPcbY791zN1eorLB+HTdJtqNO4frDNq40MKNyFux8gwlWW3jrwXvTSjrxWhkPxrNbIu6oTSHRcqbzTWRoIwZ1ietVAc/jRTHqM3ubhZL04S3Dl98IPfImWDo= Received: by 10.66.244.11 with SMTP id r11mr1215721ugh; Fri, 08 Sep 2006 10:20:17 -0700 (PDT) Received: by 10.67.99.3 with HTTP; Fri, 8 Sep 2006 10:20:17 -0700 (PDT) Message-ID: <5b3fa8f0609081020p175e0649l183c0d6d32c393ad@mail.gmail.com> Date: Fri, 8 Sep 2006 10:20:17 -0700 From: "Brian McQueen" To: apreq-dev@httpd.apache.org Subject: Parser running twice? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I noticed that there are two temp files generated by apreq when I am uploading data. When the files are really big, like gigabytes, that becomes a problem. Does it seem right that there should be two temp files? The seem to be identical - at least when the request is completed and they are not yet deleted, I can see that they are the same size. It looks like the parser must be running twice for some reason. The procedure is fairly simple, but maybe I got it wrong. I am doing these steps: 1) apreq_handle_apache2 - init apreq 2) ap_setup_client_block 3) ap_should_client_block 4) apreq_body - trigger the parse 5) apreq_param - mess with the input Is there something wrong here? Brian McQueen