Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for doDisconnect (0.08 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTree.java

                    if (se.getNtStatus() == NtStatus.NT_STATUS_NETWORK_NAME_DELETED) {
                        /* Someone removed the share while we were
                         * connected. Bastards! Disconnect this tree
                         * so that it reconnects cleanly should the share
                         * reappear in this client's lifetime.
                         */
                        treeDisconnect(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. 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());
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-docs-ui-assets.md

    Now, to be able to test that everything works, create a *path operation*:
    
    {* ../../docs_src/custom_docs_ui/tutorial002.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 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>, and reload the page.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlRequest.java

                    exceptionListener.accept(new CurlException("Failed to access to " + url, e));
                } finally {
                    if (connection != null) {
                        connection.disconnect();
                    }
                }
            };
            if (threadPool != null) {
                threadPool.execute(task);
            } else {
                task.run();
            }
        }
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. 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 */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. 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,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  9. src/main/webapp/js/bootstrap.min.js

    DefaultType(){return He}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=c(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshol...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 58.9K bytes
    - Viewed (0)
  10. 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()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
Back to top