Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Revisit SSLFilter implementation, especially its "write" part. #1162

Closed
glassfishrobot opened this issue Dec 21, 2011 · 3 comments
Closed

Revisit SSLFilter implementation, especially its "write" part. #1162

glassfishrobot opened this issue Dec 21, 2011 · 3 comments

Comments

@glassfishrobot
Copy link

SSLFilter.write is "synchronized", we need to revisit it and try to decrease synchronized scope as much as possible.
As an idea, we can pass some Transformer downstream, so actual encryption happens in AsyncWriteQueue/TemporarySelectorWriter right before data going to be sent on wire, so there will be no need in redundant synchronization.

Affected Versions

[2.2]

@glassfishrobot
Copy link
Author

Reported by oleksiys

@glassfishrobot
Copy link
Author

This issue was imported from java.net JIRA GRIZZLY-1162

@glassfishrobot
Copy link
Author

Closing this as this issue is migrated to eclipse-ee4j/grizzly#1162

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant