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

Issue 2675593002: Spdy{RstStream,GoAway}Status -> SpdyErrorCode. (Closed)

Created:
3 years, 10 months ago by diannahu
Modified:
3 years, 10 months ago
Reviewers:
Bence
CC:
chromium-reviews, cbentzel+watch_chromium.org, bnc+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Spdy{RstStream,GoAway}Status -> SpdyErrorCode. Combine enums SpdyRstStreamStatus and SpdyGoawayStatus into SpdyErrorCode, and change underlying type to uint32. Also rename *status arguments, local variables, members, accessors, and log messages to *error_code. It seems to me that "status" is leftover terminology from early SPDY versions: RFC 7540 clearly talks about "error code". This CL lands server changes 144330546 and 145469431, and parts of 145013960, by bnc. BUG=488484 Review-Url: https://codereview.chromium.org/2675593002 Cr-Commit-Position: refs/heads/master@{#447994} Committed: https://chromium.googlesource.com/chromium/src/+/9904e270bbb387015073b4fe0153e667c09e155a

Patch Set 1 #

Patch Set 2 : Unsigned vs signed int #

Total comments: 7

Patch Set 3 : Revert accidental ERROR_CODE change. DO NOT SUBMIT until server change 145087791 is merged #

Patch Set 4 : Merged master, which includes 145087791. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -428 lines) Patch
M net/http/bidirectional_stream_unittest.cc View 8 chunks +9 lines, -7 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/quic/core/quic_headers_stream_test.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M net/quic/core/quic_spdy_session.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M net/spdy/bidirectional_stream_spdy_impl_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/buffered_spdy_framer.h View 4 chunks +7 lines, -7 lines 0 comments Download
M net/spdy/buffered_spdy_framer.cc View 4 chunks +9 lines, -9 lines 0 comments Download
M net/spdy/buffered_spdy_framer_unittest.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M net/spdy/http2_frame_decoder_adapter.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M net/spdy/mock_spdy_framer_visitor.h View 1 chunk +5 lines, -5 lines 0 comments Download
M net/spdy/spdy_deframer_visitor.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M net/spdy/spdy_framer.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_framer.cc View 1 2 3 4 chunks +10 lines, -11 lines 0 comments Download
M net/spdy/spdy_framer_decoder_adapter.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_framer_decoder_adapter.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M net/spdy/spdy_framer_test.cc View 1 2 3 15 chunks +21 lines, -21 lines 0 comments Download
M net/spdy/spdy_http_stream.cc View 2 chunks +3 lines, -1 line 0 comments Download
M net/spdy/spdy_http_stream_unittest.cc View 5 chunks +7 lines, -6 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 37 chunks +41 lines, -39 lines 0 comments Download
M net/spdy/spdy_no_op_visitor.h View 1 chunk +2 lines, -3 lines 0 comments Download
M net/spdy/spdy_protocol.h View 1 2 3 6 chunks +31 lines, -63 lines 0 comments Download
M net/spdy/spdy_protocol.cc View 1 2 3 3 chunks +27 lines, -36 lines 0 comments Download
M net/spdy/spdy_protocol_test_utils.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/spdy/spdy_proxy_client_socket_unittest.cc View 10 chunks +10 lines, -9 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 6 chunks +10 lines, -10 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 25 chunks +72 lines, -74 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 25 chunks +42 lines, -41 lines 0 comments Download
M net/spdy/spdy_stream.cc View 12 chunks +16 lines, -15 lines 0 comments Download
M net/spdy/spdy_stream_unittest.cc View 10 chunks +10 lines, -10 lines 0 comments Download
M net/spdy/spdy_test_util_common.h View 3 chunks +3 lines, -3 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 3 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
Bence
I know you didn't ask for a review, I jumped ahead proactively just to find ...
3 years, 10 months ago (2017-02-02 15:12:25 UTC) #10
diannahu
Thanks for your proactive review! I will rebase on your merge of 145087791 and then ...
3 years, 10 months ago (2017-02-02 15:58:09 UTC) #11
Bence
https://codereview.chromium.org/2675593002/diff/20001/net/spdy/spdy_protocol.cc File net/spdy/spdy_protocol.cc (right): https://codereview.chromium.org/2675593002/diff/20001/net/spdy/spdy_protocol.cc#newcode139 net/spdy/spdy_protocol.cc:139: const char* ErrorCodeToString(SpdyErrorCode error_code) { On 2017/02/02 15:58:09, diannahu ...
3 years, 10 months ago (2017-02-02 16:12:00 UTC) #12
diannahu
On 2017/02/02 16:12:00, Bence wrote: > https://codereview.chromium.org/2675593002/diff/20001/net/spdy/spdy_protocol.cc > File net/spdy/spdy_protocol.cc (right): > > https://codereview.chromium.org/2675593002/diff/20001/net/spdy/spdy_protocol.cc#newcode139 > ...
3 years, 10 months ago (2017-02-02 16:57:37 UTC) #13
diannahu
My magnum opus merge. :) Thanks for your reviews!
3 years, 10 months ago (2017-02-03 06:27:41 UTC) #18
Bence
LGTM. FYI you also accidentally included parts of 145013960, I changed the CL description accordingly.
3 years, 10 months ago (2017-02-03 14:30:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2675593002/60001
3 years, 10 months ago (2017-02-03 14:30:23 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 14:40:44 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/9904e270bbb387015073b4fe0153...

Powered by Google App Engine
This is Rietveld 408576698