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

Issue 98173006: Fix LibjingleTransportFactory to refresh STUN/Relay. (Closed)

Created:
7 years ago by Sergey Ulanov
Modified:
7 years ago
Reviewers:
rmsousa
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, weitaosu+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Fix LibjingleTransportFactory to refresh STUN/Relay. Previously chromoting host would get relay info only when started. Relay token expires within several hours, which means relay session creation would always fail from the host running for longer than several hours, and that makes connection impossible in some configurations. Moved code that gets Jingle info to LibjingleTransportFactory and it's responsible for refreshing relay token every hour. BUG=318897 R=rmsousa@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240926 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240997

Patch Set 1 : #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -179 lines) Patch
M remoting/client/jni/chromoting_jni_instance.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/it2me/it2me_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/session_manager_factory.h View 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/session_manager_factory.cc View 2 chunks +4 lines, -11 lines 0 comments Download
M remoting/jingle_glue/jingle_info_request.h View 2 chunks +7 lines, -11 lines 0 comments Download
M remoting/jingle_glue/jingle_info_request.cc View 1 2 4 chunks +25 lines, -5 lines 0 comments Download
M remoting/protocol/connection_to_host.cc View 1 chunk +1 line, -2 lines 0 comments Download
M remoting/protocol/jingle_session_manager.h View 1 2 3 chunks +1 line, -12 lines 0 comments Download
M remoting/protocol/jingle_session_manager.cc View 1 6 chunks +10 lines, -41 lines 0 comments Download
M remoting/protocol/jingle_session_unittest.cc View 2 chunks +7 lines, -5 lines 0 comments Download
M remoting/protocol/libjingle_transport_factory.h View 1 2 2 chunks +27 lines, -8 lines 0 comments Download
M remoting/protocol/libjingle_transport_factory.cc View 1 14 chunks +112 lines, -31 lines 0 comments Download
M remoting/protocol/session_manager.h View 1 chunk +0 lines, -1 line 0 comments Download
M remoting/protocol/transport.h View 1 2 chunks +5 lines, -3 lines 0 comments Download
D remoting/protocol/transport_config.h View 1 chunk +0 lines, -25 lines 0 comments Download
D remoting/protocol/transport_config.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Sergey Ulanov
7 years ago (2013-12-12 02:56:07 UTC) #1
rmsousa
lgtm w/ comments https://codereview.chromium.org/98173006/diff/40001/remoting/protocol/jingle_session_manager.cc File remoting/protocol/jingle_session_manager.cc (right): https://codereview.chromium.org/98173006/diff/40001/remoting/protocol/jingle_session_manager.cc#newcode84 remoting/protocol/jingle_session_manager.cc:84: listener_->OnSessionManagerReady(); Should we invalidate the transport ...
7 years ago (2013-12-13 22:10:39 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/98173006/diff/40001/remoting/protocol/jingle_session_manager.cc File remoting/protocol/jingle_session_manager.cc (right): https://codereview.chromium.org/98173006/diff/40001/remoting/protocol/jingle_session_manager.cc#newcode84 remoting/protocol/jingle_session_manager.cc:84: listener_->OnSessionManagerReady(); On 2013/12/13 22:10:40, rmsousa wrote: > Should we ...
7 years ago (2013-12-13 23:54:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/98173006/100001
7 years ago (2013-12-14 06:31:17 UTC) #4
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=204073
7 years ago (2013-12-14 07:04:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/98173006/100001
7 years ago (2013-12-14 07:53:30 UTC) #6
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=101198
7 years ago (2013-12-14 08:24:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/98173006/100001
7 years ago (2013-12-14 08:33:00 UTC) #8
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=101203
7 years ago (2013-12-14 09:03:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/98173006/100001
7 years ago (2013-12-14 17:56:35 UTC) #10
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=133183
7 years ago (2013-12-14 18:32:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/98173006/100001
7 years ago (2013-12-14 22:46:53 UTC) #12
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=101259
7 years ago (2013-12-14 23:13:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/98173006/100001
7 years ago (2013-12-15 03:02:50 UTC) #14
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=133230
7 years ago (2013-12-15 03:38:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/98173006/100001
7 years ago (2013-12-15 22:47:00 UTC) #16
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=133281
7 years ago (2013-12-15 23:23:59 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/98173006/100001
7 years ago (2013-12-16 09:35:40 UTC) #18
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=133352
7 years ago (2013-12-16 10:25:16 UTC) #19
Sergey Ulanov
Committed patchset #3 manually as r240926 (presubmit successful).
7 years ago (2013-12-16 18:08:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/98173006/120001
7 years ago (2013-12-16 18:27:52 UTC) #21
Sergey Ulanov
7 years ago (2013-12-16 20:09:43 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 manually as r240997 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698