Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF8A419D27 for ; Wed, 23 Mar 2016 08:22:38 +0000 (UTC) Received: (qmail 36109 invoked by uid 500); 23 Mar 2016 08:22:38 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 36045 invoked by uid 500); 23 Mar 2016 08:22:38 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 36035 invoked by uid 99); 23 Mar 2016 08:22:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2016 08:22:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 71DB4C1A4C for ; Wed, 23 Mar 2016 08:22:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.802 X-Spam-Level: X-Spam-Status: No, score=-0.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id y26trvdLZaDx for ; Wed, 23 Mar 2016 08:22:35 +0000 (UTC) Received: from mail-qg0-f54.google.com (mail-qg0-f54.google.com [209.85.192.54]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 300965F56D for ; Wed, 23 Mar 2016 08:22:35 +0000 (UTC) Received: by mail-qg0-f54.google.com with SMTP id j35so6090278qge.0 for ; Wed, 23 Mar 2016 01:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=57h1naKUoqMrNg7Lv5jTy8EKHizr6UGfbGsmdt5TlMI=; b=tPEQNYn2h/7KwpzYcWlJeSjcDOWlmUmasN2E90RlHXPEmtN5d8kDI3YfLxpOsI47Nt z+fweyXzF3oI/oJyXDLjKOmswJJGhukNd6Agi5xMCgaIVeP4R32+x/+nUkmg8bSLRaGk +f+hdra11MsY4WFnGRfPM3TQLynuOp8bi3gqUOCQ80lh6xQSVqCQiyr3sb1Yzf/1mdrn D1Fs3R7drvWlUsT16gqGf4HW13Rcszmic46X9EqFbTelrz2q8msxmg5R8RNcv0EwqJuM 1imNnznqQQ+rQbYEkyEZSxd79p+wRCvZ60LirtrXWAORdp+jugrvAxYjTSclkDvrIb16 Wvmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=57h1naKUoqMrNg7Lv5jTy8EKHizr6UGfbGsmdt5TlMI=; b=MbHMCmszoJt97mmJXw19A7OwC93J4unK25liWYiMN8vlqQRUMRwbaSXlbLBlWHpXc1 RXhC8HTxE0G2Hiwo3Np/yxgwNa56xeTCZGDyOW6JUFqoX+Pnxwk11NyGoAJoKaZktH1s 4JIDXc/elxPcXZtOBeFZaK6+moX1Cx0rtcGbW6mAfR3Y1pSBBVg0+npzIL99ns7bdDMJ qmShpUCjt47hrbGQqWto5IQcE30mk2pf1HD1kMK1wYeiuV5xJTeodtjjxVxLB5itvcwO Id5XORi60771edrx8/T86b7e+gOfXozepixwdy7lx1SK9DrXwHBZAAWdHLLi+EYIl8AQ qDmA== X-Gm-Message-State: AD7BkJLM7Fxp+JoW3i9Z8yq43YmOCLaDuasIEQAGL/yDce9u2tcTOW31FAFt2hwGf4bj3uAT3x6SALRQ8zAWyA== MIME-Version: 1.0 X-Received: by 10.140.164.71 with SMTP id k68mr1731916qhk.97.1458721354729; Wed, 23 Mar 2016 01:22:34 -0700 (PDT) Received: by 10.55.10.7 with HTTP; Wed, 23 Mar 2016 01:22:34 -0700 (PDT) In-Reply-To: References: <20160322170830.4CBC93A0223@svn01-us-west.apache.org> Date: Wed, 23 Mar 2016 09:22:34 +0100 Message-ID: Subject: Re: svn commit: r1736216 - in /httpd/httpd/trunk: include/httpd.h modules/http/http_request.c server/mpm/event/event.c server/mpm/motorz/motorz.c server/mpm/simple/simple_io.c server/util_filter.c From: Yann Ylavic To: httpd-dev Content-Type: text/plain; charset=UTF-8 On Wed, Mar 23, 2016 at 2:11 AM, Graham Leggett wrote: > On 22 Mar 2016, at 7:08 PM, ylavic@apache.org wrote: > >> URL: http://svn.apache.org/viewvc?rev=1736216&view=rev >> Log: >> Follow up to r1734656: restore c->data_in_input_filters usage to >> see if it helps unblocking test framework. > > I created an almost identical patch before doing an update, the only difference was this: > > Index: modules/http/http_request.c > =================================================================== > --- modules/http/http_request.c (revision 1736263) > +++ modules/http/http_request.c (working copy) > @@ -453,7 +453,7 @@ > > ap_process_async_request(r); > > - if (!c->data_in_input_filters || ap_run_input_pending(c) != OK) { > + if (!c->data_in_input_filters && ap_run_input_pending(c) != OK) { > bb = apr_brigade_create(c->pool, c->bucket_alloc); > b = apr_bucket_flush_create(c->bucket_alloc); > APR_BRIGADE_INSERT_HEAD(bb, b); > > I get hangs without the above patch on the test suite, but it runs clean with. Can you give it a try? Yes this is the right logic. I wonder how the hook can return anything but DECLINED though, I see no registering in our code. Unfortunately I can't reproduce the issue on my system(s), so testing is good, but it was already... Regards, Yann.