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

Issue 1390353005: Web Socket compression - take two (Closed)

Created:
5 years, 2 months ago by butlermatt
Modified:
5 years, 1 month ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Web Socket compression - take two Resolve issues with typed data tests and compression. Uses HeaderValues to parse permessage_deflate option. Includes changes from https://codereview.chromium.org/1208473005/ BUG=https://github.com/dart-lang/sdk/issues/14441 R=sgjesse@google.com Committed: https://github.com/dart-lang/sdk/commit/59bb84127b63a7516a32a32eae6a6839420709db Reverted: https://github.com/dart-lang/sdk/commit/d1e01e205a615257ba9391cb531ad8b053af1fed Additional fixes for failing tests. Committed: https://github.com/dart-lang/sdk/commit/95bb2159d9fb7f44d3bbc99932a57173e1b464aa

Patch Set 1 #

Total comments: 53

Patch Set 2 : Add custom compression header test #

Total comments: 14

Patch Set 3 : Address comments before rebase #

Patch Set 4 : Rebase update #

Patch Set 5 : Fix issue with invalid message not throwing #

Patch Set 6 : Add valueSeparator param to HeaderValue.parse #

Patch Set 7 : Rebase update #

Patch Set 8 : Fix observatory issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+818 lines, -277 lines) Patch
M sdk/lib/io/http.dart View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/io/http_headers.dart View 1 2 3 4 5 8 chunks +26 lines, -7 lines 0 comments Download
M sdk/lib/io/websocket.dart View 1 2 9 chunks +168 lines, -14 lines 0 comments Download
M sdk/lib/io/websocket_impl.dart View 1 2 3 4 5 6 7 30 chunks +442 lines, -241 lines 0 comments Download
A tests/standalone/io/web_socket_compression_test.dart View 1 2 3 4 5 6 7 1 chunk +153 lines, -0 lines 0 comments Download
M tests/standalone/io/web_socket_typed_data_test.dart View 9 chunks +27 lines, -15 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
butlermatt
Continuation of web socket compression originally started by Kenneth. I've added him as a reviewer ...
5 years, 2 months ago (2015-10-13 15:21:32 UTC) #2
alexandre.ardhuin
https://codereview.chromium.org/1390353005/diff/1/sdk/lib/io/websocket_impl.dart File sdk/lib/io/websocket_impl.dart (right): https://codereview.chromium.org/1390353005/diff/1/sdk/lib/io/websocket_impl.dart#newcode309 sdk/lib/io/websocket_impl.dart:309: } You can remove this `if` by either : ...
5 years, 2 months ago (2015-10-13 20:22:57 UTC) #4
Søren Gjesse
Thanks for the updated version. With the comments addressed it is almost ready to be ...
5 years, 2 months ago (2015-10-19 16:53:20 UTC) #5
butlermatt
I believe I've addressed the comments. I also added a test to account for custom ...
5 years, 2 months ago (2015-10-22 19:36:09 UTC) #6
alexandre.ardhuin
https://codereview.chromium.org/1390353005/diff/1/sdk/lib/io/websocket_impl.dart File sdk/lib/io/websocket_impl.dart (right): https://codereview.chromium.org/1390353005/diff/1/sdk/lib/io/websocket_impl.dart#newcode308 sdk/lib/io/websocket_impl.dart:308: _utfDecoder = new Utf8Decoder(); On 2015/10/22 19:36:09, butlermatt wrote: ...
5 years, 2 months ago (2015-10-22 20:06:04 UTC) #7
Søren Gjesse
LGTM, with the additional comments addressed. Please also rebase to head (preferable as a separate ...
5 years, 2 months ago (2015-10-23 15:10:00 UTC) #8
butlermatt
Addressed comments. Added rebase as final patch set. note for HttpHeaders, the if (done()) checks ...
5 years, 2 months ago (2015-10-23 15:44:12 UTC) #9
butlermatt
Sorry, there's still a final bug with the compression allowing Uint8List > 256 go through. ...
5 years, 2 months ago (2015-10-23 16:00:35 UTC) #10
butlermatt
My apologies. I've corrected the issue with the type data not throwing properly when values ...
5 years, 2 months ago (2015-10-23 18:24:34 UTC) #11
Søren Gjesse
I tried to land the change, but there is still a few small problems that ...
5 years, 1 month ago (2015-10-28 11:52:47 UTC) #12
butlermatt
On 2015/10/28 11:52:47, Søren Gjesse wrote: > I tried to land the change, but there ...
5 years, 1 month ago (2015-10-28 14:05:25 UTC) #13
Søren Gjesse
Committed patchset #7 (id:120001) manually as 59bb84127b63a7516a32a32eae6a6839420709db (presubmit successful).
5 years, 1 month ago (2015-10-29 12:36:45 UTC) #14
butlermatt
Additional fixes for the observatory tests. I've also tested these patches on Mojo and Flutter ...
5 years, 1 month ago (2015-11-05 19:28:43 UTC) #15
Søren Gjesse
5 years, 1 month ago (2015-11-06 07:59:14 UTC) #18
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
95bb2159d9fb7f44d3bbc99932a57173e1b464aa (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698