I have found that TLSWrap exposes a function, ssl() which gives me the SSL 
pointer. But how would I then get this TLSWrap from the passed JS socket? 
Will it be stored directly in the hidden pointer 0, or will there be a 
uv_stream_t stored at that position, having its data member set to the TLSWrap 
object?

Den fredag 15 april 2016 kl. 01:07:50 UTC+2 skrev Alex Hultman:
>
> Hi,
>
> I'm working on this (native) WebSocket server project: 
> https://github.com/alexhultman/uWebSockets. It supports transferring 
> connections from the built-in Node.js http.Server to the addon, letting it 
> handle the WebSocket connections.
>
> Now, I'm looking at transferring the OpenSSL context from Node.js to the 
> addon, to also allow seamless transfers from https.Server to the addon. 
> I've looked a bit at the tls_wrap.cc but nothing seems to stand out. How 
> would I begin this task? If this is not supported, maybe you could consider 
> helping me out with this?
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/eb535162-bfe9-4393-9c56-73c840c0be6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to