apache httpclient 4.4: HostnameVerifier transition from 4.3.x

后端 未结 4 2023
忘掉有多难
忘掉有多难 2021-02-07 07:27

HttpClient 4.3 had three static variables in org.apache.http.conn.ssl.SSLConnectionSocketFactory:

  1. STRICT_HOSTNAME_VERIFIER
  2. BROWSER_COMPATIBLE
4条回答
  •  半阙折子戏
    2021-02-07 08:01

    BrowserCompatHostnameVerifier was essentially IE 5/6 compatible implementation. I am no sure if it is actually compatible with more modern browser applications. BrowserCompatHostnameVerifier should have never existed in the first place and should not be used anymore.

提交回复
热议问题