projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f7c06
)
Clean up
author
Ryan Dahl
<ry@tinyclouds.org>
Thu, 3 Feb 2011 20:28:20 +0000
(12:28 -0800)
committer
Ryan Dahl
<ry@tinyclouds.org>
Thu, 3 Feb 2011 20:28:20 +0000
(12:28 -0800)
lib/tls.js
patch
|
blob
|
history
diff --git
a/lib/tls.js
b/lib/tls.js
index
6204a9c
..
afca4c6
100644
(file)
--- a/
lib/tls.js
+++ b/
lib/tls.js
@@
-289,8
+289,9
@@
CryptoStream.prototype._pull = function() {
// TODO check if we get EAGAIN From shutdown, would have to do it
// again. should unshift END_OF_FILE back onto pending and wait for
// next cycle.
+
+ this.pair.encrypted._destroyAfterPush = true;
}
- this.pair.encrypted._destroyAfterPush = true;
this.pair._cycle();
this._done()
return;