DescriptionChange StunMessage::AddAttribute return type from bool to void.
Proper error handling was missing, using VERIFY to crash in debug
builds, while release builds would ignore the error and leak the
attribute memory. The check of attribute type consistency was changed
to a RTC_DCHECK.
Also removes a large number of uses of the deprecated VERIFY macro.
BUG=webrtc:6424
Review-Url: https://codereview.webrtc.org/2665343002
Cr-Commit-Position: refs/heads/master@{#16413}
Committed: https://chromium.googlesource.com/external/webrtc/+/cc99bc25d8bc8acc944b31d7ebcb5cb54b8fd2c7
Patch Set 1 #
Total comments: 3
Messages
Total messages: 12 (5 generated)
|