armeria-0.15.0.Final
·
4886 commits
to main
since this release
New features
- #149 #142 Use
PRI * HTTP/2.0\r\n\r\nSM\r\n\r\nfor h1c-to-h2c upgrade- An Armeria client now by default sends the HTTP/2 preface string instead of the traditional HTTP/1 upgrade request when HTTP/2 is preferred. This is because sending many
HEAD / HTTP/1.1requests can cause unexpected load on an Armeria server if a user bound a service at/and the service does not handle theHEADmethod specially. - Upgrade your Armeria servers before upgrading your Armeria clients so that all servers are ready to handle the new upgrade mechanism.
- If you prefer the old upgrade mechanism, you can set
RemoteInvokerOption.USE_HTTP2_PREFACEoption tofalse. You can also change the default value of this option fromtruetofalseby setting the system propertycom.linecorp.armeria.defaultUseHttp2Prefaceto `false.
- An Armeria client now by default sends the HTTP/2 preface string instead of the traditional HTTP/1 upgrade request when HTTP/2 is preferred. This is because sending many