Return-Path: Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@www.apache.org Received: (qmail 4306 invoked from network); 17 Dec 2003 14:36:30 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Dec 2003 14:36:30 -0000 Received: (qmail 19513 invoked by uid 500); 17 Dec 2003 14:36:24 -0000 Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@jakarta.apache.org Received: (qmail 19496 invoked by uid 500); 17 Dec 2003 14:36:24 -0000 Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Commons HttpClient Project" Reply-To: "Commons HttpClient Project" Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 19482 invoked from network); 17 Dec 2003 14:36:24 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 17 Dec 2003 14:36:24 -0000 Received: (qmail 6015 invoked by uid 50); 17 Dec 2003 14:36:41 -0000 Date: 17 Dec 2003 14:36:41 -0000 Message-ID: <20031217143641.6014.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-httpclient-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 25592] New: - An IOException or RuntimeException leaves the underlying socket in an undetermined state X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=25592 An IOException or RuntimeException leaves the underlying socket in an undetermined state Summary: An IOException or RuntimeException leaves the underlying socket in an undetermined state Product: Commons Version: 2.0 Beta 2 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: HttpClient AssignedTo: commons-httpclient-dev@jakarta.apache.org ReportedBy: mohammad.rezaei@gs.com If an application level IOException or RuntimeException occurs, the underlying socket will be in an undetermined state. In many cases, this will lead to zombie connections in the pool that do not respond properly. Simple example: uploading a file via POST. If we promise the server 1MB of data. Shortly after starting the transfer an IOException occurs (e.g. the NFS server the file was residing on stops responding). The connection is returned to the pool (see bug #25370) but the the server is still expecting close to 1MB of data on that socket. The next request on that socket (e.g. a GET) will send the HTTP header but the server thinks the header is part of the old stream and doesn't respond. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org