- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 67 for Disconnect (0.07 seconds)
-
docs/smb3-features/06-witness-protocol-design.md
try { // Create new transport to new address SmbTransport newTransport = new SmbTransport(context, newAddress, transport.getPort()); // Disconnect old transport transport.disconnect(); // Replace with new transport this.transport = newTransport; newTransport.connect();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
assertThrows(IllegalArgumentException.class, () -> { testBlock.setResponse(invalidResponse); }); } @Test @DisplayName("Test ignore disconnect") void testIgnoreDisconnect() { assertEquals(testBlock, testBlock.ignoreDisconnect()); } } @Nested @DisplayName("Request Properties Tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
// Write some data try (OutputStream os = file.getOutputStream()) { os.write("test data".getBytes()); } // Simulate network disconnection file.getTree().getSession().getTransport().disconnect(); // Try to read - should trigger reconnection try (InputStream is = file.getInputStream()) { byte[] buffer = new byte[9]; is.read(buffer);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
/** SMB2 logoff command */ protected static final short SMB2_LOGOFF = 0x02; /** SMB2 tree connect command */ protected static final short SMB2_TREE_CONNECT = 0x0003; /** SMB2 tree disconnect command */ protected static final short SMB2_TREE_DISCONNECT = 0x0004; /** SMB2 create/open file command */ protected static final short SMB2_CREATE = 0x0005; /** SMB2 close file command */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
suppressTlsFallbackClientSocketFactory(), handshakeCertificates.trustManager, ).build() assertContent("abc", getResponse(newRequest("/"))) // Give the server time to disconnect. Thread.sleep(500) assertContent("def", getResponse(newRequest("/"))) val tlsVersions: Set<TlsVersion?> = EnumSet.of( TlsVersion.TLS_1_0, TlsVersion.TLS_1_2,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0) -
tests/test_stream_cancellation.py
""" chunks: list[bytes] = [] async def receive(): # type: ignore[no-untyped-def] # Simulate a client that never disconnects, rely on cancellation await anyio.sleep(float("inf")) return {"type": "http.disconnect"} # pragma: no cover async def send(message: dict) -> None: # type: ignore[type-arg] if message["type"] == "http.response.body":Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
/** * SMB command to close a find operation. */ public static final byte SMB_COM_FIND_CLOSE2 = (byte) 0x34; /** * SMB command to disconnect from a tree share. */ public static final byte SMB_COM_TREE_DISCONNECT = (byte) 0x71; /** * SMB command to negotiate protocol dialect. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
} @Test fun responseBodyFailHttp() { responseBodyFail(Protocol.HTTP_1_1) } private fun responseBodyFail(expectedProtocol: Protocol?) { // Use a 2 MiB body so the disconnect won't happen until the client has read some data. val responseBodySize = 2 * 1024 * 1024 // 2 MiB server.enqueue( MockResponse .Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
} @Test fun serverDisconnectsPrematurelyWithNoLengthHeaders() { // Intentionally empty. This case doesn't make sense because there's no // such thing as a premature disconnect when the disconnect itself // indicates the end of the data stream. } private fun testServerPrematureDisconnect(transferKind: TransferKind) { val mockResponse = MockResponse.Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0)