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 D3105191E9 for ; Thu, 7 Apr 2016 20:05:05 +0000 (UTC) Received: (qmail 82966 invoked by uid 500); 7 Apr 2016 20:05:05 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 82885 invoked by uid 500); 7 Apr 2016 20:05:05 -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 82875 invoked by uid 99); 7 Apr 2016 20:05:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 20:05:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 04FDC1A1222 for ; Thu, 7 Apr 2016 20:05:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.302 X-Spam-Level: X-Spam-Status: No, score=-2.302 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 6drFnMy2AmYw for ; Thu, 7 Apr 2016 20:05:03 +0000 (UTC) Received: from mailserver.kippdata.de (capsella.kippdata.de [195.227.30.149]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7886E5F19B for ; Thu, 7 Apr 2016 20:05:02 +0000 (UTC) Received: from [10.0.110.6] ([192.168.2.104]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id u37K51C5014305 for ; Thu, 7 Apr 2016 22:05:01 +0200 (CEST) Subject: Re: proxy API compat break in 2.4.7 To: dev@httpd.apache.org References: <5706A254.5060105@kippdata.de> From: Rainer Jung Message-ID: <5706BD6A.7080508@kippdata.de> Date: Thu, 7 Apr 2016 22:04:58 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks, fully agreed. I added short notes in r1738184. Regards, Rainer Am 07.04.2016 um 21:36 schrieb William A Rowe Jr: > The first most important documentation of this should be in ap_mmn.h, > as we've done in the past (you'll see some highlights). > > A note under the CHANGES entry for 2.4.7 seems worthwhile. > > Pointing this out under Announcement seems appropriate, that users > of third party mod_proxy-consuming modules will need to recompile > those modules when upgrading from 2.4.1 - 2.4.6. > > I can't think of another obvious place, other than any related doxygen. > > It seems to late to correct this situation, as half the world will benefit > from leaving things as they are, and the other half of the world would > have an easier time migrating from 2.4.early to 2.4.now. Lose lose > situation in my mind, so best to leave as-is, with docs. > > > > On Thu, Apr 7, 2016 at 1:09 PM, Rainer Jung > wrote: > > Revision 1560081 (backport of r1533087) introduced "char > uds_path[PROXY_WORKER_MAX_NAME_SIZE]" in the middle of the > proxy_worker_shared structure which IMHO broke compatibility between > 2.4.6 and 2.4.7. > > I noticed it just now, because I was implementing a custom LB method > and during runtime it always found s->status to be 0. I had compiled > it against an old 2.4.4 to ensure not using later features, but was > testing inside 2.4.18. Thus the offset of the status field > calculated for 2.4.4 actually pointed into the long uds_path string > which wasn't used and probably calloced with zeroes. > > Any good idea how to best document the break for other module > developers? > > Regards, > > Rainer