Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for chad (0.13 sec)

  1. docs/changelogs/changelog_3x.md

        could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to
        fail the call.
    
     *  Fix: Recover gracefully when a coalesced connection immediately goes unhealthy.
    
    ## Version 3.14.2
    
    _2019-05-19_
    
     *  Fix: Lock in a route when recovering from an HTTP/2 connection error. We had a bug where two
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      return endIndex
    }
    
    /**
     * Returns the index of the first character in this string that is [delimiter]. Returns [endIndex]
     * if there is no such character.
     */
    fun String.delimiterOffset(
      delimiter: Char,
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
      for (i in startIndex until endIndex) {
        if (this[i] == delimiter) return i
      }
      return endIndex
    }
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

          ) {
            exchange.noNewExchangesOnConnection()
          }
          if ((code == 204 || code == 205) && response.body.contentLength() > 0L) {
            throw ProtocolException(
              "HTTP $code had non-zero Content-Length: ${response.body.contentLength()}",
            )
          }
          return response
        } catch (e: IOException) {
          if (sendRequestException != null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        }.also { expected ->
          assertThat(expected).hasMessage("timeout")
        }
      }
    
      /**
       * This test reproduces a crash where OkHttp attempted to use a deferred connection when the call
       * already had a healthy connection. It sets up a deferred connection by stalling the IPv6
       * connect, and it sets up a same-connection retry with [ErrorCode.REFUSED_STREAM].
       *
       * https://github.com/square/okhttp/pull/7190
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      /** Though this executor service may hold many threads, they are not executed concurrently. */
      private val tasksExecutor = Executors.newCachedThreadPool(threadFactory("TaskFaker"))
    
      /**
       * True if this task faker has ever had multiple tasks scheduled to run concurrently. Guarded by
       * [TaskRunner.lock].
       */
      var isParallel = false
    
      /** Number of calls to [TaskRunner.Backend.execute]. Guarded by [TaskRunner.lock]. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  6. gradle/wrapper/gradle-wrapper.jar

    Logger implements Appendable { public final boolean quiet; public void Logger(boolean); public final void log(String); public final Appendable append(CharSequence); public final Appendable append(CharSequence, int, int); public final Appendable append(char); } org/gradle/wrapper/PathAssembler.class package org.gradle.wrapper; public final synchronized class PathAssembler { public void PathAssembler(java.io.File, java.io.File); } org/gradle/wrapper/SystemPropertiesHand.class package org.gradle.wrapper;...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        Thread.sleep(500)
        server.send("Hello, WebSockets!")
        clientListener.assertTextMessage("Hello, WebSockets!")
        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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          pos: Int,
          limit: Int,
        ): Int {
          if (limit - pos < 2) return -1
    
          val c0 = input[pos]
          if ((c0 < 'a' || c0 > 'z') && (c0 < 'A' || c0 > 'Z')) return -1 // Not a scheme start char.
    
          characters@ for (i in pos + 1 until limit) {
            return when (input[i]) {
              // Scheme character. Keep going.
              in 'a'..'z', in 'A'..'Z', in '0'..'9', '+', '-', '.' -> continue@characters
    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)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response3.body.string()).isEqualTo("def")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1) // New connection.
      }
    
      /**
       * We had a bug where we'd perform infinite retries of route that fail with connection shutdown
       * errors. The problem was that the logic that decided whether to reuse a route didn't track
    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)
  10. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

        assertFailsWith<IllegalArgumentException> {
          Headers.Builder()
            .addUnsafeNonAscii("héader1", "value1")
            .build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected char 0xe9 at 1 in header name: héader1")
        }
      }
    
      @Test fun addUnsafeNonAsciiAcceptsUnicodeValue() {
        val headers =
          Headers.Builder()
            .addUnsafeNonAscii("header1", "valué1")
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top