Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 514 for contention (0.06 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

    import java.util.concurrent.FutureTask
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.TimeUnit
    import mockwebserver3.SocketHandler
    import okhttp3.internal.connection.BufferedSocket
    import okhttp3.internal.connection.asBufferedSocket
    import okio.Socket
    import okio.utf8Size
    
    private typealias Action = (BufferedSocket) -> Unit
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. docs/features/calls.md

    OkHttp may add headers that are absent from the original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present. If you’ve got cookies, OkHttp will add a `Cookie` header with them.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

        /**
         * Creates a DCERPC pipe handle for named pipe communication
         * @param url the DCERPC URL specifying the endpoint
         * @param tc the CIFS context for connection configuration
         * @param unshared whether to use an exclusive connection
         * @throws DcerpcException if DCERPC initialization fails
         * @throws MalformedURLException if the URL is malformed
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. CHANGELOG.md

        in logs. For best security, don't put sensitive information in query parameters.
    
     *  New: `ConnectionPool.setPolicy()` configures a minimum connection pool size for a target
        address. Use this to proactively open HTTP connections.
    
        Connections opened to fulfill this policy are subject to the connection pool's
        `keepAliveDuration` but do not count against the pool-wide `maxIdleConnections` limit.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          }
    
        /**
         * Attempts to perform a web socket upgrade on the connection.
         * This will overwrite any previously set status, body, or streamHandler.
         */
        public fun webSocketUpgrade(listener: WebSocketListener): Builder =
          apply {
            status = "HTTP/1.1 101 Switching Protocols"
            setHeader("Connection", "Upgrade")
            setHeader("Upgrade", "websocket")
            webSocketListener = listener
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""connectStart: ${url.host}/.+ DIRECT"""))
          .assertLogMatch(Regex("""connectEnd: http/1.1"""))
          .assertLogMatch(
            Regex(
              """connectionAcquired: Connection\{${url.host}:\d+, proxy=DIRECT hostAddress=${url.host}/.+ cipherSuite=none protocol=http/1\.1\}""",
            ),
          ).assertLogMatch(Regex("""requestHeadersStart"""))
          .assertLogMatch(Regex("""requestHeadersEnd"""))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt

     */
    package okhttp3.dnsoverhttps
    
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.Dns
    
    /**
     * Internal Bootstrap DNS implementation for handling initial connection to DNS over HTTPS server.
     *
     * Returns hardcoded results for the known host.
     */
    internal class BootstrapDns(
      private val dnsHostname: String,
      private val dnsServers: List<InetAddress>,
    ) : Dns {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. buildscripts/upgrade-tests/nginx.conf

                proxy_connect_timeout 300;
                # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
                proxy_http_version 1.1;
                proxy_set_header Connection "";
                chunked_transfer_encoding off;
    
                proxy_pass http://minio;
            }
        }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Nov 21 18:41:30 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

         * @return active tree handle
         * @throws CIFSException if connection fails
         *
         */
        synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            // Optimization: Check connection validity more efficiently
            if (this.treeHandle != null && this.treeHandle.isConnected()) {
                // Connection is still valid - reuse it
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package okhttp3.internal.connection
    
    import java.net.Inet6Address
    import java.net.InetAddress
    import okhttp3.internal.interleave
    
    /**
     * Implementation of HappyEyeballs Sorting Addresses.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Apr 24 15:15:15 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top