Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

warn instead of quit if wrong proxyID is called

  • Loading branch information...
commit df383d3e8749cf6706ff5a086a226695cbb9f9dc 1 parent 7dd1f94
@kaven276 authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/ext_hub.js
View
4 lib/ext_hub.js
@@ -95,6 +95,10 @@ var server = net.createServer(function(oraSock){
, oraSeq = oraSock.oraSeq++
;
+ if (!wpw) {
+ console.warn('%s, proxy %d is not exists', new Date(), proxyID);
+ return;
+ }
wpw.whenHaveFreeTraceBackID(oraReq.readInt32BE(0) > 0, function(rpcSeq){
if (rpcSeq === 0) {
// for no reply or no rpc requests
Please sign in to comment.
Something went wrong with that request. Please try again.