You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on SSL connection transfer from Node.js HTTPS server to a native addon. This means I need to access the OpenSSL SSL *pointer in order to use SSL_write and the like.
I have gotten help from Fedor Indutny, pointing me to the tls.TLSSocket.ssl._external for getting the SSL pointer. However, the very accessing of this _external getter (It seems to be a getter function) causes an assertion error to trigger:
Hi,
I'm working on SSL connection transfer from Node.js HTTPS server to a native addon. This means I need to access the OpenSSL SSL *pointer in order to use SSL_write and the like.
I have gotten help from Fedor Indutny, pointing me to the
tls.TLSSocket.ssl._external
for getting the SSL pointer. However, the very accessing of this _external getter (It seems to be a getter function) causes an assertion error to trigger:node: ../src/util-inl.h:196: TypeName* node::Unwrap(v8::Local<v8::Object>) [with TypeName = node::TLSWrap]: Assertion
(object->InternalFieldCount()) > (0)' failed.`This happens even when no addon code has run, this is caused by the very JS-code accessing _external.
The text was updated successfully, but these errors were encountered: