Issue Details (XML | Word | Printable)

Key: DIRMINA-31
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Trustin Lee
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

SSLFilter doesn't work if other IoFilters exist in the same filter chain

Created: 09/May/05 09:22 PM   Updated: 10/May/05 12:01 AM
Return to search
Component/s: None
Affects Version/s: 0.7.0
Fix Version/s: 0.7.1

Time Tracking:
Not Specified

Resolution Date: 10/May/05 12:01 AM


 Description  « Hide
It seems like SSLFilter doesn't work if any other filters that transforms dataRead and dataWritten event exist in the same chain. It is because of its use of session.write() method while handshaking. It is working because I/O layer and Protocol layer are separated and SSLFilter was the only filter that transforms bytebuffers in I/O layer. I think all filter method should have access to previous filter, and it will cause changes to IoFilter and ProtocolFilter interfaces.

Should we give up releasing 0.7 because of this API design flaw, or should we fix this and release as 0.7.1?


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Trustin Lee added a comment - 09/May/05 11:59 PM
I fixed this issue by modifying internal implementation of NextFilter; I unified prevFilter and nextFilter into one.

Trustin Lee added a comment - 10/May/05 12:00 AM
Mistakenly makred as 'won't fix'