mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 08:24:16 +09:00
[core,transport] dump streampool statistics
when waiting for streampool used streams to be returned print out the locations of streams still in use
This commit is contained in:
@@ -1730,6 +1730,10 @@ void transport_free(rdpTransport* transport)
|
||||
if (used == 0)
|
||||
break;
|
||||
WLog_Print(transport->log, WLOG_WARN, "%" PRIuz " streams still in use, sleeping...", used);
|
||||
|
||||
char buffer[4096] = { 0 };
|
||||
StreamPool_GetStatistics(transport->ReceivePool, buffer, sizeof(buffer));
|
||||
WLog_Print(transport->log, WLOG_WARN, "Pool statistics: %s", buffer);
|
||||
Sleep(100);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user