Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Leeds (0.21 sec)

  1. docs/changelogs/changelog_4x.md

    _2019-10-06_
    
     *  Fix: When closing a canceled HTTP/2 stream, don't send the `END_STREAM` flag. This could cause
        the server to incorrectly interpret the stream as having completed normally. This is most useful
        when a request body needs to cancel its own call.
    
    
    ## Version 4.2.1
    
    _2019-10-02_
    
     *  Fix: In 4.1.0 we introduced a performance regression that prevented connections from being
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cache.kt

       * up the necessary in-memory cache information.
       *
       * The initialization time may vary depending on the journal file size and the current actual
       * cache size. The application needs to be aware of calling this function during the
       * initialization phase and preferably in a background worker thread.
       *
       * Note that if the application chooses to not call this method to initialize the cache. By
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("response body")
    
        // First CONNECT call needs a new connection.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
        // Second CONNECT call needs a new connection.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
        // GET reuses the connection from the second connect.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

              val lengthB = b.length
              if (lengthA != lengthB) return if (lengthA < lengthB) -1 else 1
              return 0
            }
          }
    
        /**
         * Holds interned instances. This needs to be above the init() calls below so that it's
         * initialized by the time those parts of `<clinit>()` run. Guarded by CipherSuite.class.
         */
        private val INSTANCES = mutableMapOf<String, CipherSuite>()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/RequestLine.kt

    import okhttp3.HttpUrl
    import okhttp3.Request
    
    object RequestLine {
      /**
       * Returns the request status line, like "GET / HTTP/1.1". This is exposed to the application by
       * [HttpURLConnection.getHeaderFields], so it needs to be set even if the transport is
       * HTTP/2.
       */
      fun get(
        request: Request,
        proxyType: Proxy.Type,
      ): String =
        buildString {
          append(request.method)
          append(' ')
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

    import okio.ByteString
    
    /**
     * ASN.1 adapters adapted from the specifications in [RFC 5280][rfc_5280].
     *
     * [rfc_5280]: https://tools.ietf.org/html/rfc5280
     */
    @Suppress("UNCHECKED_CAST") // This needs to cast decoded collections.
    internal object CertificateAdapters {
      /**
       * ```
       * Time ::= CHOICE {
       *   utcTime        UTCTime,
       *   generalTime    GeneralizedTime
       * }
       * ```
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

              ConnectResult(this, nextPlan = connectTcpNextPlan, throwable = IOException("canceled"))
            }
            connectTcpNextPlan != null -> {
              events += "plan $id needs follow-up"
              ConnectResult(this, nextPlan = connectTcpNextPlan)
            }
            else -> {
              events += "plan $id TCP connected"
              connectState = ConnectState.TCP_CONNECTED
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     * ```
     *
     * ## Shutdown Isn't Necessary
     *
     * The threads and connections that are held will be released automatically if they remain idle. But
     * if you are writing a application that needs to aggressively release unused resources you may do
     * so.
     *
     * Shutdown the dispatcher's executor service with [shutdown()][ExecutorService.shutdown]. This will
     * also cause future calls to the client to be rejected.
    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)
  9. CHANGELOG.md

          http://squareup.com/robots.txt
        ```
    
     *  Fix: Support executing OkHttp on kotlin-stdlib versions as old as 1.4. The library still builds
        on up-to-date Kotlin releases (1.6.21) but no longer needs that version as a runtime dependency.
        This should make it easier to use OkHttp in Gradle plugins.
    
     *  Fix: Don't start the clock on response timeouts until the request body is fully transmitted.
    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)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          }
    
        fun build(): Http2Connection {
          return Http2Connection(this)
        }
      }
    
      /**
       * Methods in this class must not lock FrameWriter. If a method needs to write a frame, create an
       * async task to do so.
       */
      inner class ReaderRunnable internal constructor(
        internal val reader: Http2Reader,
      ) : Http2Reader.Handler, () -> Unit {
        override fun invoke() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
Back to top