Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 67 for Disconnect (0.07 seconds)

  1. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid");
            assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect"));
        }
    
        // Happy path for SMB2: a response is received and the list is returned; tree is closed
        @Test
        @DisplayName("watch() SMB2 happy path returns notifications and closes tree")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
    
            // When
            int size = request.size();
    
            // Then
            // SMB2_HEADER_LENGTH + 4 bytes for tree disconnect structure
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 4;
            // size8 method aligns to 8-byte boundary
            int alignedSize = (expectedSize + 7) & ~7;
            assertEquals(alignedSize, size);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                     * sent. Unfortunately calling disconnect() doesn't always
                                     * actually shutdown the connection before other threads
                                     * have committed themselves (e.g. InterruptTest example).
                                     */
                                    try {
                                        transport.disconnect(true);
    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)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            try {
                handshake();
            } catch (final IOException ex) {}
            return connection.getResponseMessage();
        }
    
        @Override
        public void disconnect() {
            connection.disconnect();
            handshakeComplete = false;
            connected = false;
        }
    
        @Override
        public boolean usingProxy() {
            return connection.usingProxy();
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  5. docs/en/docs/how-to/custom-docs-ui-assets.md

    {* ../../docs_src/custom_docs_ui/tutorial002_py310.py hl[39:41] *}
    
    ### Test Static Files UI { #test-static-files-ui }
    
    Now, you should be able to disconnect your WiFi, go to your docs at [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs), and reload the page.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        @Override
        public String getResponseMessage() throws IOException {
            handshake();
            return this.connection.getResponseMessage();
        }
    
        @Override
        public void disconnect() {
            this.connection.disconnect();
            this.handshakeComplete = false;
            this.connected = false;
        }
    
        @Override
        public boolean usingProxy() {
            return this.connection.usingProxy();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  7. cmd/metacache-server-pool.go

    		o.Create = false
    		o.ID = ""
    		o.Transient = true
    		return entries, errDiskFull
    	}
    	o.set = z.serverPools[o.pool].getHashedSetIndex(o.ID)
    	saver := z.serverPools[o.pool].sets[o.set]
    
    	// Disconnect from call above, but cancel on exit.
    	listCtx, cancel := context.WithCancel(GlobalContext)
    	saveCh := make(chan metaCacheEntry, metacacheBlockSize)
    	inCh := make(chan metaCacheEntry, metacacheBlockSize)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/MultiChannelManager.java

                for (ChannelInfo channel : channelGroup.getChannels()) {
                    try {
                        if (channel.getTransport() != null) {
                            channel.getTransport().disconnect(true);
                        }
                    } catch (Exception e) {
                        log.warn("Error closing channel {}: {}", channel.getChannelId(), e.getMessage());
                    }
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  9. cmd/metrics.go

    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    				// we do not have to log this.
    				return
    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    }
    
    // NoAuthMiddleware no auth middle ware.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:06:31 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  10. docs/smb3-features/05-rdma-smb-direct-design.md

                throw new IOException("Timeout waiting for RDMA send credit");
            }
        }
        
        @Override
        public void disconnect() throws IOException {
            try {
                rdmaConnection.close();
            } finally {
                bufferManager.cleanup();
                super.disconnect();
            }
        }
        
        public RdmaProvider getProvider() {
            return provider;
        }
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
Back to Top