tls: emit 'end' on .receivedShutdown
authorFedor Indutny <fedor.indutny@gmail.com>
Mon, 9 Dec 2013 15:47:55 +0000 (19:47 +0400)
committerFedor Indutny <fedor.indutny@gmail.com>
Tue, 10 Dec 2013 18:56:01 +0000 (22:56 +0400)
commit4a2792cd2f86403a71edf65d82600b6aad5713bf
tree5e932adf6547f8231ecc08b381b88cf12569f5a7
parent92bbd60a3ffaf7b22e29576d720027cc835bf60e
tls: emit 'end' on .receivedShutdown

NOTE: Also removed `.receivedShutdown` method of `Connection` it wasn't
documented anywhere, and was rewritten with `true` after receiving
`close_notify`.

fix #6638
lib/tls.js
src/node_crypto.cc
src/node_crypto.h
test/simple/test-tls-close-notify.js [new file with mode: 0644]