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

Issue 2612293004: Rename SpdyRstStreamStatus and SpdyGoAwayStatus enum entries. (Closed)

Created:
3 years, 11 months ago by Bence
Modified:
3 years, 11 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename SpdyRstStreamStatus and SpdyGoAwayStatus enum entries. Rename and renumber enum entries to exactly match wire values defined in the HTTP/2 specification. In particular: * s/GOAWAY_OK/GOAWAY_NO_ERROR/ * s/RST_STREAM_INVALID_STREAM/RST_STREAM_STREAM_CLOSED/ * s/RST_STREAM_FRAME_TOO_LARGE/RST_STREAM_FRAME_SIZE_ERROR/ * Remove RST_STREAM_UNSUPPERTED_VERSION, RST_STREAM_IN_USE, RST_STREAM_ALREADY_CLOSED. Change string serialization values only used for log messages. RST_STREAM_INVALID_STREAM and RST_STREAM_STREAM_CLOSED were used interchangeably. Now RST_STREAM_INVALID_STREAM is removed in favor of RST_STREAM_STREAM_CLOSED. This CL also renames STATUS_CODE_INVALID_STREAM to STATUS_CODE_STREAM_CLOSED, and changes description in histograms.xml. Also add STATUS_CODE_COMPRESSION_ERROR to SpdyProtocolErrorDetails, to correctly log incoming RST_STREAMs with RST_STREAM_COMPRESSION_ERROR. This CL lands server change 143555862 by bnc. BUG=488484 Review-Url: https://codereview.chromium.org/2612293004 Cr-Commit-Position: refs/heads/master@{#443002} Committed: https://chromium.googlesource.com/chromium/src/+/5221fd1d6caa0d84ad5a0f8abb4bd745f0170b94

Patch Set 1 #

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -82 lines) Patch
M net/spdy/spdy_framer.cc View 1 2 chunks +14 lines, -16 lines 0 comments Download
M net/spdy/spdy_framer_test.cc View 4 chunks +23 lines, -12 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_protocol.h View 1 1 chunk +14 lines, -22 lines 0 comments Download
M net/spdy/spdy_session.h View 1 3 chunks +11 lines, -9 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 3 chunks +13 lines, -19 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (9 generated)
Bence
Ryan: PTAL at net/ Ilya: PTAL at tools/metrics/histograms/ Thank you both.
3 years, 11 months ago (2017-01-06 18:16:31 UTC) #6
Ilya Sherman
histograms.xml lgtm
3 years, 11 months ago (2017-01-06 20:13:53 UTC) #7
Ryan Hamilton
lgtm
3 years, 11 months ago (2017-01-10 22:47:02 UTC) #8
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/2612293004/20001
3 years, 11 months ago (2017-01-11 18:24:32 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 22:06:53 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5221fd1d6caa0d84ad5a0f8abb4b...

Powered by Google App Engine
This is Rietveld 408576698