- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 376 for reconnect (0.07 seconds)
-
docs/smb3-features/06-witness-protocol-design.md
.execute(() -> { try { transport.disconnect(); transport.connect(); // Reconnect log.info("Successfully reconnected after witness notification"); } catch (Exception e) { log.error("Failed to reconnect after witness notification", e); } }); } private void scheduleAddressChange(InetAddress newAddress) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
internal/dsync/dsync-client_test.go
) // ReconnectRESTClient is a wrapper type for rest.Client which provides reconnect on first failure. type ReconnectRESTClient struct { u *url.URL rest *rest.Client } // newClient constructs a ReconnectRESTClient object with addr and endpoint initialized. // It _doesn't_ connect to the remote endpoint. See Call method to see when the // connect happens. func newClient(endpoint string) NetLocker { u, err := url.Parse(endpoint)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 20 17:36:09 GMT 2022 - 4.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
import java.io.Serializable; import java.util.Arrays; import jcifs.internal.smb2.lease.Smb2LeaseKey; /** * Information about a durable or persistent SMB handle. * This class holds all the necessary information to reconnect * a handle after network failures or server reboots. */ public class HandleInfo implements Serializable { private static final long serialVersionUID = 1L; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
internal/grid/connection_test.go
t.Log("Roundtrip:", time.Since(start), resp, err) gotResp <- struct{}{} }() <-gotCall remote.debugMsg(debugKillInbound) local.debugMsg(debugKillInbound) <-gotResp // Must reconnect errFatal(remoteConn.WaitForConnect(t.Context())) stream, err := remoteConn.NewStream(t.Context(), handlerTest2, []byte(testPayload)) errFatal(err) go func() { for resp := range stream.responses {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
} /** * Test that connect() calls connect() on the underlying connection. * @throws IOException */ @Test void testConnect() throws Exception { // Act ntlmConnection.connect(); // Assert verify(mockConnection).connect(); // Connection should be established after connect } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Check if transport creation failed if (newTransport == null) { throw new IOException("Failed to create new transport"); } // Reconnect channel.setState(ChannelState.CONNECTING); // Connection would be ensured through proper transport interface // Re-establish channel bindingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
if (info != null && !info.isExpired()) { info.setReconnecting(true); info.updateAccessTime(); log.debug("Found handle for reconnect: {}", path); return info; } return null; } finally { lock.readLock().unlock(); } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
* * @return the registration timeout */ long getWitnessRegistrationTimeout(); /** * Gets the witness reconnect delay in milliseconds. * * @return the reconnect delay */ long getWitnessReconnectDelay(); /** * Gets whether witness service discovery is enabled. * * @return true if discovery is enabledCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
try { transport.disconnect(true); transport.connect(getConfig().getConnTimeout()); // Reconnect log.info("Successfully reconnected after witness notification"); } catch (Exception e) { log.error("Failed to reconnect after witness notification", e); } }); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0)