Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7753DD2F2 for ; Wed, 3 Oct 2012 12:49:15 +0000 (UTC) Received: (qmail 6305 invoked by uid 500); 3 Oct 2012 12:49:15 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 6086 invoked by uid 500); 3 Oct 2012 12:49:11 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 6043 invoked by uid 99); 3 Oct 2012 12:49:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 12:49:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of info@bnoordhuis.nl designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pb0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 12:49:01 +0000 Received: by pbbrp2 with SMTP id rp2so11442548pbb.18 for ; Wed, 03 Oct 2012 05:48:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=D5YMgdZwCg9Zrs7GjdK89PtoPz3Qcb9KkDEaJnquMCM=; b=WZHWA9PBnFKxK0Pg1jFKRa1d/Ly6r4UZgtbRpTYTw8i2OCsK+Fl8AEG0Jl1pnv7GJS hyQQoxqjBdJ/LOqXwr2i0Wy0kAaNxGYHIhgI7zp6axiYKT8JuASpF6LSIiui1uRNrYyG DMueuCOunILJGaOqPP/c3JeATR9xS0MhQGHrgDJ/crYp31zCHaO11hbDVT6p9G72gqec ClopAwDjkntVHzSdCN6Do4KYzD7i+ryBLzF0SPMAUl76FITr/9pJmtSrTZDRIDogCj5X xaZ1+y1NnSxudWrchFX73r0iHZIvypbhEAic5tNOiTJ0GFb2Td97WEJ7Aq8tpO36EqBz lchQ== MIME-Version: 1.0 Received: by 10.66.72.134 with SMTP id d6mr4950459pav.13.1349268520371; Wed, 03 Oct 2012 05:48:40 -0700 (PDT) Received: by 10.68.25.199 with HTTP; Wed, 3 Oct 2012 05:48:40 -0700 (PDT) X-Originating-IP: [87.214.96.125] In-Reply-To: <7F1BDE99A6D2D3428162AF33F59630E810113D0E@DBXPRD0710MB372.eurprd07.prod.outlook.com> References: <7F1BDE99A6D2D3428162AF33F59630E8101137DE@DBXPRD0710MB372.eurprd07.prod.outlook.com> <7F1BDE99A6D2D3428162AF33F59630E810113D0E@DBXPRD0710MB372.eurprd07.prod.outlook.com> Date: Wed, 3 Oct 2012 14:48:40 +0200 Message-ID: Subject: Re: RPC over HTTP From: Ben Noordhuis To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmauQPpAeCrEnk3iro6dI6oE2Pm2Z2MnMS4NKM1SGWDOabQYw7v7A7149uJvRe/J842kB/q On Wed, Oct 3, 2012 at 2:06 PM, Evgeny Shvidky wrote: > Hi, > > ap_setup_client_block() returns OK. > > I think the problem is that "Content-Length" header value is 1073741824 (1 GB) and probably apache tries to receive the whole content before it passed to my module. > Am I right? > If yes, is there any way to tell apache to send all received data till now? ap_get_client_block() tries to read up to the number of bytes you requested. Now, if you passed in the value of the Content-Length header, then it will either stall for a long time or simply fail.