Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertEnabledProtocols (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

            .planWithCurrentOrInitialConnectionSpec(connectionSpecs, socket)
        assertThat(attempt0.isTlsFallback).isFalse()
        connectionSpecs[attempt0.connectionSpecIndex].apply(socket, attempt0.isTlsFallback)
        assertEnabledProtocols(socket, TlsVersion.TLS_1_2)
        val attempt1 = attempt0.nextConnectionSpec(connectionSpecs, socket)
        assertThat(attempt1).isNotNull()
        assertThat(attempt1!!.isTlsFallback).isTrue()
        socket.close()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top