DescriptionFix XmppSignalStrategy to return correct result from SendStanza().
Previously XmppSignalStrategy::SendStanza() was returning true even
after write has failed on the socket. Failed socket write causes the
XMPP connection to be closed. When sending host offline reason that
results in HeartbeatSender being destroyed together with the IqSender
that was used to send the message, which was causing the crash in the
linked bug. Now IqSender::SendIq() can handle properly the case when
SignalStrategy::SendStanza() fails.
BUG=513951
Committed: https://crrev.com/f2382d91b38e9ea7469e3a9da289bb4e6e25cad8
Cr-Commit-Position: refs/heads/master@{#341243}
Patch Set 1 : #
Messages
Total messages: 12 (5 generated)
|