Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for compound (0.73 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                len += pad8(bufferIndex);
            } else if (compound && this.nextCommand == 0 && this.readSize > 0) {
                // Apply compound response handling as per MS-SMB2 3.2.5.1.9 - correct for both compound and single responses
                // 3.2.5.1.9 Handling Compounded Responses
                // The final response in the compounded response chain will have NextCommand equal to 0,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertTrue(testMessage.getLength() > 0);
            }
        }
    
        @Nested
        @DisplayName("Compound Response Tests")
        class CompoundResponseTests {
    
            @Test
            @DisplayName("Should handle compound with final response")
            void testCompoundFinalResponse() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[512];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

                this.maxVersion = this.minVersion;
            }
        }
    
        /**
         * Initializes the disallowed compound operations based on the provided property string.
         *
         * @param prop comma-separated list of operations to disallow in compound requests
         */
        protected void initDisallowCompound(final String prop) {
            if (prop == null) {
                return;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/BaseConfigurationTest.java

            // Check protocol versions
            assertNotNull(testConfig.getMinimumVersion());
            assertNotNull(testConfig.getMaximumVersion());
    
            // Check disallow compound
            assertNotNull(testConfig.disallowCompound);
            assertTrue(testConfig.disallowCompound.contains("Smb2SessionSetupRequest"));
            assertTrue(testConfig.disallowCompound.contains("Smb2TreeConnectRequest"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

         */
        boolean isTraceResourceUsage();
    
        /**
         * Checks if compound requests are allowed for the specified command
         *
         * @param command the SMB command to check
         * @return whether to allow creating compound requests with that command
         */
        boolean isAllowCompound(String command);
    
        /**
         * Machine identifier
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                verify(mockConfig, times(2)).isAllowCompound("TestServerMessageBlock2Request");
            }
    
            @Test
            @DisplayName("allowChain should return false when config disallows compound")
            void testAllowChainDisallowed() {
                TestServerMessageBlock2Request nextRequest = new TestServerMessageBlock2Request(mockConfig);
                when(mockConfig.isAllowCompound(anyString())).thenReturn(false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

                if (Thread.currentThread() == this.thread) {
                    // we are in the transport thread, ie. on idle disconnecting
                    // this is synchronous operation
                    // This does not handle compound requests
                    synchronized (this.inLock) {
                        final Long peekKey = peekKey();
                        if (peekKey == firstKey) {
                            doRecv(response);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResource.java

         *
         * @throws CIFSException if an error occurs modifying the resource
         */
        void setReadOnly() throws CIFSException;
    
        /**
         * Set the attributes of this file. Attributes are composed into a
         * bitset by bitwise ORing the <code>ATTR_*</code> constants. Setting the
         * value returned by <code>getAttributes</code> will result in both files
         * having the same attributes.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
Back to top