Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Issue 2042513002: Move the routing-info inside the jingle element. (Closed)

Created:
4 years, 6 months ago by kelvinp
Modified:
4 years, 6 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the routing-info inside the jingle element. Previously, routing info are encoded in the iq node. When the host is offline, the talk network responds with an error IQ that doesn't get relayed to the client because it doesn't have the routing info that the signaling service needs. Since an error IQ always contain the original request, by moving the routing info inside the original jingle request, we can reliably route the error message back to the client. BUG=618143 Committed: https://crrev.com/046534d38813b82d7f3bcb61b7f8c2fdc7f9cc74 Cr-Commit-Position: refs/heads/master@{#398383}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Reviewer's feedback #

Patch Set 3 : log incoming stanzas #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -36 lines) Patch
M remoting/protocol/jingle_messages.cc View 1 4 chunks +47 lines, -21 lines 0 comments Download
M remoting/protocol/jingle_messages_unittest.cc View 1 4 chunks +18 lines, -14 lines 0 comments Download
M remoting/signaling/xmpp_signal_strategy.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
kelvinp
PTAL
4 years, 6 months ago (2016-06-03 22:23:29 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/2042513002/diff/1/remoting/protocol/jingle_messages.cc File remoting/protocol/jingle_messages.cc (right): https://codereview.chromium.org/2042513002/diff/1/remoting/protocol/jingle_messages.cc#newcode243 remoting/protocol/jingle_messages.cc:243: XmlElement* jingle = EnsureJingleTag(iq); I suggest passing a pointer ...
4 years, 6 months ago (2016-06-04 17:10:31 UTC) #4
kelvinp
PTAL https://codereview.chromium.org/2042513002/diff/1/remoting/protocol/jingle_messages.cc File remoting/protocol/jingle_messages.cc (right): https://codereview.chromium.org/2042513002/diff/1/remoting/protocol/jingle_messages.cc#newcode243 remoting/protocol/jingle_messages.cc:243: XmlElement* jingle = EnsureJingleTag(iq); On 2016/06/04 17:10:31, Sergey ...
4 years, 6 months ago (2016-06-06 20:43:41 UTC) #5
Sergey Ulanov
lgtm
4 years, 6 months ago (2016-06-07 16:10:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042513002/20001
4 years, 6 months ago (2016-06-07 20:32:47 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-07 21:38:01 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 21:39:38 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/046534d38813b82d7f3bcb61b7f8c2fdc7f9cc74
Cr-Commit-Position: refs/heads/master@{#398383}

Powered by Google App Engine
This is Rietveld 408576698