Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for skipsWhenDnsDontMatch (0.08 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        val response = call2.execute()
        assert200Http2Response(response, "san.com")
      }
    
      /** If the existing connection matches a SAN but not a match for DNS then skip.  */
      @Test
      fun skipsWhenDnsDontMatch() {
        server.enqueue(MockResponse())
        assert200Http2Response(execute(url), server.hostName)
        val differentDnsUrl = url.newBuilder().host("differentdns.com").build()
        assertFailsWith<IOException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top