Skip to content

armeria-0.15.0.Final

Choose a tag to compare

@trustin trustin released this 21 Apr 10:01
· 4886 commits to main since this release

New features

  • #149 #142 Use PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n for 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.1 requests can cause unexpected load on an Armeria server if a user bound a service at / and the service does not handle the HEAD method 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_PREFACE option to false. You can also change the default value of this option from true to false by setting the system property com.linecorp.armeria.defaultUseHttp2Preface to `false.