1
This commit is contained in:
parent
8a86a795cd
commit
1d6990c401
@ -222,7 +222,7 @@ namespace a8
|
|||||||
currnode->bufflen - currnode->sent_bytes,
|
currnode->bufflen - currnode->sent_bytes,
|
||||||
0);
|
0);
|
||||||
#ifdef A8_PERFT
|
#ifdef A8_PERFT
|
||||||
PerfMonitor::Instance()->conn_send_bytes += len;
|
PerfMonitor::Instance()->conn_consume_bytes += len;
|
||||||
#endif
|
#endif
|
||||||
if (len > 0) {
|
if (len > 0) {
|
||||||
currnode->sent_bytes += len;
|
currnode->sent_bytes += len;
|
||||||
|
@ -69,7 +69,7 @@ namespace a8
|
|||||||
}
|
}
|
||||||
if (bufflen > 0) {
|
if (bufflen > 0) {
|
||||||
#ifdef A8_PERFT
|
#ifdef A8_PERFT
|
||||||
PerfMonitor::Instance()->conn_send_bytes += bufflen;
|
PerfMonitor::Instance()->server_send_bytes += bufflen;
|
||||||
#endif
|
#endif
|
||||||
a8::SendQueueNode* p = (a8::SendQueueNode*)malloc(sizeof(a8::SendQueueNode));
|
a8::SendQueueNode* p = (a8::SendQueueNode*)malloc(sizeof(a8::SendQueueNode));
|
||||||
memset(p, 0, sizeof(a8::SendQueueNode));
|
memset(p, 0, sizeof(a8::SendQueueNode));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user