Skip to content

Commit

Permalink
try and try
Browse files Browse the repository at this point in the history
  • Loading branch information
W. Cole Davis committed Aug 22, 2012
1 parent 2a7819d commit d9a604e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/proxy_controller.js
Expand Up @@ -50,7 +50,8 @@ regexp:true, undef:true, strict:true, trailing:true, white:true */
X.warn("Invalid or missing cookie on upgrade request", req);
return; // ??????????
}
sid = X.json(cookie.xtsessioncookie).sid;
cookie = X.json(cookie.xtsessioncookie);
sid = cookie? cookie.sid: null;
if (X.none(sid) || X.none(map[sid])) {
X.warn("Invalid or missing session id on upgrade request", req);
return; // ??????????
Expand Down

0 comments on commit d9a604e

Please sign in to comment.