Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 512 for Connection (0.06 sec)

  1. docs/changelogs/changelog_3x.md

     *  **There is no longer a global singleton connection pool.** In OkHttp 2.x,
        all `OkHttpClient` instances shared a common connection pool by default.
        In OkHttp 3.x, each new `OkHttpClient` gets its own private connection pool.
        Applications should avoid creating many connection pools as doing so
        prevents connection reuse. Each connection pool holds its own set of
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        closeWebSockets(webSocket, server)
      }
    
      /**
       * We had a bug where web socket connections were leaked if the HTTP connection upgrade was not
       * successful. This test confirms that connections are released back to the connection pool!
       * https://github.com/square/okhttp/issues/4258
       */
      @Test
      @Throws(Exception::class)
      fun webSocketConnectionIsReleased() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        @DisplayName("getSession returns underlying session from tree connection")
        void getSessionReturnsUnderlying() {
            // Verifies getSession() exposes the session provided by the connection
            assertSame(session, handle.getSession());
            verify(treeConnection).getSession();
        }
    
        @Test
        @DisplayName("ensureDFSResolved forwards to tree connection with locator")
        void ensureDFSResolvedDelegates() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

      private fun waitForConnectionShutdown(connection: RealConnection?) {
        if (connection!!.isHealthy(false)) {
          Thread.sleep(100L)
        }
        if (connection.isHealthy(false)) {
          Thread.sleep(2000L)
        }
        if (connection.isHealthy(false)) {
          throw TimeoutException("connection didn't shutdown within timeout")
        }
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

        }
    
        /**
         * Handle RDMA connection error and attempt recovery
         *
         * @param connection RDMA connection that encountered error
         * @param error the error that occurred
         * @return true if error was handled and connection recovered, false if fallback needed
         */
        public boolean handleRdmaError(RdmaConnection connection, Exception error) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        // which can satisfy a larger policy
        val connection = routePlanner.plans.first().connection
        val http2Connection = connectHttp2(peer, connection, 5)
        setPolicy(pool, address, AddressPolicy(5))
        assertThat(pool.connectionCount()).isEqualTo(1)
    
        // Decrease the connection's max so that another connection is needed
        updateMaxConcurrentStreams(http2Connection, 4)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            try (RdmaConnection connection = provider.createConnection(address, null)) {
                assertNotNull(connection, "Connection should not be null");
                assertEquals(address, connection.getRemoteAddress(), "Remote address should match");
                assertNotNull(connection.getState(), "Connection state should not be null");
    
                System.out.println("RDMA connection created to: " + address);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

            DISCONNECTED,
            /** Connection is being established */
            CONNECTING,
            /** Connection is established but not ready for RDMA operations */
            CONNECTED,
            /** Connection is fully established and ready for RDMA operations */
            ESTABLISHED,
            /** Connection encountered an error */
            ERROR,
            /** Connection is being closed */
            CLOSING,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

       * That may happen later by the connection pool thread.
       */
      fun cancel()
    
      /**
       * Carries an exchange. This is usually a connection, but it could also be a connect plan for
       * CONNECT tunnels. Note that CONNECT tunnels are significantly less capable than connections.
       */
      interface Carrier {
        val route: Route
    
        fun trackFailure(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

         */
        Set<RdmaCapability> getSupportedCapabilities();
    
        /**
         * Create RDMA connection to remote endpoint
         *
         * @param remote remote socket address
         * @param local local socket address, may be null for auto-binding
         * @return new RDMA connection instance
         * @throws IOException if connection creation fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top