Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.18.1
-
None
-
Patch Available
-
Novice
Description
Provided custom AsyncHttpClientConfig is not used by WsEndpoint.java.
Current implementation:
WsEndpoint.java:109
protected AsyncHttpClient createClient(AsyncHttpClientConfig config) { AsyncHttpClient client; if (config == null) { config = new DefaultAsyncHttpClientConfig.Builder().build(); client = new DefaultAsyncHttpClient(config); } else { client = new DefaultAsyncHttpClient(); } return client; }
Expected implementation:
WsEndpoint.java:109
protected AsyncHttpClient createClient(AsyncHttpClientConfig config) { AsyncHttpClient client; if (config == null) { config = new DefaultAsyncHttpClientConfig.Builder().build(); client = new DefaultAsyncHttpClient(config); } else { client = new DefaultAsyncHttpClient(config); } return client; }