Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.6.0
-
Unknown
Description
CxfRsEndpoint contains this code in `invoke*Client`:
WebClient client = cfb.createWebClient(); ((CxfRsEndpoint) getEndpoint()).getChainedCxfRsEndpointConfigurer().configureClient(client);
This means, a new client is created on every request (ok, because possibly not thread-safe) and then configured. The configuration step includes an `AbstractSslEndpointConfigurer` which also recreates the SSLSocketFactory on every call, and that includes re-opening and re-reading configured key and trust stores.
Doing this on every request obviously degrades performance significantly.
Attachments
Issue Links
- links to