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 4296919F79 for ; Fri, 8 Apr 2016 16:55:51 +0000 (UTC) Received: (qmail 95001 invoked by uid 500); 8 Apr 2016 16:55:50 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 94936 invoked by uid 500); 8 Apr 2016 16:55:50 -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 94926 invoked by uid 99); 8 Apr 2016 16:55:50 -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; Fri, 08 Apr 2016 16:55:50 +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 5915AC1B79 for ; Fri, 8 Apr 2016 16:55:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.652 X-Spam-Level: X-Spam-Status: No, score=0.652 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.652] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ImEukMYQoFpe for ; Fri, 8 Apr 2016 16:55:48 +0000 (UTC) Received: from resqmta-ch2-12v.sys.comcast.net (resqmta-ch2-12v.sys.comcast.net [69.252.207.44]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 7961B5F473 for ; Fri, 8 Apr 2016 16:55:47 +0000 (UTC) Received: from resomta-ch2-12v.sys.comcast.net ([69.252.207.108]) by comcast with SMTP id oZghayggPgEHvoZh5a6SzD; Fri, 08 Apr 2016 16:55:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1460134539; bh=Fj3PH5rPa7IzodZoky1xL1k6ZJzGUSKD5o1DR5r+QRU=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To; b=hqRd6dBzuEH715BcQlcpOZV9GLZYNcvBk7OyJE+bpnbEz3cpg7R8SlqplscPFov8U HTFoapwf4RTiqu13Wf+AkDj7FBEeqep3Ws9SPK4OBZ9LDtAO4ILFiAas7dK09Yw2zi leBg7NLN4wkQXPWR9X3ZZfDO20TJqu3JHLSyshTAVZMniUbhPY4eOFZJEngBSDx84L GVlZgC/cahyij/wBpZlVwTUNc77swQT2kb8uDnDZMz5kSp7ewwtm1r4ndUgnuDe/hN MFb2nwdZgKtU1EJWrM8m4KZQZKWcCJb/ri4JXSQeaJAKoKb+y7W3aPbHltmnzucOfr CVgZw8t38w/kQ== Received: from [192.168.199.10] ([69.251.84.114]) by resomta-ch2-12v.sys.comcast.net with comcast id fsvf1s0052U0RYt01svfgy; Fri, 08 Apr 2016 16:55:39 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: proxy API compat break in 2.4.7 From: Jim Jagielski In-Reply-To: <5706A254.5060105@kippdata.de> Date: Fri, 8 Apr 2016 12:55:39 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5706A254.5060105@kippdata.de> To: dev@httpd.apache.org X-Mailer: Apple Mail (2.3124) Ahh... yes, for 3rd party modules depending on mod_proxy, or using mod_proxy, they would need to be recompiled. Ideally, we should have put these at the end of the struct as we do with the more "major" structs. > On Apr 7, 2016, at 2:09 PM, Rainer Jung = wrote: >=20 > 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. >=20 > 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. >=20 > Any good idea how to best document the break for other module = developers? >=20 > Regards, >=20 > Rainer