title: Tomcat 8.5 HTTP/2 connector not supporting GZIP compression
body: <p>It looks like tomcat 8.5 H2 protocol does not support GZIP compression.
  Can anyone confirm or give advise on how to enable it?</p>
  
  <p>The following does not work:</p>
  
  <pre><code>&lt;Connector 
    protocol="org.apache.coyote.http11.Http11AprProtocol" 
    port="8443" 
    connectionTimeout="20000" 
    executor="main" 
    SSLEnabled="true" 
    scheme="https" 
    secure="true" 
    URIEncoding="UTF-8" 
    maxHttpHeaderSize="10240"
    compression="force" 
    SSLCertificateKeyFile="${tomcat.conf.dir}/key.pem"
    SSLCertificateFile="${tomcat.conf.dir}/cert.pem" 
    SSLPassword="changeit"&gt;
      &lt;UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" /&gt;                   
  &lt;/Connector&gt;
  </code></pre>