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

Issue 1636873006: server/prpc: updated server according to protocol (Closed)

Created:
4 years, 11 months ago by dnj
Modified:
4 years, 11 months ago
Reviewers:
dnj, Vadim Sh., iannucci, nodir
CC:
andrew.wang, chromium-reviews, infra-reviews+luci-go_chromium.org, M-A Ruel, tandrii+luci-go_chromium.org, todd
Base URL:
https://github.com/luci/luci-go@master
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

server/prpc: updated server according to protocol Update pRPC server to conform the protocol https://godoc.org/github.com/luci/luci-go/common/prpc#hdr-Protocol R=dnj@chromium.org BUG= Committed: https://github.com/luci/luci-go/commit/a35263a6fb32d3247fe84019e0e336223472c02a

Patch Set 1 #

Patch Set 2 : Removed some panics, malformed JSON now errors. #

Total comments: 10

Patch Set 3 : Respond to nits, escape externally-supplied strings when passed to format parameters. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -302 lines) Patch
A common/prpc/client.go View 1 chunk +12 lines, -0 lines 0 comments Download
M common/prpc/doc.go View 2 chunks +1 line, -4 lines 0 comments Download
M server/prpc/auth.go View 1 chunk +2 lines, -2 lines 0 comments Download
M server/prpc/decoding.go View 1 3 chunks +3 lines, -14 lines 0 comments Download
M server/prpc/decoding_test.go View 1 5 chunks +7 lines, -6 lines 0 comments Download
M server/prpc/encoding.go View 1 2 7 chunks +52 lines, -100 lines 0 comments Download
M server/prpc/encoding_test.go View 1 2 3 chunks +10 lines, -48 lines 0 comments Download
M server/prpc/error.go View 1 chunk +14 lines, -26 lines 0 comments Download
M server/prpc/error_test.go View 1 chunk +0 lines, -34 lines 0 comments Download
M server/prpc/method.go View 1 2 2 chunks +27 lines, -54 lines 0 comments Download
A server/prpc/response.go View 1 2 1 chunk +78 lines, -0 lines 0 comments Download
A server/prpc/response_test.go View 1 2 1 chunk +80 lines, -0 lines 0 comments Download
M server/prpc/server.go View 1 2 7 chunks +48 lines, -9 lines 0 comments Download
M server/prpc/server_test.go View 4 chunks +24 lines, -1 line 0 comments Download
M server/prpc/service.go View 1 chunk +0 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (8 generated)
dnj
PTAL. Continuation of: https://codereview.chromium.org/1638493004/
4 years, 11 months ago (2016-01-27 00:10:29 UTC) #2
nodir
lgtm
4 years, 11 months ago (2016-01-27 00:16:51 UTC) #6
iannucci
lgtm https://chromiumcodereview.appspot.com/1636873006/diff/20001/server/prpc/encoding.go File server/prpc/encoding.go (right): https://chromiumcodereview.appspot.com/1636873006/diff/20001/server/prpc/encoding.go#newcode23 server/prpc/encoding.go:23: csrfPrefix = ")]}'\n" gross. https://chromiumcodereview.appspot.com/1636873006/diff/20001/server/prpc/encoding.go#newcode78 server/prpc/encoding.go:78: res := ...
4 years, 11 months ago (2016-01-27 00:17:30 UTC) #8
Vadim Sh.
lgtm with nits https://codereview.chromium.org/1636873006/diff/20001/server/prpc/response.go File server/prpc/response.go (right): https://codereview.chromium.org/1636873006/diff/20001/server/prpc/response.go#newcode28 server/prpc/response.go:28: newLine bool // whether to write ...
4 years, 11 months ago (2016-01-27 00:21:10 UTC) #9
dnj
https://codereview.chromium.org/1636873006/diff/20001/server/prpc/encoding.go File server/prpc/encoding.go (right): https://codereview.chromium.org/1636873006/diff/20001/server/prpc/encoding.go#newcode23 server/prpc/encoding.go:23: csrfPrefix = ")]}'\n" On 2016/01/27 00:17:29, iannucci wrote: > ...
4 years, 11 months ago (2016-01-27 00:39:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636873006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636873006/40001
4 years, 11 months ago (2016-01-27 00:40:21 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 00:43:00 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-go/commit/a35263a6fb32d3247fe84019e0e336223472c02a

Powered by Google App Engine
This is Rietveld 408576698