Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for retryOnConnectionFailure (0.24 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      @JvmName("-deprecated_retryOnConnectionFailure")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "retryOnConnectionFailure"),
        level = DeprecationLevel.ERROR,
      )
      fun retryOnConnectionFailure(): Boolean = retryOnConnectionFailure
    
      @JvmName("-deprecated_authenticator")
      @Deprecated(
        message = "moved to val",
    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)
  2. okhttp/api/okhttp.api

    	public final fun -deprecated_proxySelector ()Ljava/net/ProxySelector;
    	public final fun -deprecated_readTimeoutMillis ()I
    	public final fun -deprecated_retryOnConnectionFailure ()Z
    	public final fun -deprecated_socketFactory ()Ljavax/net/SocketFactory;
    	public final fun -deprecated_sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;
    	public final fun -deprecated_writeTimeoutMillis ()I
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

     *  Fix: Don't drop headers of healthy streams that raced with `GOAWAY` frames.
        This bug would cause HTTP/2 streams to occasional hang when the connection
        was shutting down.
     *  Fix: Honor `OkHttpClient.retryOnConnectionFailure()` when the response is a
        HTTP 408 Request Timeout. If retries are enabled, OkHttp will retry exactly
        once in response to a 408.
     *  Fix: Don't crash when reading the empty `HEAD` response body if it specifies
    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)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        server.enqueue(
          MockResponse(socketPolicy = ResetStreamAtStart(errorCode!!.httpCode)),
        )
        server.enqueue(MockResponse(body = "abc"))
        client =
          client.newBuilder()
            .retryOnConnectionFailure(false)
            .build()
        val call = client.newCall(Request(server.url("/")))
        assertFailsWith<StreamResetException> {
          call.execute()
        }.also { expected ->
    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)
Back to top