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

Issue 138243003: Implement basic classes for HPACK (HTTP/2 compression) (Closed)

Created:
6 years, 11 months ago by Johnny
Modified:
6 years, 11 months ago
Reviewers:
akalin
CC:
chromium-reviews, cbentzel+watch_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

Implement basic classes for HPACK (HTTP/2 compression) Create HpackEncodingContext, HpackHeaderTable, and HpackEntry classes, which are based on the draft http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-04 . Implement some basic tests. This implementation is based on https://github.com/akalin-chromium/httpbis-header-compression and https://codereview.chromium.org/22074002/ (which was based on an earlier draft). This lands server change 55803359 by akalin. R=akalin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245162

Patch Set 1 #

Patch Set 2 : Fixing net.gyp ordering. #

Patch Set 3 : And removing tabs from net.gyp... #

Total comments: 2

Patch Set 4 : Linker errors and sign comparison. #

Patch Set 5 : Adding license to new HPACK sources. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1284 lines, -0 lines) Patch
M net/net.gyp View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
A net/spdy/hpack_encoding_context.h View 1 2 3 4 1 chunk +104 lines, -0 lines 0 comments Download
A net/spdy/hpack_encoding_context.cc View 1 2 3 4 1 chunk +198 lines, -0 lines 0 comments Download
A net/spdy/hpack_encoding_context_test.cc View 1 2 3 4 1 chunk +125 lines, -0 lines 0 comments Download
A net/spdy/hpack_entry.h View 1 2 3 4 1 chunk +103 lines, -0 lines 0 comments Download
A net/spdy/hpack_entry.cc View 1 2 3 4 1 chunk +81 lines, -0 lines 0 comments Download
A net/spdy/hpack_entry_test.cc View 1 2 3 4 1 chunk +151 lines, -0 lines 0 comments Download
A net/spdy/hpack_header_table.h View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
A net/spdy/hpack_header_table.cc View 1 2 3 4 1 chunk +74 lines, -0 lines 0 comments Download
A net/spdy/hpack_header_table_test.cc View 1 2 3 4 1 chunk +219 lines, -0 lines 0 comments Download
A net/spdy/hpack_string_util.h View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A net/spdy/hpack_string_util.cc View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A net/spdy/hpack_string_util_test.cc View 1 2 3 4 1 chunk +98 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Johnny
PTAL
6 years, 11 months ago (2014-01-14 16:49:28 UTC) #1
akalin
lgtm, assuming tryjobs pass, etc. https://codereview.chromium.org/138243003/diff/90001/net/spdy/hpack_string_util_test.cc File net/spdy/hpack_string_util_test.cc (right): https://codereview.chromium.org/138243003/diff/90001/net/spdy/hpack_string_util_test.cc#newcode25 net/spdy/hpack_string_util_test.cc:25: // TODO(jgraettinger): Support this ...
6 years, 11 months ago (2014-01-14 20:54:10 UTC) #2
akalin
On 2014/01/14 20:54:10, akalin wrote: > lgtm, assuming tryjobs pass, etc. > > https://codereview.chromium.org/138243003/diff/90001/net/spdy/hpack_string_util_test.cc > ...
6 years, 11 months ago (2014-01-14 20:55:28 UTC) #3
akalin
On 2014/01/14 20:55:28, akalin wrote: > On 2014/01/14 20:54:10, akalin wrote: > > lgtm, assuming ...
6 years, 11 months ago (2014-01-14 20:58:19 UTC) #4
Johnny
> Also, aren't there a few changes before this one that should get landed too? ...
6 years, 11 months ago (2014-01-14 21:10:25 UTC) #5
Johnny
https://codereview.chromium.org/138243003/diff/90001/net/spdy/hpack_string_util_test.cc File net/spdy/hpack_string_util_test.cc (right): https://codereview.chromium.org/138243003/diff/90001/net/spdy/hpack_string_util_test.cc#newcode25 net/spdy/hpack_string_util_test.cc:25: // TODO(jgraettinger): Support this benchmark. Correct, not that I ...
6 years, 11 months ago (2014-01-14 21:11:20 UTC) #6
akalin
On 2014/01/14 21:10:25, Johnny wrote: > > Also, aren't there a few changes before this ...
6 years, 11 months ago (2014-01-15 01:18:11 UTC) #7
akalin
On 2014/01/15 01:18:11, akalin wrote: > On 2014/01/14 21:10:25, Johnny wrote: > > > Also, ...
6 years, 11 months ago (2014-01-15 01:19:23 UTC) #8
Johnny
Looks like PS4 did the trick, though I'm not sure why this issue hasn't updated ...
6 years, 11 months ago (2014-01-15 16:25:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jgraettinger@chromium.org/138243003/260001
6 years, 11 months ago (2014-01-15 17:40:44 UTC) #10
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=44897
6 years, 11 months ago (2014-01-15 18:22:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jgraettinger@chromium.org/138243003/370001
6 years, 11 months ago (2014-01-15 23:53:02 UTC) #12
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 06:15:21 UTC) #13
Message was sent while issue was closed.
Change committed as 245162

Powered by Google App Engine
This is Rietveld 408576698