Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Carter (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

            while (!source.exhausted()) {
              var rule: ByteString = source.readUtf8LineStrict().toRule() ?: continue
    
              if (rule.startsWith(EXCEPTION_RULE_MARKER)) {
                rule = rule.substring(1)
                // We use '\n' for end of value.
                totalExceptionRuleBytes += rule.size + 1
                sortedExceptionRules.add(rule)
              } else {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

        calls and that can receive data faster than they can process it. Previously, OkHttp limited
        HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB
        of unacknowledged data per stream and no per-connection limit.
    
     *  Fix: Don't operate on a connection after it's been returned to the pool. This race occurred
        on failed web socket connection attempts.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(CertificateAdapters.extension.toDer(extension))
          .isEqualTo(bytes)
        assertThat(CertificateAdapters.extension.fromDer(bytes))
          .isEqualTo(extension)
      }
    
      /** Tags larger than 30 are a special case. */
      @Test fun `large tag`() {
        val bytes = "df83fb6800".decodeHex()
    
        val adapter = Adapters.NULL.withTag(tagClass = DerHeader.TAG_CLASS_PRIVATE, tag = 65_000L)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        // client has received the response.
        Thread.sleep(500)
        val response2 = getResponse(newRequest("/b"))
        response1.body.source().timeout().timeout(100, TimeUnit.MILLISECONDS)
        assertContent("This comes after a busted connection", response2)
    
        // Check that a fresh connection was created, either immediately or after attempting reuse.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

         * the web socket! It's possible that we're writing faster than the peer can read.
         */
        private const val MAX_QUEUE_SIZE = 16L * 1024 * 1024 // 16 MiB.
    
        /**
         * The maximum amount of time after the client calls [close] to wait for a graceful shutdown. If
         * the server doesn't respond the web socket will be canceled.
         */
        const val CANCEL_AFTER_CLOSE_MILLIS = 60L * 1000
    
        /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val OPCODE_CONTROL_CLOSE = 0x8
      internal const val OPCODE_CONTROL_PING = 0x9
      internal const val OPCODE_CONTROL_PONG = 0xa
    
      /**
       * Maximum length of frame payload. Larger payloads, if supported by the frame type, can use the
       * special values [PAYLOAD_SHORT] or [PAYLOAD_LONG].
       */
      internal const val PAYLOAD_BYTE_MAX = 125L
    
      /** Maximum length of close message in bytes. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. README.md

     [conscrypt]: https://github.com/google/conscrypt/
     [get_example]: https://raw.github.com/square/okhttp/master/samples/guide/src/main/java/okhttp3/guide/GetExample.java
     [kotlin]: https://kotlinlang.org/
     [okhttp3_pro]: https://raw.githubusercontent.com/square/okhttp/master/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro
     [okhttp_312x]: https://github.com/square/okhttp/tree/okhttp_3.12.x
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_2x.md

        unexpected NPN response is received and OkHttp crashes.
     *  Fix: Write continuation frames when HPACK data is larger than 16383 bytes.
     *  Fix: Don't drop uncaught exceptions thrown in async calls.
     *  Fix: Throw an exception eagerly when a request body is not legal. Previously
        we ignored the problem at request-building time, only to crash later with a
        `NullPointerException`.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  9. CHANGELOG.md

        receiving stream to process it.
    
        This change may increase OkHttp's memory use for applications that make many concurrent HTTP
        calls and that can receive data faster than they can process it. Previously, OkHttp limited
        HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB
        of unacknowledged data per stream and no per-connection limit.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

     *
     * This class may be used to stream very large responses. For example, it is possible to use this
     * class to read a response that is larger than the entire memory allocated to the current process.
     * It can even stream a response larger than the total storage on the current device, which is a
     * common requirement for video streaming applications.
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top