tls: asynchronous SNICallback
authorFedor Indutny <fedor.indutny@gmail.com>
Sat, 3 Aug 2013 17:29:54 +0000 (21:29 +0400)
committerFedor Indutny <fedor.indutny@gmail.com>
Tue, 6 Aug 2013 12:13:01 +0000 (16:13 +0400)
commit048e0e77e0c341407ecea364cbe26c8f77be48b8
tree1f4a7da1cdd0ad521b2b40c8258da5c82bee8a0e
parent8e28193cc239a8389a1edda6810402005c1336cc
tls: asynchronous SNICallback

Make ClientHelloParser handle SNI extension, and extend `_tls_wrap.js`
to support loading SNI Context from both hello, and resumed session.

fix #5967
doc/api/tls.markdown
lib/_tls_wrap.js
src/node_crypto_clienthello-inl.h
src/node_crypto_clienthello.cc
src/node_crypto_clienthello.h
src/tls_wrap.cc
src/tls_wrap.h
test/simple/test-tls-sni-option.js