Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConnection (0.19 sec)

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

      @BeforeEach
      fun setUp() {
        // Test designed for Conscrypt and JSSE
        platform.assumeNotBouncyCastle()
      }
    
      @ParameterizedTest
      @MethodSource("connectionTypes")
      fun testConnection(socketMode: SocketMode) {
        // https://github.com/square/okhttp/pull/6554
        assumeFalse(
          socketMode is TlsInstance &&
            socketMode.socketMode == Channel &&
            socketMode.protocol == HTTP_2 &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

        }
    
        /**
         * Tests connectivity to the witness service.
         *
         * @throws IOException if connection fails
         */
        private void testConnection() throws IOException {
            // For now, just test basic connectivity to RPC endpoint
            try (java.net.Socket socket = new java.net.Socket()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top