Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 409 for reconnect (3.21 sec)

  1. 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) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  2. 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;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. 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)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. 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
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                        "DHnC", // Durable handle reconnect
                        "AlSi", // Allocation size
                        "MxAc", // Max access
                        "TWrp", // Timewarp
                        "QFid", // Query on disk ID
                        "RqLs", // Request lease
                        "DH2Q", // Durable handle request V2
                        "DH2C", // Durable handle reconnect V2
                        "ExtA", // Extended attributes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. 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 enabled
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. 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();
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. cmd/storage-rest-client.go

    	return client.endpoint.String()
    }
    
    // IsOnline - returns whether client failed to connect or not.
    func (client *storageRESTClient) IsOnline() bool {
    	return client.restClient.IsOnline() || client.IsOnlineWS()
    }
    
    // IsOnlineWS - returns whether websocket client failed to connect or not.
    func (client *storageRESTClient) IsOnlineWS() bool {
    	return client.gridConn.State() == grid.StateConnected
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. 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 binding
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top