davsclaus commented on PR #30556:
URL: https://github.com/apache/camel/pull/30556#issuecomment-7063205027

   Thanks for the review. All three points are addressed in bac6deee:
   
   1. **`TuiSettings` fallback proxy**: it is now looked up in a `synchronized` 
method, so it is resolved once. (On #30557 this code becomes a 
`ConcurrentHashMap` per URL, which was thread-safe already, and the merge keeps 
that version.)
   2. **`nonProxyHosts` dropped from the Maven proxy**: a real gap, since the 
TUI downloads the documentation through the same `HttpProxy`. `MavenProxy` now 
carries the `nonProxyHosts` of the active proxy (from the MIMA context, or the 
`Settings` in embedded mode, because the resolver session's `Proxy` does not 
expose them), and `OsvProxy` puts them on the `HttpProxy`. 
`MavenDownloaderProxyTest` and `OsvProxyTest` cover it. `camel-report:audit` 
(#30558) passes them on the same way.
   3. **`allowBasicTunneling()`**: the race could only write the same empty 
string twice, but the method is now `synchronized`, which costs nothing.
   
   _Claude Code on behalf of Claus Ibsen (davsclaus)_
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to