[core] Log data not processed in event loop
This commit is contained in:
parent
ab5858376a
commit
f5e4ca6f6a
@ -1155,8 +1155,9 @@ static state_run_t peer_recv_callback(rdpTransport* transport, wStream* s, void*
|
||||
Stream_SetPosition(s, start);
|
||||
rc = peer_recv_callback_internal(transport, s, extra);
|
||||
|
||||
WLog_VRB(TAG, "(server)[%s -> %s] current return %s", old, rdp_get_state_string(rdp),
|
||||
state_run_result_string(rc, buffer, sizeof(buffer)));
|
||||
WLog_VRB(TAG, "(server)[%s -> %s] current return %s [%" PRIuz " bytes not processed]", old,
|
||||
rdp_get_state_string(rdp), state_run_result_string(rc, buffer, sizeof(buffer)),
|
||||
Stream_GetRemainingLength(s));
|
||||
} while ((rc == STATE_RUN_TRY_AGAIN) || (rc == STATE_RUN_CONTINUE) || (rc == STATE_RUN_ACTIVE));
|
||||
|
||||
return rc;
|
||||
|
@ -1984,8 +1984,9 @@ state_run_t rdp_recv_callback(rdpTransport* transport, wStream* s, void* extra)
|
||||
Stream_SetPosition(s, start);
|
||||
rc = rdp_recv_callback_int(transport, s, extra);
|
||||
|
||||
WLog_VRB(TAG, "(client)[%s -> %s] current return %s", old, rdp_get_state_string(rdp),
|
||||
state_run_result_string(rc, buffer, sizeof(buffer)));
|
||||
WLog_VRB(TAG, "(client)[%s -> %s] current return %s [%" PRIuz " bytes not processed]", old,
|
||||
rdp_get_state_string(rdp), state_run_result_string(rc, buffer, sizeof(buffer)),
|
||||
Stream_GetRemainingLength(s));
|
||||
} while ((rc == STATE_RUN_TRY_AGAIN) || (rc == STATE_RUN_CONTINUE));
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user