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

Issue 1584653008: Optimize Websocket compression for no context takeover requests (Closed)

Created:
4 years, 11 months ago by butlermatt
Modified:
4 years, 11 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Optimize Websocket compression for no context takeover requests Resolve issue with server applying context takeover when not enabled. After resolving negotiation and optimizing client/server takeover usage an bug became apparent where no context takeover was being applied but not advertised by the server. This patch resolves that issue and adds tests to validate in the future. Ensure encoders/decoders are properly 'discarded' when client_no_context_takeover and server_no_context_takeover flags are detected. Resolve issues with client not sending appropriate header request values based on the configured passed by CompressionOptions. Add tests for client header values BUG=25317 Patch by Matthew Butler <butler.matthew@gmail.com>; R=sgjesse@google.com Committed: https://github.com/dart-lang/sdk/commit/9240052ebb59111bdcb58ed06b4a878347b8932f

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -11 lines) Patch
M sdk/lib/io/websocket.dart View 2 chunks +12 lines, -5 lines 0 comments Download
M sdk/lib/io/websocket_impl.dart View 3 chunks +12 lines, -3 lines 0 comments Download
M tests/standalone/io/web_socket_compression_test.dart View 3 chunks +76 lines, -3 lines 1 comment Download

Messages

Total messages: 6 (3 generated)
butlermatt
Per comments in CL: https://codereview.chromium.org/1583933007/ I have created another patch https://codereview.chromium.org/1584653008/ This patch addresses 3 ...
4 years, 11 months ago (2016-01-15 20:55:15 UTC) #2
Søren Gjesse
LGTM, thanks https://codereview.chromium.org/1584653008/diff/1/tests/standalone/io/web_socket_compression_test.dart File tests/standalone/io/web_socket_compression_test.dart (right): https://codereview.chromium.org/1584653008/diff/1/tests/standalone/io/web_socket_compression_test.dart#newcode253 tests/standalone/io/web_socket_compression_test.dart:253: websocket.add('Hello World'); With the different options of ...
4 years, 11 months ago (2016-01-18 07:36:00 UTC) #3
Søren Gjesse
4 years, 11 months ago (2016-01-18 07:51:58 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
9240052ebb59111bdcb58ed06b4a878347b8932f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698