Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 39500 invoked from network); 18 May 2006 07:21:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 May 2006 07:21:29 -0000 Received: (qmail 62007 invoked by uid 500); 18 May 2006 07:21:29 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 61956 invoked by uid 500); 18 May 2006 07:21:28 -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 61940 invoked by uid 99); 18 May 2006 07:21:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 00:21:28 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 00:21:27 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 6F44F7142A7; Thu, 18 May 2006 07:20:57 +0000 (GMT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 39605] New: - Bad core_output_filter EAGAIN behavior Message-ID: X-Bugzilla-Reason: AssignedTo Date: Thu, 18 May 2006 07:20:57 +0000 (GMT) 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=39605 Summary: Bad core_output_filter EAGAIN behavior Product: Apache httpd-2 Version: 2.2.2 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: bugs@httpd.apache.org ReportedBy: slamb@slamb.org Affects at least versions 2.0.52 and 2.2.x. Not sure about 2.3.x; it's pretty different. I ran into bug 34332 with httpd 2.0.52 and apr 0.9.6. It was frustrating to diagnose because Apache just skipped the end of one chunk and went on to the next. My Subversion client said this: $ svn co http://example.com/svn/foo ... svn: REPORT request failed on '/svn/!svn/vcc/default' svn: REPORT of '/svn/!svn/vcc/default': Chunk delimiter was invalid (http://example.com) Although bug 34332 has been fixed in APR, Apache's behavior still confounds diagnosis of such conditions. It continues to use the connection if a write has returned EAGAIN. In core_output_filter it logs this: ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server, "core_output_filter: writing data to the network"); but that's a priority below the default LogLevel, so I didn't see it. This bit here: /* No need to check for SUCCESS, we did that above. */ if (!APR_STATUS_IS_EAGAIN(rv)) { c->aborted = 1; } /* The client has aborted, but the request was successful. We * will report success, and leave it to the access and error * logs to note that the connection was aborted. */ is broken. The status should never be EAGAIN here, and if it is, aborting the connection would be better than ignoring it. The conditional just makes the comment wrong. -- 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