Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 73989 invoked from network); 21 May 2008 20:34:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2008 20:34:41 -0000 Received: (qmail 35308 invoked by uid 500); 21 May 2008 20:34:39 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 35253 invoked by uid 500); 21 May 2008 20:34:39 -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 35236 invoked by uid 99); 21 May 2008 20:34:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2008 13:34:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mirkperl@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 May 2008 20:33:53 +0000 Received: by ug-out-1314.google.com with SMTP id a2so302589ugf.27 for ; Wed, 21 May 2008 13:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=aS7bJyRQb8mZseUx3U6yip122dcrL7hgpb0da0Nc9HA=; b=G1WRqUzBQel3R1993wTv1vcBQCq8eDCJ797qZq/AOuc98HiSVf1wLkD6u4LPKGyBvTbQRx2MmbIzwIHlIUMPjD5xpp3RhlcBdz9jHwTJ/q4F5djb/ZMFyaeeFCDV8VkD0OY93AVDb/5njjs+SnJrXA0Kni9q+5YCsOO0Y+Rz7ZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G/Y2+p+5nN7eYdP2krnI7p0+KFw1NKD7YRBnoeeNn3srmtRKD+S8RLJay8cPsHYwAC4VxxkX+1HTpIYMIseFtxkS3mak5Q4R8iQiuklbf5Fr7BLmnW6zOUDvOS5v+t8olj25VUvavp7KY1MtUrh3aX0E1MDrLNQKJ3qIJ+lESEA= Received: by 10.66.221.17 with SMTP id t17mr1483671ugg.66.1211402047387; Wed, 21 May 2008 13:34:07 -0700 (PDT) Received: by 10.66.243.10 with HTTP; Wed, 21 May 2008 13:34:07 -0700 (PDT) Message-ID: Date: Wed, 21 May 2008 16:34:07 -0400 From: "Adam Woodworth" To: dev@httpd.apache.org Subject: Re: mod_proxy race condition bug #37770 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <482F30D2.90507@apache.org> <4831D273.2050502@apache.org> <4831DE7E.8020106@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org I think there is a problem with r657443 (and thus I assume r645813): I applied the r657443 patch to my copy of the 2.2.8 official release source and it doesn't work right. The problem is that the change to mod_proxy_http.c checks c->keepalives for a value, but c->keepalives is filled out by ap_http_header_filter(), which isn't called until later. So, c->keepalives is always 0 at this point. Which also means that the "number of keepalives" message in the ap_log_rerror() msg isn't going to mean anything, but at this point it never reaches it. Also, I "patched the patch" to manually set c->keepalives to 1 for testing so that I could test out this r657443 patch. However, what happened was that Apache would kick back an error page to the client, instead of just closing the connection. So, no improvement. Has this patch been tested and verified anywhere?