reta commented on PR #2398: URL: https://github.com/apache/cxf/pull/2398#issuecomment-2876197265
> @reta I have a question that comes to mind. Domain switching is random, and will deferredClientRefs continue to increase, leading to memory leaks? Perhaps defining a Map using a Host would be a better choice @CantosSong I think there are few angles to look at it: - yes, in general, switching HTTPs URL randomly may fill up the queue (but it is not a leak), but ... - ... if that the case, setting "https.reset.httpclient.http.conduit" to "false" will not recreate a client The map will not work (at least, in straightforward way) since we have to dereference client as many times as it was referenced. On the side note, the previous implementation just leaked client all the time and seemed to not cause any issues. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org