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

Issue 9452038: Implement timeouts for IQ requests. (Closed)

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

Description

Implement timeouts for IQ requests. Now the IqRequest class supports setting timeouts for each request, and JingleSession uses it to disconnect if no response is receive within 10 secons from a request. BUG=107925 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123680

Patch Set 1 : - #

Total comments: 12

Patch Set 2 : - #

Patch Set 3 : - #

Patch Set 4 : fix release build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -115 lines) Patch
M remoting/host/heartbeat_sender.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/heartbeat_sender.cc View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/heartbeat_sender_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/register_support_host_request.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/register_support_host_request.cc View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/host/register_support_host_request_unittest.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M remoting/jingle_glue/iq_sender.h View 1 2 3 3 chunks +20 lines, -3 lines 0 comments Download
M remoting/jingle_glue/iq_sender.cc View 1 2 3 3 chunks +53 lines, -8 lines 0 comments Download
M remoting/jingle_glue/iq_sender_unittest.cc View 1 4 chunks +82 lines, -23 lines 0 comments Download
M remoting/jingle_glue/jingle_info_request.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/jingle_glue/jingle_info_request.cc View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/protocol/jingle_messages.h View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/protocol/jingle_messages.cc View 2 chunks +6 lines, -1 line 0 comments Download
M remoting/protocol/jingle_session.h View 1 2 5 chunks +14 lines, -10 lines 0 comments Download
M remoting/protocol/jingle_session.cc View 1 2 3 10 chunks +94 lines, -60 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Sergey Ulanov
8 years, 10 months ago (2012-02-23 22:56:23 UTC) #1
simonmorris
http://codereview.chromium.org/9452038/diff/2001/remoting/jingle_glue/iq_sender.cc File remoting/jingle_glue/iq_sender.cc (right): http://codereview.chromium.org/9452038/diff/2001/remoting/jingle_glue/iq_sender.cc#newcode114 remoting/jingle_glue/iq_sender.cc:114: This is fragile if the host can send multiple ...
8 years, 10 months ago (2012-02-24 00:11:31 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/9452038/diff/2001/remoting/jingle_glue/iq_sender.cc File remoting/jingle_glue/iq_sender.cc (right): http://codereview.chromium.org/9452038/diff/2001/remoting/jingle_glue/iq_sender.cc#newcode114 remoting/jingle_glue/iq_sender.cc:114: On 2012/02/24 00:11:31, simonmorris wrote: > This is fragile ...
8 years, 10 months ago (2012-02-24 21:56:31 UTC) #3
simonmorris
http://codereview.chromium.org/9452038/diff/2001/remoting/jingle_glue/iq_sender.cc File remoting/jingle_glue/iq_sender.cc (right): http://codereview.chromium.org/9452038/diff/2001/remoting/jingle_glue/iq_sender.cc#newcode114 remoting/jingle_glue/iq_sender.cc:114: On 2012/02/24 21:56:31, sergeyu wrote: > On 2012/02/24 00:11:31, ...
8 years, 10 months ago (2012-02-24 22:32:50 UTC) #4
Sergey Ulanov
http://codereview.chromium.org/9452038/diff/2001/remoting/protocol/jingle_session.cc File remoting/protocol/jingle_session.cc (right): http://codereview.chromium.org/9452038/diff/2001/remoting/protocol/jingle_session.cc#newcode510 remoting/protocol/jingle_session.cc:510: // sent before it. On 2012/02/24 22:32:51, simonmorris wrote: ...
8 years, 10 months ago (2012-02-25 00:11:52 UTC) #5
simonmorris
LGTM http://codereview.chromium.org/9452038/diff/2001/remoting/protocol/jingle_session.cc File remoting/protocol/jingle_session.cc (right): http://codereview.chromium.org/9452038/diff/2001/remoting/protocol/jingle_session.cc#newcode510 remoting/protocol/jingle_session.cc:510: // sent before it. On 2012/02/25 00:11:52, sergeyu ...
8 years, 10 months ago (2012-02-25 00:25:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/9452038/10003
8 years, 10 months ago (2012-02-25 01:44:35 UTC) #7
commit-bot: I haz the power
Change committed as 123635
8 years, 10 months ago (2012-02-25 03:32:48 UTC) #8
jamesr
On 2012/02/25 03:32:48, I haz the power (commit-bot) wrote: > Change committed as 123635 This ...
8 years, 10 months ago (2012-02-25 03:52:30 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/9452038/11003
8 years, 10 months ago (2012-02-25 22:50:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/9452038/11003
8 years, 10 months ago (2012-02-25 22:52:28 UTC) #11
commit-bot: I haz the power
8 years, 10 months ago (2012-02-26 00:28:09 UTC) #12
Change committed as 123680

Powered by Google App Engine
This is Rietveld 408576698