"pong" compiled.
This commit is contained in:
parent
ed676d5140
commit
585bf5e5e9
|
@ -3654,9 +3654,8 @@ NAN_METHOD(HookPackets) {
|
||||||
assert(written == 20);
|
assert(written == 20);
|
||||||
o->Set(NanNew<String>("nonce"), NanNew<String>(sNonce));
|
o->Set(NanNew<String>("nonce"), NanNew<String>(sNonce));
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
} else if (strCommand == "pong") {
|
} else if (strCommand == "pong") {
|
||||||
int64_t pingUsecEnd = nTimeReceived;
|
int64_t pingUsecEnd = cur->nTimeReceived;
|
||||||
uint64_t nonce = 0;
|
uint64_t nonce = 0;
|
||||||
size_t nAvail = cur->vRecv->in_avail();
|
size_t nAvail = cur->vRecv->in_avail();
|
||||||
bool bPingFinished = false;
|
bool bPingFinished = false;
|
||||||
|
@ -3717,6 +3716,7 @@ NAN_METHOD(HookPackets) {
|
||||||
} else {
|
} else {
|
||||||
o->Set(NanNew<String>("finished"), NanNew<Boolean>(false));
|
o->Set(NanNew<String>("finished"), NanNew<Boolean>(false));
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
} else if (strCommand == "alert") {
|
} else if (strCommand == "alert") {
|
||||||
CAlert alert;
|
CAlert alert;
|
||||||
*cur->vRecv >> alert;
|
*cur->vRecv >> alert;
|
||||||
|
|
Loading…
Reference in New Issue