[jira] Created: (HTTPCLIENT-800) Position is incremented twice in skip(long) method of ContentLengthInputStream

2008-09-30 Thread Ildar Safarov (JIRA)
Position is incremented twice in skip(long) method of ContentLengthInputStream -- Key: HTTPCLIENT-800 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-800 Project: HttpCo

Checking if connections are stale with NIO

2008-09-30 Thread Asankha C. Perera
When using keep-alive connections, Apache Synapse needs to ensure that a connection is not just about to be closed after the expiration of the socket timeout. The HttpConnection.isStale() tells of the expensive - but guaranteed way to make sure of this, by making a blocking call on the socket.