Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 92 for connectionsOf (0.05 sec)

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

        )
    
        taskFaker.advanceUntil(540.ms)
        assertEvents(
          "plan 2 TCP connect canceled",
        )
    
        taskFaker.assertNoMoreTasks()
      }
    
      /**
       * This test puts several connections in flight that all fail at approximately the same time. It
       * confirms the fast fallback implements these invariants:
       *
       *  * if there's no TCP connect in flight, start one.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. docs/features/events.md

    A single HTTP call may require follow-up requests to be made to handle authentication challenges, redirects, and HTTP-layer timeouts. In such cases multiple connections, requests, and responses may be attempted. Follow-ups are another reason a single call may trigger multiple events of the same type.
    
    ![Events Diagram](../assets/images/******@****.***)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

      private var client = clientTestRule.newClient()
      private val callback = RecordingCallback()
    
      @Test
      fun applicationInterceptorsCanShortCircuitResponses() {
        server.close() // Accept no connections.
        val request =
          Request
            .Builder()
            .url("https://localhost:1/")
            .build()
        val interceptorResponse =
          Response
            .Builder()
            .request(request)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

      }
    
      /**
       * Return the route from [connection] if it should be retried, even if the connection itself is
       * unhealthy. The biggest gotcha here is that we shouldn't reuse routes from coalesced
       * connections.
       */
      private fun retryRoute(connection: RealConnection): Route? =
        connection.withLock {
          when {
            connection.routeFailureCount != 0 -> null
    
            // This route is still in use.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.18.md

    - When client certificate files are provided, reload files for new connections, and close connections when a certificate changes. ([#79083](https://github.com/kubernetes/kubernetes/pull/79083), [@jackkleeman](https://github.com/jackkleeman)) [SIG API Machinery, Auth, Node and Testing]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              return userResponse.request
            }
    
            return null
          }
    
          HTTP_MISDIRECTED_REQUEST -> {
            // OkHttp can coalesce HTTP/2 connections even if the domain names are different. See
            // RealConnection.isEligible(). If we attempted this and the server returned HTTP 421, then
            // we can retry on a different connection.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

    import okio.ByteString.Companion.toByteString
    
    /**
     * Constrains which certificates are trusted. Pinning certificates defends against attacks on
     * certificate authorities. It also prevents connections through man-in-the-middle certificate
     * authorities either known or unknown to the application's user.
     * This class currently pins a certificate's Subject Public Key Info as described on
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        val request2 = server.takeRequest()
        assertThat(tlsVersions).contains(request2.handshake?.tlsVersion)
      }
    
      /**
       * Verify that we don't retry connections on certificate verification errors.
       *
       * http://code.google.com/p/android/issues/detail?id=13178
       */
      @Flaky
      @Test
      fun connectViaHttpsToUntrustedServer() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InetAddresses.java

     *
     * <p>"IPv4 mapped" addresses were originally a representation of IPv4 addresses for use on an IPv6
     * socket that could receive both IPv4 and IPv6 connections (by disabling the {@code IPV6_V6ONLY}
     * socket option on an IPv6 socket). Yes, it's confusing. Nevertheless, these "mapped" addresses
     * were never supposed to be seen on the wire. That assumption was dropped, some say mistakenly, in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.13.md

    ## Changelog since v1.13.5
    
    ### Other notable changes
    
    * Connections from Pods to Services with 0 endpoints will now ICMP reject immediately, rather than blackhole and timeout. ([#72534](https://github.com/kubernetes/kubernetes/pull/72534), [@thockin](https://github.com/thockin))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 273.1K bytes
    - Viewed (0)
Back to top