-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TrustedWire changes SSLSocketFactory globally #178
Comments
@joris-lambrechts/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot! |
@joris-lambrechts can you submit a pull request with a fix? |
@yegor256 we looked at it, but it does not seem there is a simple solution without rewriting the whole Wire framework that exists. |
@yegor256 I gave it a try, let me know what you think. |
Hi,
We have a multi-threaded app that calls a lot of remote servers (webhooks) for which we use the TrustedWire to ignore certificate validation.
Recently there was a production issue causing slow calls and time outs at random. We traced this back to the use of the TrustedWire which has the following code.
Below is a test that I wrote to have some prove
I understand why this is done, but it isn't performing great. Is there a way that we can improve this?
preSend(?)
methodSSLSocketFactory
as a parameter in thesend
methodCurrently we removed Jcabi but we would like to see if we can help with improving this.
Kind regards,
Joris
The text was updated successfully, but these errors were encountered: