Return-Path: Delivered-To: apmail-trafficserver-issues-archive@minotaur.apache.org Received: (qmail 68241 invoked from network); 8 Nov 2010 20:52:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Nov 2010 20:52:03 -0000 Received: (qmail 80036 invoked by uid 500); 8 Nov 2010 20:52:34 -0000 Delivered-To: apmail-trafficserver-issues-archive@trafficserver.apache.org Received: (qmail 80011 invoked by uid 500); 8 Nov 2010 20:52:34 -0000 Mailing-List: contact issues-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@trafficserver.apache.org Delivered-To: mailing list issues@trafficserver.apache.org Received: (qmail 80000 invoked by uid 99); 8 Nov 2010 20:52:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 20:52:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 20:52:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA8Kq9fC026830 for ; Mon, 8 Nov 2010 20:52:10 GMT Message-ID: <12414301.81631289249529912.JavaMail.jira@thor> Date: Mon, 8 Nov 2010 15:52:09 -0500 (EST) From: "Leif Hedstrom (JIRA)" To: issues@trafficserver.apache.org Subject: [jira] Created: (TS-518) Close UA connection early if the origin sent Connection close:, there's a bad Content-Length header, and the UA connection has Keep-Alive. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Close UA connection early if the origin sent Connection close:, there's a bad Content-Length header, and the UA connection has Keep-Alive. ------------------------------------------------------------------------------------------------------------------------------------------ Key: TS-518 URL: https://issues.apache.org/jira/browse/TS-518 Project: Traffic Server Issue Type: Bug Components: HTTP Reporter: Leif Hedstrom Fix For: 2.1.5 In a very special case, we could improve the user experience by forcefully closing the connection early. The case is 1) The origin server sends a Content-Length: header that is wrong, where the CL: value exceeds the actually body size. 2) The origin server either sends a Connection: close, or it uses HTTP/1.0 without keep-alive. 3) The client (and TS) uses Keep-Alive to the UA. In this case, we can end up stalling the UA until either the UA or the TS connection times out. It might make sense to prematurely disconnect the client when this case is detected. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.