- New
isFilterInsecureCipherSuitesconfig to disable unsecure and weak ciphers filtering performed internally in Netty.
- New Typesafe config extra module
- new
enableWebSocketCompressionconfig to enable per-message and per-frame WebSocket compression extension
- AHC 2.1 targets Netty 4.1.
org.asynchttpclient.HttpResponseHeaderswas dropped in favor ofio.netty.handler.codec.http.HttpHeaders.org.asynchttpclient.cookie.Cookiewas dropped in favor ofio.netty.handler.codec.http.cookie.Cookieas AHC's cookie parsers were contributed to Netty.- AHC now has a RFC6265
CookieStorethat is enabled by default. Implementation can be changed inAsyncHttpClientConfig. AsyncHttpClientnow exposes stats withgetClientStats.AsyncHandlerExtensionswas dropped in favor of default methods inAsyncHandler.WebSocketandWebSocketListenermethods were renamed to mention framesAsyncHttpClientConfigvarious changes:- new
getCookieStorenow lets you configure a CookieStore (enabled by default) - new
isAggregateWebSocketFrameFragmentsnow lets you disable WebSocket fragmented frames aggregation - new
isUseLaxCookieEncoderlets you loosen cookie chars validation isAcceptAnyCertificatewas dropped, as it didn't do what its name stated- new
isUseInsecureTrustManagerlets you use a permissive TrustManager, that would typically let you accept self-signed certificates - new
isDisableHttpsEndpointIdentificationAlgorithmdisables settingHTTPSalgorithm on the SSLEngines, typically disables SNI and HTTPS hostname verification - new
isAggregateWebSocketFrameFragmentslets you disable fragmented WebSocket frames aggregation
- new