Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 599 for connecting (0.07 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

    import java.util.logging.LogRecord
    import java.util.logging.Logger
    import okhttp3.internal.buildConnectionPool
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.concurrent.withLock
    import okhttp3.internal.connection.RealConnectionPool
    import okhttp3.internal.http2.Http2
    import okhttp3.internal.taskRunnerInternal
    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule.Companion.LOOM_PROPERTY
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

        // flow-control window is fully depleted.
        if (!flushHeaders) {
          withLock {
            flushHeaders = (connection.writeBytesTotal >= connection.writeBytesMaximum)
          }
        }
    
        connection.writeHeaders(id, outFinished, responseHeaders)
    
        if (flushHeaders) {
          connection.flush()
        }
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_websockets/test_tutorial003.py

    
    def test_websocket_handle_disconnection(client: TestClient):
        with (
            client.websocket_connect("/ws/1234") as connection,
            client.websocket_connect("/ws/5678") as connection_two,
        ):
            connection.send_text("Hello from 1234")
            data1 = connection.receive_text()
            assert data1 == "You wrote: Hello from 1234"
            data2 = connection_two.receive_text()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

        }
      }
    
      @Test
      fun testUrlConnectionDirect() {
        testRequest {
          val url = URI(mockServer.endpoint + "/person?name=peter").toURL()
    
          val connection = url.openConnection() as HttpURLConnection
    
          assertThat(
            connection.inputStream
              .source()
              .buffer()
              .readUtf8(),
          ).contains("Peter the person")
        }
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.2K bytes
    - Viewed (1)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

                    log.info("RDMA connection established to {}", delegate.getRemoteAddress());
                } catch (IOException e) {
                    log.warn("Failed to establish RDMA connection: {}", e.getMessage());
                    throw e;
                }
            }
        }
    
        /**
         * Checks if RDMA connection is available.
         *
         * @return true if RDMA connection is active
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

                socket.setKeepAlive(true);
    
                state = RdmaConnectionState.CONNECTED;
                log.debug("TCP RDMA connection established to {}", remoteAddress);
    
            } catch (IOException e) {
                state = RdmaConnectionState.ERROR;
                throw new IOException("TCP RDMA connection failed", e);
            }
        }
    
        @Override
        public void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ReusePlan.kt

     */
    package okhttp3.internal.connection
    
    /** Reuse a connection from the pool. */
    internal class ReusePlan(
      val connection: RealConnection,
    ) : RoutePlanner.Plan {
      override val isReady = true
    
      override fun connectTcp() = error("already connected")
    
      override fun connectTlsEtc() = error("already connected")
    
      override fun handleSuccess() = connection
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

      class SocketClosingEventListener : EventListener() {
        var shouldClose: Boolean = false
        var lastSocket: Socket? = null
    
        override fun connectionAcquired(
          call: Call,
          connection: Connection,
        ) {
          lastSocket = connection.socket()
        }
    
        override fun requestHeadersStart(call: Call) {
          if (shouldClose) {
            lastSocket!!.close()
          }
        }
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.14.md

    * Add conntrack as a dependency of kubelet and kubeadm when building rpms and debs. Both require conntrack to handle cleanup of connections. ([#71540](https://github.com/kubernetes/kubernetes/pull/71540), [@mauilion](https://github.com/mauilion))
    * UDP connections now support graceful termination in IPVS mode ([#71515](https://github.com/kubernetes/kubernetes/pull/71515), [@lbernail](https://github.com/lbernail))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Mon Jun 14 22:06:39 UTC 2021
    - 271.5K bytes
    - Viewed (0)
Back to top