|
[
Permlink
| « Hide
]
Mark Atwell added a comment - 21/Jun/05 12:54 AM
My tentative fix. It has had limited testing. Still has the original SVN ID line in it and some of the whitespace may not be to your taste!
Mark Atwell made changes - 21/Jun/05 12:54 AM
Trustin Lee made changes - 29/Jun/05 02:26 AM
Thank you for posting a patch for this issue first of all, Mark. I appologize for this late reply. I'm pretty busy these days. :)
Did you get any clue about 'java.io.IOException: Invalid argument' exception message, BTW? If the selector recovers itself automatically in the next loop, it shouldn't be problem. WDYT? No problem, we've all got other things to do! :o)
I haven't investigated the IOException any further. I guess the choice comes down to: - Whether there is a simple, correct, low-overhead solution - I haven't had time to think about this yet. i.e. what the actual problem is (though I think I'm probably about right), and whether the fix is 'all of the above'. - The overhead of avoiding an event that, for me at least, so far has been infrequent. - The risk of not reporting it and accidentally hiding/losing a different more significant problem. BTW I've logged a bug with Sun about being able to do a ByteBuffer(et al).release().
Trustin Lee made changes - 01/Jul/05 02:10 PM
I checked in the fix. I found it is much simpler and efficient to add the checking code to SessionManagerFilterChain implementations.
Could you please try again with the new build and close this issue after testing?
Trustin Lee made changes - 01/Jul/05 02:13 PM
Mark Atwell made changes - 06/Jul/05 01:42 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||