Issue Details (XML | Word | Printable)

Key: DIRMINA-130
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Trustin Lee
Reporter: Vinod Panicker
Votes: 0
Watchers: 0
Operations

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

SSLFilter has to dispose SSLEngine when the filter is removed from a chain.

Created: 28/Nov/05 11:03 PM   Updated: 26/May/09 12:47 AM
Return to search
Component/s: None
Affects Version/s: 0.8.0, 0.8.1
Fix Version/s: 0.9.0

Time Tracking:
Not Specified

Resolution Date: 07/Dec/05 12:05 PM


 Description  « Hide
SSLFilter should dispose of the SSLEngine object when SSLFilter is removed from the session


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Trustin Lee made changes - 29/Nov/05 01:47 AM
Field Original Value New Value
Affects Version/s 0.8.1 [ 12310370 ]
Affects Version/s 0.9 [ 11069 ]
Fix Version/s 0.8.2 [ 12310630 ]
Trustin Lee made changes - 04/Dec/05 11:34 PM
Assignee Trustin Lee [ trustin ]
Repository Revision Date User Message
ASF #354680 Wed Dec 07 02:56:45 UTC 2005 trustin Resolved issue: DIRMINA-130 (SSLFilter has to dispose SSLEngine when the filter is removed from a chain.)
* Renamed SSLHandler.release() to destroy() and added more cleanup code
Resolved issue: DIRMINA-138 (Deadlock in SSLFilter)
* Added SSLHandler.init() so SSLHandler instance can be reused over and over
* BaseIoSession doesn't hold lock for a long time anymore.
* SSLFilter uses SSLHandler instance to acquire a lock now. (instead of IoSession)
Files Changed
MODIFY /directory/network/trunk/src/java/org/apache/mina/common/IoFuture.java
MODIFY /directory/network/trunk/src/java/org/apache/mina/filter/SSLFilter.java
MODIFY /directory/network/trunk/src/java/org/apache/mina/common/IoSession.java
MODIFY /directory/network/trunk/src/java/org/apache/mina/common/support/BaseIoSession.java
MODIFY /directory/network/trunk/src/java/org/apache/mina/filter/support/SSLHandler.java
MODIFY /directory/network/trunk/src/java/org/apache/mina/common/CloseFuture.java

Repository Revision Date User Message
ASF #354712 Wed Dec 07 05:02:35 UTC 2005 trustin DIRMINA-130 (SSLFilter has to dispose SSLEngine when the filter is removed from a chain.)
* More cleanup code for security
Files Changed
MODIFY /directory/network/trunk/src/java/org/apache/mina/filter/support/SSLByteBufferPool.java
MODIFY /directory/network/trunk/src/java/org/apache/mina/filter/support/SSLHandler.java

Trustin Lee added a comment - 07/Dec/05 11:54 AM
The change is not trivial. We'll fix this in 0.9

Trustin Lee made changes - 07/Dec/05 11:54 AM
Fix Version/s 0.9 [ 11069 ]
Fix Version/s 0.8.2 [ 12310630 ]
Summary SSLFilter should dispose SSLEngine on destroy() SSLFilter has to dispose SSLEngine when the filter is removed from a chain.
Assignee Trustin Lee [ trustin ]
Trustin Lee made changes - 07/Dec/05 12:05 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Emmanuel Lecharny made changes - 26/May/09 12:47 AM
Status Resolved [ 5 ] Closed [ 6 ]