net-ipc
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "net-ipc", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Simple message based IPC client/server providing bi-directional communication over sockets and TCP. Supports one-way messages, promise-based request-response, survey, broadcast and zlib-stream compression", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -53,3 +53,2 @@ "use strict"; | ||
this.connection = new Socket(); | ||
this.connection._buffer = Buffer.allocUnsafe(0); | ||
this.connection.setKeepAlive(true); | ||
@@ -56,0 +55,0 @@ this.connection.on(ConnectionEvents.ERROR, this._onerror.bind(this)); |
@@ -11,3 +11,2 @@ "use strict"; | ||
this.connection = socket; | ||
this.connection._buffer = Buffer.allocUnsafe(0); | ||
this.connection.on(ConnectionEvents.ERROR, this._onerror.bind(this)); | ||
@@ -14,0 +13,0 @@ this.connection.on(ConnectionEvents.CLOSE, this._onclose.bind(this)); |
@@ -195,5 +195,4 @@ "use strict"; | ||
_requests: {}, | ||
_buffer: "", | ||
_zlib, | ||
_msgpack | ||
}; |
45820
1033