Comparing version 0.4.5 to 0.4.6
@@ -55,3 +55,3 @@ var http = require('http'); | ||
} | ||
if (that.listeners('request').length) { | ||
if (that.listeners('request').length || server.listeners('request').length > 1) { | ||
return; | ||
@@ -77,3 +77,3 @@ } | ||
} | ||
if (that.listeners('upgrade').length) { | ||
if (that.listeners('upgrade').length || server.listeners('upgrade').length > 1) { | ||
return; | ||
@@ -80,0 +80,0 @@ } |
{ | ||
"name":"router", | ||
"version":"0.4.5", | ||
"version":"0.4.6", | ||
"description":"A lean and mean web router", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
7508