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