Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for Future (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * fail. If it is too short, slow connections will be marked as failed and extra TCP and TLS
       * handshakes will be required.
       *
       * The deadline is currently hardcoded. We may make this configurable in the future!
       */
      internal fun sendDegradedPingLater() {
        this.withLock {
          if (degradedPongsReceived < degradedPingsSent) return // Already awaiting a degraded pong.
          degradedPingsSent++
    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)
  2. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertThat(cookie!!.domain).isEqualTo("::1")
      }
    
      /**
       * These public suffixes were selected by inspecting the publicsuffix.org list. It's possible they
       * may change in the future. If this test begins to fail, please double check they are still
       * present in the public suffix list.
       */
      @Test fun domainIsPublicSuffix() {
        val ascii = "https://foo1.foo.bar.elb.amazonaws.com".toHttpUrl()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

       * connection that returns to the connection pool with the underlying socket closed. This relies
       * on an implementation detail so it might not be a valid test case in the future.
       */
      @Test
      fun cancelAfterResponseBodyEnd() {
        enableTls()
        server.enqueue(MockResponse(body = "abc"))
        server.enqueue(MockResponse(body = "def"))
        client =
    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/test/java/okhttp3/internal/cache2/RelayTest.kt

        val relay = edit(file, pipe.source, metadata, 5)
        val future1 = executor.submit(sourceReader(relay.newSource()))
        val future2 = executor.submit(sourceReader(relay.newSource()))
        Thread.sleep(500)
        sink.writeUtf8("abcdefghij")
        Thread.sleep(500)
        sink.writeUtf8("klmnopqrst")
        sink.close()
        assertThat<ByteString>(future1.get())
          .isEqualTo("abcdefghijklmnopqrst".encodeUtf8())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

        sink.writeUtf8(content)
        sink.close()
      }
    
      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
       * positive values yield dates in the future.
       */
      private fun formatDate(
        delta: Long,
        timeUnit: TimeUnit,
      ): String {
        return formatDate(Date(System.currentTimeMillis() + timeUnit.toMillis(delta)))
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  6. CHANGELOG.md

    ```
    $ ./gradlew okcurl:nativeImage
    $ ./okcurl/build/graal/okcurl https://cash.app/robots.txt
    ```
    
    This is our first release that supports GraalVM. Our code on this platform is less mature than JVM
    and Android! Please report any issues you encounter: we'll fix them urgently.
    
     *  Fix: Attempt to read the response body even if the server canceled the request. This will cause
    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)
  7. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

            this.tlsVersions = tlsVersions.copyOf() as Array<String> // Defensive copy.
          }
    
        @Deprecated(
          "since OkHttp 3.13 all TLS-connections are expected to support TLS extensions.\n" +
            "In a future release setting this to true will be unnecessary and setting it to false\n" +
            "will have no effect.",
        )
        fun supportsTlsExtensions(supportsTlsExtensions: Boolean) =
          apply {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    crd.co creation.museum credit creditcard creditunion cremona.it crew.aero cri.br cri.nz cricket crimea.ua crotone.it crown crs cruise cruises cs.in cs.it cs.keliweb.cloud csx.cc ct.it ct.us cu cuiaba.br cuisinella cultural.museum culturalcenter.museum culture.museum cuneo.it cupcake.is curitiba.br curv.dev cust.dev.thingdust.io cust.disrec.thingdust.io cust.prod.thingdust.io cust.retrosnub.co.uk cust.testing.thingdust.io custom.metacentrum.cz customer.mythic-beasts.com customer.speedpartner.de cutegirl.jp...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
  9. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    correios-e-telecomunicações.museum
    corvette.museum
    costume.museum
    countryestate.museum
    county.museum
    crafts.museum
    cranbrook.museum
    creation.museum
    cultural.museum
    culturalcenter.museum
    culture.museum
    cyber.museum
    cymru.museum
    dali.museum
    dallas.museum
    database.museum
    ddr.museum
    decorativearts.museum
    delaware.museum
    delmenhorst.museum
    denmark.museum
    depot.museum
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top