- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for connectionsOf (0.06 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
fun closeConnections(now: Long): Long { // Find the longest-idle connections in 2 categories: // // 1. OLD: Connections that have been idle for at least keepAliveDurationNs. We close these if // we find them, regardless of what the address policies need. // // 2. EVICTABLE: Connections not required by any address policy. This matches connections that
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(address.getHostAddress()).thenReturn("192.168.1.100"); } @Test @DisplayName("Should distinguish between pooled and non-pooled connections") void testPooledVsNonPooledConnections() { // When: Create pooled and non-pooled connections SmbTransportImpl pooled = pool.getSmbTransport(ctx, address, 445, false); SmbTransportImpl nonPooled = pool.getSmbTransport(ctx, address, 445, true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
} fun allEnabledCipherSuites() = apply { require(tls) { "no cipher suites for cleartext connections" } this.cipherSuites = null } fun cipherSuites(vararg cipherSuites: CipherSuite): Builder = apply { require(tls) { "no cipher suites for cleartext connections" } val strings = cipherSuites.map { it.javaName }.toTypedArray() return cipherSuites(*strings)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.4K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
_2016-01-01_ * Fix: Don't do a health check on newly-created connections. This is unnecessary work that could put the client in an inconsistent state if the health check fails. ## Version 2.7.0 _2015-12-13_ * **Rewritten connection management.** Previously OkHttp's connection pool managed both idle and active connections for HTTP/2, but only idle connections for HTTP/1.x. With this update the connection pool manages both
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
* Upgrade: [Kotlin 1.3.71][kotlin_1_3_71]. ## Version 4.5.0 _2020-04-06_ **This release fixes a severe bug where OkHttp incorrectly detected and recovered from unhealthy connections.** Stale or canceled connections were incorrectly attempted when they shouldn't have been, leading to rare cases of infinite retries. Please upgrade to this release!
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
protected int smbConnectionTimeout = SmbConstants.DEFAULT_CONN_TIMEOUT; /** Session timeout in milliseconds for SMB sessions */ protected int smbSessionTimeout = SmbConstants.DEFAULT_SO_TIMEOUT; /** Whether idle timeout is disabled for connections */ protected boolean idleTimeoutDisabled = false; /** Local address to bind for SMB connections */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * Property {@code jcifs.smb.client.lport} (int) * * @return local port to use for outgoing connections */ int getLocalPort(); /** * * Property {@code jcifs.smb.client.laddr} (string) * * @return local address to use for outgoing connections */ InetAddress getLocalAddr(); /** *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
"The specified network name is no longer available.", "Network access is denied.", "Bad device type", "The network name cannot be found.", "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
override fun createRequestBody( request: Request, contentLength: Long, ): Sink = when { request.body?.isDuplex() == true -> throw ProtocolException( "Duplex connections are not supported for HTTP/1", ) request.isChunked -> newChunkedSink() // Stream a request body of unknown length. contentLength != -1L -> newKnownLengthSink() // Stream a request body of a known length.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7)