From tomcat-dev-return-52779-apmail-jakarta-tomcat-dev-archive=jakarta.apache.org@jakarta.apache.org Thu Nov 18 12:34:04 2004 Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 1436 invoked from network); 18 Nov 2004 12:34:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Nov 2004 12:34:03 -0000 Received: (qmail 92763 invoked by uid 500); 18 Nov 2004 12:33:57 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 92716 invoked by uid 500); 18 Nov 2004 12:33:56 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 92694 invoked by uid 99); 18 Nov 2004 12:33:56 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=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.28) with ESMTP; Thu, 18 Nov 2004 04:33:52 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id iAICXo8o019191 for ; Thu, 18 Nov 2004 13:33:50 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id iAICXnoJ019189; Thu, 18 Nov 2004 13:33:49 +0100 Date: Thu, 18 Nov 2004 13:33:49 +0100 Message-Id: <200411181233.iAICXnoJ019189@ajax.apache.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 32292] New: - HTTP response 505 and Keep-Alive processing X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.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=32292 Summary: HTTP response 505 and Keep-Alive processing Product: Tomcat 4 Version: 4.1.30 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P3 Component: Connector:Coyote HTTP/1.1 AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: hayashin@ist.fujitsu.com The following operation was found although it was not so big a problem. Then telneted to port 8080(tomcat 4.1.30) and gave following request (bat request because 2 spaspace befor "HTTP/1.1"). ---- HEAD /index.html HTTP/1.0 ---- response was following ---- HTTP/1.1 505 HTTP Version Not Supported Date: Thu, 18 Nov 2004 07:34:18 GMT Server: Apache-Coyote/1.1 Connection: Keep-Alive ---- Although a response header means KEEP-ALIVE processing, socket close immediately. I think that correction would be inadequate at 4.1.27 folowing code. org.apache.coyote.http11.Http11Processor#statusDropsConnection ---- /** * Determine if we must drop the connection because of the HTTP status * code. Use the same list of codes as Apache/httpd. */ protected boolean statusDropsConnection(int status) { return status == 400 /* SC_BAD_REQUEST */ || status == 408 /* SC_REQUEST_TIMEOUT */ || status == 411 /* SC_LENGTH_REQUIRED */ || status == 413 /* SC_REQUEST_ENTITY_TOO_LARGE */ || status == 414 /* SC_REQUEST_URI_TOO_LARGE */ || status == 500 /* SC_INTERNAL_SERVER_ERROR */ || status == 503 /* SC_SERVICE_UNAVAILABLE */ || status == 501 /* SC_NOT_IMPLEMENTED */; } ---- I think that 505 should also be included here, but it does not know whether be else or not.(...or other fix code) regards, Naru Hayashi from Japan -- 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: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org