提交 e9d4c60d authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Working on 3.3.5

上级 791c8110
# Changelog
### 3.3.5 (WIP)
* Fix usage of a deallocated `RTC::TcpConnection` instance under heavy CPU usage due to mediasoup deleting the instance in the middle of a receiving iteration. Fixes #333.
- More details in the commit: https://github.com/versatica/mediasoup/commit/49824baf102ab6d2b01e5bca565c29b8ac0fec22
### 3.3.4
* IPv6 fix: Use `INET6_ADDRSTRLEN` instead of `INET_ADDRSTRLEN`.
......
......@@ -238,10 +238,6 @@ void TcpConnection::Write(const uint8_t* data, size_t len, TcpConnection::onSend
written = 0;
}
// MS_DEBUG_DEV(
// "could just write %zu bytes (%zu given) at first time, using uv_write() now",
// static_cast<size_t>(written), len);
size_t pendingLen = len - written;
auto* writeData = new UvWriteData(pendingLen);
......
......@@ -182,8 +182,6 @@ void UdpSocket::Send(
MS_WARN_DEV("uv_udp_send() failed, trying uv_udp_send(): %s", uv_strerror(sent));
}
// MS_DEBUG_DEV("could not send the datagram at first time, using uv_udp_send() now");
auto* sendData = new UvSendData(len);
sendData->req.data = static_cast<void*>(sendData);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论