Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for rack (0.12 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(countFrames(logs, "FINE: << 0x00000000     8 PING          "))
          .isEqualTo(1)
        assertThat(countFrames(logs, "FINE: >> 0x00000000     8 PING          ACK"))
          .isEqualTo(1)
        assertThat(countFrames(logs, "FINE: << 0x00000000     8 PING          ACK"))
          .isEqualTo(1)
      }
    
      @Flaky @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun missingPongsFailsConnection(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *     .build();
     * System.out.println(url);
     * ```
     *
     * This prints:
     *
     * ```
     * http://who-let-the-dogs.out/_Who%3F_?_Who?_#_Who?_
     * ```
     *
     * When parsing URLs that lack percent encoding where it is required, this class will percent encode
     * the offending characters.
     *
     * ### IDNA Mapping and Punycode encoding
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  3. README.md

    first connect fails. This is necessary for IPv4+IPv6 and services hosted in redundant data
    centers. OkHttp supports modern TLS features (TLS 1.3, ALPN, certificate pinning). It can be
    configured to fall back for broad connectivity.
    
    Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It
    supports both synchronous blocking calls and async calls with callbacks.
    
    
    Get a URL
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *
     *  3. Attempt plans from prior connect attempts for this call. These occur as either follow-ups to
     *     failed connect attempts (such as trying the next [ConnectionSpec]), or as attempts that lost
     *     a race in fast follow-up.
     *
     *  4. If there's no existing connection, make a list of routes (which may require blocking DNS
     *     lookups) and attempt a new connection them. When failures occur, retries iterate the list of
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  5. CHANGELOG.md

        the previous alpha due to an unexpected race.
    
    
    ## Version 5.0.0-alpha.5
    
    _2022-02-21_
    
     *  Fix: Don't include [Assertk][assertk] in OkHttp's production dependencies. This regression was
        introduced in the 5.0.0-alpha.4 release.
     *  Fix: Don't ask `Dns` implementations to resolve strings that are already IP addresses.
     *  Fix: Change fast fallback to race TCP handshakes only. To avoid wasted work, OkHttp will not
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

            while (i < end) {
              keyIndex %= keyLength // Reassign to prevent overflow breaking counter.
    
              // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them
              // and convert back to byte.
              val bufferInt: Int = buffer[i].toInt()
              val keyInt: Int = key[keyIndex].toInt()
              buffer[i] = (bufferInt xor keyInt).toByte()
    
              i++
              keyIndex++
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        testClient?.let {
          val connectionPool = it.connectionPool
    
          connectionPool.evictAll()
          if (connectionPool.connectionCount() > 0) {
            // Minimise test flakiness due to possible race conditions with connections closing.
            // Some number of tests will report here, but not fail due to this delay.
            println("Delaying to avoid flakes")
            Thread.sleep(500L)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

          return true
        }
    
        if (failedConnection != null) {
          val retryRoute = retryRoute(failedConnection)
          if (retryRoute != null) {
            // Lock in the route because retryRoute() is racy and we don't want to call it twice.
            nextRouteToTry = retryRoute
            return true
          }
        }
    
        // If we have a routes left, use 'em.
        if (routeSelection?.hasNext() == true) return true
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. gradlew

                esac
            then
                arg=$( cygpath --path --ignore --mixed "$arg" )
            fi
            # Roll the args list around exactly as many times as the number of
            # args, so each arg winds up back in the position where it started, but
            # possibly modified.
            #
            # NB: a `for` loop captures its iteration list before it begins, so
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         *
         * * **Unreachable proxy servers.** A [ProxySelector] can be used to
         *   attempt multiple proxy servers in sequence, eventually falling back to a direct
         *   connection.
         *
         * Set this to false to avoid retrying requests when doing so is destructive. In this case the
         * calling application should do its own recovery of connectivity failures.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
Back to top