最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - SSLSocketFactory vs SSLConnectionSocket Factory : Timeline? - Stack Overflow

programmeradmin6浏览0评论

The Java application (JDK 21) that our team has been working on has started to become more unstable when it comes to our clients timing out. I haven't been working on this application for very long but I have a suspicion that it might be because how we go about making our connection might be outdated. The application uses SSLSocketFactory with the X509 Trust manager but research has been telling me that we should be upgrading to or implementing SSLConnectionSocketFactory instead which is more up-to-date. My first question is could this change help client connection stability? I'm also not very experienced when it comes to creating connections in Java or applications in general so I'm wondering if anybody has an idea how long it would take 2 developers to make this change to our current application?

We are currently using SSLSocketFactory with JDK 21 and the trust manager X509 is implemented as well

发布评论

评论列表(0)

  1. 暂无评论