usrsctp: Log EWOULDBLOCK at verbose instead of info level in transport

Benchmarks will spam a lot of annoying lines because of this.

Bug: webrtc:13288
Change-Id: I1321abafb91baefcaa626a561bee58ca3f321291
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/235371
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35225}
This commit is contained in:
Florent Castelli 2021-10-18 11:09:44 +02:00 committed by WebRTC LUCI CQ
parent a563a2a361
commit b7919c7fc2

View File

@ -788,8 +788,8 @@ SendDataResult UsrsctpTransport::SendMessageInternal(OutgoingMessage* message) {
if (send_res < 0) {
if (errno == SCTP_EWOULDBLOCK) {
ready_to_send_data_ = false;
RTC_LOG(LS_INFO) << debug_name_
<< "->SendMessageInternal(...): EWOULDBLOCK returned";
RTC_LOG(LS_VERBOSE) << debug_name_
<< "->SendMessageInternal(...): EWOULDBLOCK returned";
return SDR_BLOCK;
}