Re: Checking if connections are stale with NIO

2008-10-01 Thread sebb
On 01/10/2008, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote: > On Tue, Sep 30, 2008 at 12:46:54PM +0530, Asankha C. Perera wrote: > > 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 timeo

[jira] Updated: (HTTPCORE-174) Position is incremented twice in skip(long) method of ContentLengthInputStream

2008-10-01 Thread Oleg Kalnichevski (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated HTTPCORE-174: --- Component/s: HttpCore Affects Version/s: 4.0-beta2 Fix Version/s:

[jira] Moved: (HTTPCORE-174) Position is incremented twice in skip(long) method of ContentLengthInputStream

2008-10-01 Thread Oleg Kalnichevski (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski moved HTTPCLIENT-800 to HTTPCORE-174: --- Key: HTTPCORE-174 (was: HTTPCLIENT-800) Pro

Re: Checking if connections are stale with NIO

2008-10-01 Thread Asankha C. Perera
Hi Oleg Thanks for the reply.. I was going through the archives from about 2 years back as well, and saw a suggestion from you that we should expect situations like this and retry at the higher levels, and now this makes sense to me. We will handle this situation from within Synapse thanks a

[jira] Commented: (HTTPCORE-173) IOException when server closes connection at end of chunk

2008-10-01 Thread Oleg Kalnichevski (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635981#action_12635981 ] Oleg Kalnichevski commented on HTTPCORE-173: Ming Feel free to provide a pat

[jira] Moved: (HTTPCORE-173) IOException when server closes connection at end of chunk

2008-10-01 Thread Oleg Kalnichevski (JIRA)
[ https://issues.apache.org/jira/browse/HTTPCORE-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski moved HTTPCLIENT-796 to HTTPCORE-173: --- Component/s: (was: HttpClient)

Re: Checking if connections are stale with NIO

2008-10-01 Thread Oleg Kalnichevski
On Tue, Sep 30, 2008 at 12:46:54PM +0530, Asankha C. Perera wrote: > 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 guar