Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSessionReuse (0.1 sec)

  1. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        platform.assumeNotBouncyCastle()
      }
    
      @ParameterizedTest(name = "{displayName}({arguments})")
      @ValueSource(strings = ["TLSv1.2", "TLSv1.3"])
      @Flaky
      fun testSessionReuse(tlsVersion: String) {
        if (tlsVersion == TlsVersion.TLS_1_3.javaName) {
          assumeTrue(PlatformVersion.majorVersion != 8)
        }
    
        val sessionIds = mutableListOf<String>()
    
        enableTls()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

            "ResponseHeadersEnd", "ResponseBodyStart", "ResponseBodyEnd", "ConnectionReleased",
            "CallEnd",
          ),
          eventListener.recordedEventTypes(),
        )
      }
    
      @Test
      fun testSessionReuse() {
        val sessionIds = mutableListOf<String>()
    
        enableTls()
    
        client =
          client.newBuilder().eventListenerFactory(
            clientTestRule.wrap(
              object : EventListener() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top