Permalink
Browse files

Revert "Merge branch 'writev'"

This reverts commit cd9515e, reversing
changes made to df46c8e.

Too slow. Needs more work.
  • Loading branch information...
1 parent 794e7be commit 23204979926a3f69144be182786c5d2dcf58c0c2 @ry ry committed Nov 21, 2010
View
@@ -827,8 +827,8 @@ function connectionListener (socket) {
// No more messages to be pushed out.
// HACK: need way to do this with socket interface
- if (socket._writeWatcher.firstBucket) {
- socket.__destroyOnDrain = true;
+ if (socket._writeQueue.length) {
+ socket.__destroyOnDrain = true; //socket.end();
} else {
socket.destroy();
}
Oops, something went wrong.

0 comments on commit 2320497

Please sign in to comment.