Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 59508 invoked from network); 1 Apr 2006 22:25:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Apr 2006 22:25:49 -0000 Received: (qmail 2080 invoked by uid 500); 1 Apr 2006 22:25:48 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 2052 invoked by uid 500); 1 Apr 2006 22:25:48 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 2039 invoked by uid 99); 1 Apr 2006 22:25:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 14:25:48 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 14:25:47 -0800 Received: by ajax.apache.org (Postfix, from userid 65534) id 894F26ACB1; Sat, 1 Apr 2006 23:25:26 +0100 (BST) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 31759] - default handler returns output filter apr_status_t value In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20060401222526.894F26ACB1@ajax.apache.org> Date: Sat, 1 Apr 2006 23:25:26 +0100 (BST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=31759 ------- Additional Comments From trawick@apache.org 2006-04-01 23:25 ------- About the patch: It needs to return OK instead of r->status. Otherwise, an error is triggered. OK will allow r->status to be respected when appropriate. if (status == APR_SUCCESS || r->status != HTTP_OK || c->aborted) { return OK; /* r->status will be respected */ When returning r->status, you can get a complete 200 response then a 500 error document ;) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org