Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5A24C200BC4 for ; Sat, 5 Nov 2016 03:15:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 58874160B04; Sat, 5 Nov 2016 02:15:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 792D1160AFE for ; Sat, 5 Nov 2016 03:15:19 +0100 (CET) Received: (qmail 30228 invoked by uid 500); 5 Nov 2016 02:15:18 -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 30218 invoked by uid 99); 5 Nov 2016 02:15:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Nov 2016 02:15:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B53E1C1444 for ; Sat, 5 Nov 2016 02:15:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.48 X-Spam-Level: ** X-Spam-Status: No, score=2.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rowe-clan-net.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id O51CuZvokwON for ; Sat, 5 Nov 2016 02:15:16 +0000 (UTC) Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id DFB955F1E9 for ; Sat, 5 Nov 2016 02:15:15 +0000 (UTC) Received: by mail-it0-f41.google.com with SMTP id u205so18534805itc.0 for ; Fri, 04 Nov 2016 19:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rowe-clan-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Ac42LrXc+kpUdLCxXOnCm3Sia1Tqmu/70BrYIZ4pakc=; b=akN/q2gVKzlaPknpzITwKVm7sQ8EtDAZbADyA3Nl92Cqk50/0Qh5Uy/1LS/jnj49Qc KtF/u+kjlDa7JZogLLgiv1aaaGDb9lTfsxXytDnI/vzZlY1cIuKY/2Gm8IM5/7PeBcbm 3Vw2/ya6uT+wP8yrgHKxLE5D3caHjWU9+BzSgNULRRSnKPsi9A6yDIvGkwrD7F9O0pJP LqNkD6pszUYyaM/gULLgouW/Z/hJVt2jfF+vY+AuDGG56hSxkxYOfc/AKhvFf0/ZCDvj T4rnM/fKVr5tlzE1YvYdr1NyO+rIStXNqjaX4iYM2GO9AoYED9bbDfibGkX0Po+b1qZa KlCQ== 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:from:date :message-id:subject:to; bh=Ac42LrXc+kpUdLCxXOnCm3Sia1Tqmu/70BrYIZ4pakc=; b=hDwrOJbM/MChJF0ztOG6SZGXmAjNJM9LBqYwd3aRJSD20nwtY14DLfRReOYt6h0Aa6 f+oCUPb4PnesdnJ45eS18Woz2hpJzedJ/Nm+sNTSxBDBoz/GzwXM/fnMHHXtNKbWdAkO N9voqFYG2PMweUuZpUI2NzCU/4kMD6hIoWxDBxwZIHgYvGq2z2mLysEr1ArmpXoaiOl0 zG0RBvfIeOXjQDfW4cqgIfwmCmxzYMJTGnV/2YopzIOrfUiD2AnAn6laGKdyWueJ6NWE dj69Eb33Aars7yXte2gYwMa23QSiWLjVrjAF/6QTATGOcCgov7hJStuQ1eg20caRFXV5 mzKA== X-Gm-Message-State: ABUngvfV7NbgHBUY3pQ9+KjLxTBl00gI0OVvsw8O1m0v99b6EE6IuflkkIlXwK9RpbW1WYwpead5yB3ovli66N1D X-Received: by 10.107.131.150 with SMTP id n22mr15827944ioi.71.1478312114735; Fri, 04 Nov 2016 19:15:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.166.1 with HTTP; Fri, 4 Nov 2016 19:15:12 -0700 (PDT) In-Reply-To: References: <20161104190406.326263A0222@svn01-us-west.apache.org> From: William A Rowe Jr Date: Fri, 4 Nov 2016 21:15:12 -0500 Message-ID: Subject: Re: svn commit: r1768079 - in /httpd/httpd/branches/2.4.x: ./ CHANGES STATUS docs/manual/ modules/http/http_filters.c To: httpd Content-Type: multipart/alternative; boundary=001a113ed15c7765360540845c07 archived-at: Sat, 05 Nov 2016 02:15:20 -0000 --001a113ed15c7765360540845c07 Content-Type: text/plain; charset=UTF-8 On Fri, Nov 4, 2016 at 9:14 PM, William A Rowe Jr wrote: > On Fri, Nov 4, 2016 at 5:17 PM, Yann Ylavic wrote: > >> On Fri, Nov 4, 2016 at 10:15 PM, William A Rowe Jr >> wrote: >> > I'm really not clear how ap_map_http_request_error() arrived without the >> > patch patch below, and unclear whether it does what the backport >> proposal >> > intended with this work omitted. >> > >> > 1482522 minfrin >> > core: Stop the HTTP_IN filter from attempting to write error buckets >> > to the output filters, which is bogus in the proxy case. Create a >> > clean mapping from APR codes to HTTP status codes, and use it where >> > needed. >> >> The above was backported in 2.4.13 ([1]+[2]) and 2.2.30 ([3]), though >> not exactly the same way as implemented in r1482522 (yet the intent is >> there, and the issue fixed ;) >> > > Ahhh, that's cool. > > >> What differed is that http_filters' bail_out_on_error() was preserved >> (so that [third-party-]modules don't notice/have to handle the >> response themselves) > > Which would be a brilliant solution if -static apr_status_t bail_out_on_error(http_ctx_t *ctx, - ap_filter_t *f, - int http_error) Wasn't a private, unexported entry point on every sane C compiler. Sigh... --001a113ed15c7765360540845c07 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Which would be a brilliant solution if

=
=C2=A0-static apr_status_t bail_out_on_error(http_ctx_t *ctx,
- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ap_filter_t *= f,
- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0in= t http_error)

Wasn't a private, unexported ent= ry point on every sane C compiler. Sigh...
--001a113ed15c7765360540845c07--