+2
-1
lines changedFilter options
+2
-1
lines changed Original file line number Diff line number Diff line change
@@ -7449,7 +7449,8 @@ void srt::CUDT::bstats(CBytePerfMon *perf, bool clear, bool instantaneous)
7449
7449
7450
7450
if (m_pRcvBuffer)
7451
7451
{
7452
-
perf->byteAvailRcvBuf = getAvailRcvBufferSizeLock() * m_config.iMSS;
7452
+
ScopedLock lck(m_RcvBufferLock);
7453
+
perf->byteAvailRcvBuf = getAvailRcvBufferSizeNoLock() * m_config.iMSS;
7453
7454
if (instantaneous) // no need for historical API for Rcv side
7454
7455
{
7455
7456
perf->pktRcvBuf = m_pRcvBuffer->getRcvDataSize(perf->byteRcvBuf, perf->msRcvBuf);
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4