Explorar el Código

Fixes crash when user is not properly identified

Esteban Ordano hace 10 años
padre
commit
66db80c00d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      lib/server.js

+ 1 - 0
lib/server.js

@@ -199,6 +199,7 @@ app._initializeHTTP = function() {
     if (!self._clients[key] || !(client = self._clients[key][id])) {
       if (req.params.retry) {
         res.sendStatus(401);
+        return;
       } else {
         // Retry this request
         req.params.retry = true;