32 lines
983 B
Diff
32 lines
983 B
Diff
--- ../node/lib/net.js 2014-01-27 14:53:21 -0800
|
|
+++ src/main/js/lib/net.js 2014-01-27 14:53:47 -0800
|
|
@@ -396,7 +396,7 @@
|
|
Socket.prototype.end = function(data, encoding) {
|
|
stream.Duplex.prototype.end.call(this, data, encoding);
|
|
this.writable = false;
|
|
- DTRACE_NET_STREAM_END(this);
|
|
+ //DTRACE_NET_STREAM_END(this);
|
|
|
|
// just in case we're waiting for an EOF.
|
|
if (this.readable && !this._readableState.endEmitted)
|
|
@@ -473,7 +473,7 @@
|
|
this.destroyed = true;
|
|
|
|
if (this.server) {
|
|
- COUNTER_NET_SERVER_CONNECTION_CLOSE(this);
|
|
+ //COUNTER_NET_SERVER_CONNECTION_CLOSE(this);
|
|
debug('has server');
|
|
this.server._connections--;
|
|
if (this.server._emitCloseIfDrained) {
|
|
@@ -1183,8 +1183,8 @@
|
|
self._connections++;
|
|
socket.server = self;
|
|
|
|
- DTRACE_NET_SERVER_CONNECTION(socket);
|
|
- COUNTER_NET_SERVER_CONNECTION(socket);
|
|
+ //DTRACE_NET_SERVER_CONNECTION(socket);
|
|
+ //COUNTER_NET_SERVER_CONNECTION(socket);
|
|
self.emit('connection', socket);
|
|
}
|
|
|