- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 275 for reconnect (0.58 seconds)
-
src/main/java/jcifs/smb/SmbTreeImpl.java
*/ final String svc = this.service0; /* * Tree Connect And X Request / Response */ if (log.isDebugEnabled()) { log.debug("treeConnect: unc=" + unc + ",service=" + svc); } if (transport.isSMB2()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
* so that it reconnects cleanly should the share * reappear in this client's lifetime. */ treeDisconnect(true); } throw se; } } } void treeConnect(final ServerMessageBlock andx, final ServerMessageBlock andxResponse) throws SmbException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} if (referral != null) { t.markDomainDfs(); } try { if (log.isTraceEnabled()) { log.trace("doConnect: " + addr); } t.treeConnect(null, null); return t.acquire(); } catch (final SmbAuthException sae) { log.debug("Authentication failed", sae);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Mock transport.connect() to succeed doNothing().when(transport).connect(); // Simulate failed tree connect doThrow(new SmbException("Connection failed")).when(session).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); assertThrows(SmbException.class, () -> tree.treeConnect(null, null));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
thread.wait(timeout); /* wait for doConnect */ switch (state) { case 1: /* doConnect never returned */ state = 0; thread = null; throw new TransportException("Connection timeout"); case 2: if (te != null) { /* doConnect throw Exception */ state = 4; /* error */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
// Setting onConnect to null should work request.onConnect(null); assertNotNull(request); } @Test public void testMultipleOnConnectCalls() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); // Multiple onConnect calls should work (last one wins) request.onConnect((req, conn) -> conn.setConnectTimeout(1000));Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
mockHolder[0] = mock; return mock; }); req.timeout(3000, 5000); // onConnect runs AFTER timeout, so it can override req.onConnect((r, conn) -> { conn.setReadTimeout(9999); onConnectReadTimeout.set(conn.getReadTimeout()); }); // ## Act ##
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Transport.java
t.wait(timeout); /* wait for doConnect */ st = this.state; switch (st) { case 1: /* doConnect never returned */ this.state = 6; throw new ConnectionTimeoutException("Connection timeout"); case 2: if (this.te != null) { /* doConnect throw Exception */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
/* Some pipes may require that the hostname in the tree connect * be the netbios name. So if we have the netbios server name * from the NTLMSSP type 2 message, and the share is IPC$, we * assert that the tree connect path uses the netbios hostname. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 20.7K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.19.md
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Wed Jan 05 05:42:32 GMT 2022 - 489.7K bytes - Click Count (0)