Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 803 for connecting (0.06 sec)

  1. tests/test_ws_router.py

            assert data == "path/to/file"
            data = websocket.receive_text()
            assert data == "a_query_param"
    
    
    def test_wrong_uri():
        """
        Verify that a websocket connection to a non-existent endpoing returns in a shutdown
        """
        client = TestClient(app)
        with pytest.raises(WebSocketDisconnect) as e:
            with client.websocket_connect("/no-router/"):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

        if (witnessClient != null) {
            witnessClient.close();
        }
        super.logoff();
    }
    ```
    
    ### 5.2 Tree Connection Integration
    ```java
    // In SmbTree.java
    public void connectWithWitnessSupport() throws IOException {
        // Perform normal tree connection
        super.connect();
        
        // Register for witness notifications for this share
        if (session.isWitnessEnabled()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            when(filterConfig.getInitParameter(anyString())).thenAnswer(invocation -> initParams.get(invocation.getArgument(0)));
    
            filter.init(filterConfig);
    
            // Test request over insecure connection
            when(request.getHeader("Authorization")).thenReturn(null);
            when(request.isSecure()).thenReturn(false);
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        val cookie = cookies[0]
        assertThat(cookie.name).isEqualTo("a")
        assertThat(cookie.value).isEqualTo("android")
        assertThat(cookie.commentURL).isNull()
        assertThat(cookie.discard).isFalse()
        // Converting to a fixed date can cause rounding!
        assertThat(cookie.maxAge.toDouble()).isCloseTo(60.0, 5.0)
        assertThat(cookie.path).isEqualTo("/path")
        assertThat(cookie.secure).isTrue()
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

        // ----------------/
        // - Constructors -/
        // ----------------/
    
        /**
         * Creates a new InputLocation from an API model InputLocation.
         * This constructor is used for converting between the API model and the compat model.
         *
         * @param location the API model InputLocation to convert from
         */
        public InputLocation(org.apache.maven.api.model.InputLocation location) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	if logKind == 0 {
    		logKind = madmin.LogMaskAll
    	}
    
    	// Avoid reusing tcp connection if read timeout is hit
    	// This is needed to make r.Context().Done() work as
    	// expected in case of read timeout
    	w.Header().Set("Connection", "close")
    
    	setEventStreamHeaders(w)
    
    	logCh := make(chan log.Info, 1000)
    	peers, _ := newPeerRestClients(globalEndpoints)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 99.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/samr.java

            public void decode_out(final NdrBuffer _src) throws NdrException {
                this.retval = _src.dec_ndr_long();
            }
        }
    
        /**
         * SAMR Connect2 operation for establishing a connection to the SAM database.
         * This operation opens the SAM database on a remote server.
         */
        public static class SamrConnect2 extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            @Override
            public void decode_out(final NdrBuffer _src) throws NdrException {
                retval = _src.dec_ndr_long();
            }
        }
    
        /**
         * SAMR Connect2 operation for establishing a connection to the SAM database.
         * This operation opens the SAM database on a remote server.
         */
        public static class SamrConnect2 extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/HandlerTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link Handler}.
     *
     * Tests the SMB URL handler implementation including:
     * - Default port configuration
     * - URL connection opening
     * - URL creation and parsing
     */
    public class HandlerTest {
    
        private final Handler handler = new Handler();
    
        @BeforeAll
        static void setupProtocolHandler() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            /**
             * The share permissions.
             */
            public int permissions;
            /**
             * The maximum number of concurrent connections.
             */
            public int max_uses;
            /**
             * The current number of connections.
             */
            public int current_uses;
            /**
             * The local path of the share.
             */
            public String path;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
Back to top