trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From masaori335 <>
Subject [GitHub] trafficserver pull request: TS-4018: Use HPACK huffman encoding al...
Date Mon, 07 Dec 2015 01:32:34 GMT
Github user masaori335 commented on a diff in the pull request:
    --- Diff: proxy/http2/ ---
    @@ -332,18 +332,41 @@ int64_t
     encode_string(uint8_t *buf_start, const uint8_t *buf_end, const char *value, size_t value_len)
       uint8_t *p = buf_start;
    +  bool use_huffman = true;
    --- End diff --
    According to [Compression Ratio](
in [hpack-test-case](, the best compression rate
is `0.31` but compression rate of naive-huffman imprementation (I guess this is similar to
this PR) is `0.85`. So we have to back to here and implement smart algorithm.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message