- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 196 for closing (0.05 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
val connectionPool = it.connectionPool connectionPool.evictAll() if (connectionPool.connectionCount() > 0) { // Minimise test flakiness due to possible race conditions with connections closing. // Some number of tests will report here, but not fail due to this delay. println("Delaying to avoid flakes") Thread.sleep(500L) println("After delay: " + connectionPool.connectionCount())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
throw new IOException("DiSNI RDMA write failed", e); } } @Override public void close() throws IOException { state = RdmaConnectionState.CLOSING; try { // In real implementation, this would close the DiSNI endpoint: // if (endpoint != null) { // endpoint.close(); // } } finally {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
} @Test @DisplayName("Should handle close operation") void testClose() throws IOException { // When: Closing handle handle.close(); // Then: Should complete without errors assertDoesNotThrow(() -> handle.close()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
try { close() } catch (e: AssertionError) { throw e } catch (rethrown: RuntimeException) { if (rethrown.message == "bio == null") { // Conscrypt in Android 10 and 11 may throw closing an SSLSocket. This is safe to ignore. // https://issuetracker.google.com/issues/177450597 return } throw rethrown } catch (_: Exception) { } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt
* if no streams were processed. * * @param lastGoodStreamId the last stream ID processed, or zero if no streams were processed. * @param errorCode reason for closing the connection. * @param debugData only valid for HTTP/2; opaque debug data to send. */ @Throws(IOException::class) fun goAway( lastGoodStreamId: Int, errorCode: ErrorCode,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
* * @param name circuit breaker name for logging * @param failureThreshold number of failures before opening * @param successThreshold number of successes in half-open before closing * @param resetTimeoutMillis time to wait before attempting reset (ms) * @param halfOpenMaxAttempts max attempts in half-open state */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
* It delegates to the release() method to properly clean up the connection. */ @Override public void close() { if (log.isDebugEnabled()) { log.debug("Closing SmbTreeConnection via AutoCloseable.close()"); } release(); } protected void checkRelease() { if (isConnected() && this.usageCount.get() != 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
if (toClose != null) { connection.connectionListener.connectionClosed(connection) } } else { check(toClose == null) // If we still have a connection we shouldn't be closing any sockets. } } val result = timeoutExit(e) if (e != null) { eventListener.callFailed(this, result!!) } else { eventListener.callEnd(this) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 17.8K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
protected int maxReadWriteSize; public enum RdmaConnectionState { DISCONNECTED, CONNECTING, CONNECTED, ESTABLISHED, ERROR, CLOSING, CLOSED } public RdmaConnection(InetSocketAddress remote, InetSocketAddress local) { this.remoteAddress = remote; this.localAddress = local;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)