Add bytesWritten to tls.CryptoStream
authorAndy Burke <aburke@bitflood.org>
Wed, 23 Jan 2013 23:17:04 +0000 (15:17 -0800)
committerisaacs <i@izs.me>
Fri, 25 Jan 2013 00:48:49 +0000 (16:48 -0800)
commit595b5974d7fcb7ee415e8e4ce6ec182a07bc9dc1
tree7bd32be038c2265035be6137e1d60d1bdd0a64e9
parentf64742ea07d8f4b4f4ac391bc5f846fe7e4780de
Add bytesWritten to tls.CryptoStream

This adds a proxy for bytesWritten to the tls.CryptoStream.  This
change makes the connection object more similar between HTTP and
HTTPS requests in an effort to avoid confusion.

See issue #4650 for more background information.
doc/api/tls.markdown
lib/tls.js
test/simple/test-http-byteswritten.js [new file with mode: 0644]
test/simple/test-https-byteswritten.js [new file with mode: 0644]