Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for shallow (8.07 sec)

  1. docs/changelogs/changelog_1x.md

     * Fix: Eliminate rare race condition in SPDY streams that would prevent connection reuse.
     * Fix: Change HTTP date formats to UTC to conform to RFC2616 section 3.3.
     * Fix: Support SPDY header blocks with trailing bytes.
     * Fix: Allow `;` as separator for `Cache-Control` header.
     * Fix: Correct bug where HTTPS POST requests were always automatically buffered.
     * Fix: Honor read timeout when parsing SPDY headers.
    
    
    ## Version 1.2.1
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

     *  **TLSv1 and TLSv1.1 are no longer enabled by default.** Major web browsers are working towards
        removing these versions altogether in early 2020. If your servers aren't ready yet you can
        configure OkHttp 3.13 to allow TLSv1 and TLSv1.1 connections:
    
        ```
        OkHttpClient client = new OkHttpClient.Builder()
            .connectionSpecs(Arrays.asList(ConnectionSpec.COMPATIBLE_TLS))
            .build();
        ```
    
    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)
  3. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    # Invalid escaping should trigger the regular host error handling.
    http://%3g%78%63%30%2e%30%32%35%30%2E.01
    
    # Something that isn't exactly an IP should get treated as a host and
    # spaces escaped.
    http://192.168.0.1\shello
    
    # Fullwidth and escaped UTF-8 fullwidth should still be treated as IP.
    # These are "0Xc0.0250.01" in fullwidth.
    http://\uff10\uff38\uff43\uff10\uff0e\uff10\uff12\uff15\uff10\uff0e\uff10\uff11  s:http p:/ h:192.168.0.1
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. okhttp-android/src/test/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

    import org.robolectric.annotation.Config
    import org.robolectric.shadow.api.Shadow
    
    @Config(shadows = [ShadowDnsResolver::class], sdk = [34])
    @RunWith(RobolectricTestRunner::class)
    class AndroidAsyncDnsTest {
      @Test
      fun testDnsRequestInvalid() {
        val asyncDns = AndroidAsyncDns.IPv4
        val shadowDns: ShadowDnsResolver = Shadow.extract(asyncDns.resolver)
    
        shadowDns.responder = {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 22 20:07:09 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt

    import android.os.CancellationSignal
    import java.net.InetAddress
    import java.util.concurrent.Executor
    import org.robolectric.annotation.Implementation
    import org.robolectric.annotation.Implements
    import org.robolectric.shadow.api.Shadow
    
    @Implements(DnsResolver::class)
    class ShadowDnsResolver {
      var responder: (Request) -> Unit = {
        it.callback.onAnswer(listOf(), 0)
      }
    
      data class Request(
        val network: Network?,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 22 20:07:09 GMT 2024
    - 1.7K bytes
    - Viewed (1)
  6. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

        // Hanging.
        "okhttp3.CookiesTest",
        // Hanging.
        "okhttp3.WholeOperationTimeoutTest",
      )
    
    /**
     * Run periodically to refresh the known set of working tests.
     *
     * TODO use filtering to allow skipping acceptable problem tests
     */
    fun main() {
      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
      val testSelector = DiscoverySelectors.selectPackage("okhttp3")
      val testClasses =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

          HandshakeCertificates certificates = new HandshakeCertificates.Builder()
                  .addTrustedCertificate((X509Certificate) isgCertificate)
                  // Uncomment to allow connection to any site generally, but will cause
                  // noticeable memory pressure in Android apps.
    //              .addPlatformTrustedCertificates()
                  .build();
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Nov 17 07:40:31 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        // Cause the cache trim job to fail.
        filesystem.setFaultyDelete(cacheDir / "a.0", true)
        taskFaker.runNextTask()
    
        // Confirm we still allow snapshot reads after a trim failure.
        assertValue("a", "aa", "aa")
        assertValue("b", "bb", "bbb")
    
        // Allow the test to clean up.
        filesystem.setFaultyDelete(cacheDir / "a.0", false)
      }
    
      @ParameterizedTest
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

          }
    
          else -> return null
        }
      }
    
      private fun buildRedirectRequest(
        userResponse: Response,
        method: String,
      ): Request? {
        // Does the client allow redirects?
        if (!client.followRedirects) return null
    
        val location = userResponse.header("Location") ?: return null
        // Don't follow redirects to unsupported protocols.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  10. docs/changelogs/changelog_2x.md

        as in cookies.
     *  Fix: Reject bad characters in the URL hostname. Previously characters like
        `\0` would cause a late crash when building the request.
     *  Fix: Allow interceptors to change the request method.
     *  Fix: Don’t use the request's `User-Agent` or `Proxy-Authorization` when
        connecting to an HTTPS server via an HTTP tunnel. The `Proxy-Authorization`
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
Back to top