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

Issue 205493005: Do minimal processing of gnubby data. Add request timeouts and send error (Closed)

Created:
6 years, 9 months ago by psj
Modified:
6 years, 9 months ago
Reviewers:
Sergey Ulanov, Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org, mschilder1, juanlang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Do minimal processing of gnubby data. Add request timeouts and send error responses as necessary. Requires gnubbyd 0.8.37 or later. BUG=134250 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258844

Patch Set 1 #

Patch Set 2 : Fix parameter type #

Total comments: 32

Patch Set 3 : Address review comments #

Total comments: 4

Patch Set 4 : Review comment changes #

Total comments: 12

Patch Set 5 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+396 lines, -583 lines) Patch
M remoting/host/gnubby_auth_handler_posix.h View 1 2 4 chunks +21 lines, -7 lines 0 comments Download
M remoting/host/gnubby_auth_handler_posix.cc View 1 2 3 4 11 chunks +113 lines, -85 lines 0 comments Download
M remoting/host/gnubby_auth_handler_posix_unittest.cc View 1 2 5 chunks +43 lines, -6 lines 0 comments Download
A remoting/host/gnubby_socket.h View 1 2 3 1 chunk +80 lines, -0 lines 0 comments Download
A remoting/host/gnubby_socket.cc View 1 2 3 1 chunk +116 lines, -0 lines 0 comments Download
D remoting/host/gnubby_util.h View 1 chunk +0 lines, -30 lines 0 comments Download
D remoting/host/gnubby_util.cc View 1 chunk +0 lines, -347 lines 0 comments Download
D remoting/host/gnubby_util_unittest.cc View 1 chunk +0 lines, -95 lines 0 comments Download
M remoting/remoting_host.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/remoting_test.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M remoting/webapp/gnubby_auth_handler.js View 1 2 3 4 3 chunks +21 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
psj
6 years, 9 months ago (2014-03-20 00:35:46 UTC) #1
Sergey Ulanov
https://codereview.chromium.org/205493005/diff/10012/remoting/host/gnubby_auth_handler_posix.cc File remoting/host/gnubby_auth_handler_posix.cc (right): https://codereview.chromium.org/205493005/diff/10012/remoting/host/gnubby_auth_handler_posix.cc#newcode262 remoting/host/gnubby_auth_handler_posix.cc:262: GnubbyAuthHandlerPosix::GetActiveSocket(base::DictionaryValue* dictionary) { Maybe GetSocketForMessage()? Also rename dictionary->message? https://codereview.chromium.org/205493005/diff/10012/remoting/host/gnubby_auth_handler_posix.cc#newcode281 ...
6 years, 9 months ago (2014-03-21 02:09:37 UTC) #2
psj
https://codereview.chromium.org/205493005/diff/10012/remoting/host/gnubby_auth_handler_posix.cc File remoting/host/gnubby_auth_handler_posix.cc (right): https://codereview.chromium.org/205493005/diff/10012/remoting/host/gnubby_auth_handler_posix.cc#newcode262 remoting/host/gnubby_auth_handler_posix.cc:262: GnubbyAuthHandlerPosix::GetActiveSocket(base::DictionaryValue* dictionary) { On 2014/03/21 02:09:37, Sergey Ulanov wrote: ...
6 years, 9 months ago (2014-03-21 21:30:45 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/205493005/diff/10012/remoting/host/gnubby_socket.h File remoting/host/gnubby_socket.h (right): https://codereview.chromium.org/205493005/diff/10012/remoting/host/gnubby_socket.h#newcode14 remoting/host/gnubby_socket.h:14: #include "net/socket/stream_listen_socket.h" On 2014/03/21 21:30:45, psj wrote: > On ...
6 years, 9 months ago (2014-03-21 22:53:16 UTC) #4
psj
https://codereview.chromium.org/205493005/diff/10012/remoting/host/gnubby_socket.h File remoting/host/gnubby_socket.h (right): https://codereview.chromium.org/205493005/diff/10012/remoting/host/gnubby_socket.h#newcode14 remoting/host/gnubby_socket.h:14: #include "net/socket/stream_listen_socket.h" On 2014/03/21 22:53:16, Sergey Ulanov wrote: > ...
6 years, 9 months ago (2014-03-21 23:24:17 UTC) #5
Sergey Ulanov
LGTM after my comments are addressed. https://codereview.chromium.org/205493005/diff/50001/remoting/host/gnubby_auth_handler_posix.cc File remoting/host/gnubby_auth_handler_posix.cc (right): https://codereview.chromium.org/205493005/diff/50001/remoting/host/gnubby_auth_handler_posix.cc#newcode79 remoting/host/gnubby_auth_handler_posix.cc:79: if (bytes->GetInteger(i, &value)) ...
6 years, 9 months ago (2014-03-22 00:45:56 UTC) #6
psj
https://codereview.chromium.org/205493005/diff/50001/remoting/host/gnubby_auth_handler_posix.cc File remoting/host/gnubby_auth_handler_posix.cc (right): https://codereview.chromium.org/205493005/diff/50001/remoting/host/gnubby_auth_handler_posix.cc#newcode79 remoting/host/gnubby_auth_handler_posix.cc:79: if (bytes->GetInteger(i, &value)) { On 2014/03/22 00:45:57, Sergey Ulanov ...
6 years, 9 months ago (2014-03-22 01:30:19 UTC) #7
Sergey Ulanov
lgtm
6 years, 9 months ago (2014-03-22 01:54:52 UTC) #8
psj
The CQ bit was checked by psj@chromium.org
6 years, 9 months ago (2014-03-22 02:54:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/psj@chromium.org/205493005/60001
6 years, 9 months ago (2014-03-22 02:55:01 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-22 02:56:33 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-22 02:56:33 UTC) #12
psj
The CQ bit was checked by psj@chromium.org
6 years, 9 months ago (2014-03-22 05:57:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/psj@chromium.org/205493005/60001
6 years, 9 months ago (2014-03-22 05:57:42 UTC) #14
commit-bot: I haz the power
6 years, 9 months ago (2014-03-24 02:33:45 UTC) #15
Message was sent while issue was closed.
Change committed as 258844

Powered by Google App Engine
This is Rietveld 408576698