Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for swallowed (0.66 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        "--connect-timeout",
        help = "Maximum time allowed for connection (seconds)",
      ).int().default(DEFAULT_TIMEOUT)
    
      val readTimeout: Int by option("--read-timeout", help = "Maximum time allowed for reading data (seconds)").int().default(DEFAULT_TIMEOUT)
    
      val callTimeout: Int by option(
        "--call-timeout",
        help = "Maximum time allowed for the entire call (seconds)",
      ).int().default(DEFAULT_TIMEOUT)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       *
       * The target execution time is implemented on a best-effort basis. If another task in this queue
       * is running when that time is reached, that task is allowed to complete before this task is
       * started. Similarly the task will be delayed if the host lacks compute resources.
       *
       * @throws RejectedExecutionException if the queue is shut down and the task is not cancelable.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. docs/contribute/concurrency.md

    Socket writes are guarded by the Http2Writer. Only one stream can write at a time so that messages are not interleaved. Writes are either made by application-layer threads or the do-stuff-later pool.
    
    ### Holding multiple locks
    
    You're allowed to take the Http2Connection lock while holding the Http2Writer lock. But not vice-versa. Because taking the Http2Writer lock can block.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

            .writeUtf8(boundary)
            .readByteString()
    
        private var partCount = 0
        private var closed = false
        private var noMoreParts = false
    
        /** This is only part that's allowed to read from the underlying source. */
        private var currentPart: PartSource? = null
    
        @Throws(IOException::class)
        constructor(response: ResponseBody) : this(
          source = response.source(),
          boundary =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. gradlew

    DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
    
    # Collect all arguments for the java command:
    #   * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
    #     and any embedded shellness will be escaped.
    #   * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        assertEquals(0, client.connectionPool.connectionCount())
    
        // Force reuse. This appears flaky (30% of the time) even though sessions are reused.
        // javax.net.ssl.SSLHandshakeException: No new session is allowed and no existing
        // session can be resumed
        //
        // Report https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8264944
        // Sessions improvement https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8245576
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp-tls/README.md

    We use `certificateAuthority(int)` to create certificates that can sign other certificates. The
    int specifies how many intermediate certificates are allowed beneath it in the chain.
    
    ```java
    HeldCertificate rootCertificate = new HeldCertificate.Builder()
        .certificateAuthority(1)
        .build();
    
    HeldCertificate intermediateCertificate = new HeldCertificate.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 9.1K bytes
    - Viewed (1)
Back to top