okhttp
okhttp copied to clipboard
Provide Option to Disable Thread Name Modification in OkHttp
We heavily rely on thread names for tracking purposes within our logging system. By default, OkHttp changes the thread name to include the URL of the request being made. While this is beneficial for debugging, it introduces potential privacy concerns. The URLs being accessed can contain sensitive information, and including these in thread names may inadvertently leak this information into logs, which are often stored and monitored for long periods.
We would greatly appreciate it if OkHttp could introduce a configuration option that allows developers to disable this behavior. This would allow us to maintain the original thread names and avoid potential privacy risks associated with exposing URLs in logs.
Proposed Solution: add logic here