Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ssl: avoid directly storing String object in NPN callback
On the server side, the serialized list of protocols is stored in SSL_CTX as a String object reference. We utilize a hidden instance variable to prevent it from being GC'ed, but this is not enough because it can also be relocated by GC.compact.
- Loading branch information