crypto: do not move half-filled write head
authorFedor Indutny <fedor.indutny@gmail.com>
Tue, 25 Jun 2013 21:31:10 +0000 (23:31 +0200)
committerFedor Indutny <fedor.indutny@gmail.com>
Wed, 26 Jun 2013 10:36:56 +0000 (12:36 +0200)
commit4ae96c885bd3118a1f19972b90aabbc83cf5b20b
tree906ac806766750f7d83dbf886525fc7f76335e86
parentadf9b67e591fe1df9589412a75bad357a9410aa3
crypto: do not move half-filled write head

Might cause write head running over read head, when there were no
allocation and `Commit()` was called. Source of at least one test
failure on windows (`simple/test-https-drain.js`).
src/node_crypto_bio.cc