tls: process accumulated input
authorFedor Indutny <fedor.indutny@gmail.com>
Thu, 23 Jan 2014 12:55:28 +0000 (16:55 +0400)
committerFedor Indutny <fedor.indutny@gmail.com>
Thu, 23 Jan 2014 16:39:32 +0000 (20:39 +0400)
commitc79c304ead2e16082465a61156d9e29b01a7909e
tree9e9b94fbda637ad5c864540ede607651c0e1a0cd
parent56ebf308dc9a641dbe432b38d7df257ffec855d5
tls: process accumulated input

When creating TLSSocket on top of the regular socket that already
contains some received data, `_tls_wrap.js` should try to write all that
data to the internal `SSL*` instance.

fix #6940
lib/_tls_wrap.js
src/tls_wrap.cc
src/tls_wrap.h
test/simple/test-tls-delayed-attach.js [new file with mode: 0644]