axon-secure
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -282,4 +282,10 @@ | ||
var max = self.get('retry max timeout'); | ||
var addr = host + ':' + port; | ||
return function () { | ||
self.connected = false; | ||
if (~self.socks.indexOf(sock)) { | ||
debug('%s disconnect %s', self.type, addr); | ||
// client only | ||
self.emit('disconnect', sock); | ||
} | ||
self.removeSocket(sock); | ||
@@ -323,2 +329,3 @@ if (self.closing) { | ||
debug('%s disconnect %s', self.type, addr); | ||
// server only | ||
self.emit('disconnect', sock); | ||
@@ -325,0 +332,0 @@ self.removeSocket(sock); |
{ | ||
"name": "axon-secure", | ||
"description": "High-level messaging & socket patterns with optional encryption implemented in pure js", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"author": "Marcello Gesmundo <mgesmundo@yoovant.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38996
1088