Skip to content

Can enable/disable compression but can't set compression level #1151

@jameshadley

Description

@jameshadley

Our H2O configuration:

user: nobody

http2-reprioritize-blocking-assets: ON
http2-casper: ON
http2-latency-optimization-min-rtt: 1
http2-latency-optimization-max-additional-delay: 0.5
http1-upgrade-to-http2: ON
compress:
    br: 5
    gzip: 6
temp-buffer-path: "/dev/shm"

ssl-session-resumption:
    mode: all
    cache-store: memcached
    ticket-store: memcached
    cache-memcached-num-threads: 1
    memcached:
	host: 127.0.0.1
        port: 11211

access-log: /dev/null
error-log: /var/log/h2o.error.log
pid-file: /var/log/h2o.pid

hosts:
...

We get this error:

[/usr/local/h2o/h2o.conf:9] in command compress, value of br attribute must be either of OFF, ON or an integer between 0 and 11

ON and OFF work but specifying a number does not. We're using 2.1.0 beta 3 and I can't see a mention of this in the beta 4 release notes. We're using CentOS 7.

[root@li959-17 ~]# h2o -version
h2o version 2.1.0-beta3
OpenSSL: LibreSSL 2.2.7
mruby: YES

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions