Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for leaked (0.12 sec)

  1. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

        }
    
        /**
         * Get all active leases
         *
         * @return map of lease keys to lease entries
         */
        public Map<Smb2LeaseKey, LeaseEntry> getAllLeases() {
            return new ConcurrentHashMap<>(leases);
        }
    
        /**
         * Clean up expired leases
         *
         * @param maxAgeMillis maximum age in milliseconds
         * @return number of leases cleaned up
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            assertTrue(releaseCount.get() > 0 || acquireCount.get() > 0, "Release and acquire counts should be processed");
        }
    
        /**
         * Test that trees collection is properly cleared during cleanup.
         */
        @Test
        public void testTreesCollectionCleanup() {
            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

        /** Whether to use SMB2/SMB3 leases for caching */
        protected boolean useLease = true;
        /** Lease timeout in milliseconds */
        protected int leaseTimeout = 30000;
        /** Maximum number of concurrent leases */
        protected int maxLeases = 1000;
        /** Preferred lease version (1 or 2) */
        protected int leaseVersion = 2;
        /** Lease break timeout in seconds (per MS-SMB2 spec) */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer2.length, "Reused buffer should have correct size");
    
            // Note: We don't check if content is cleared as that's not a security requirement
            // The important part is that the buffer is valid and has correct size
        }
    
        /**
         * Test getBuffers method for transaction buffers.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

         * Property {@code jcifs.smb.client.useLease} (boolean, default true)
         *
         * @return whether to use SMB2/SMB3 leases for caching
         * @since 2.2
         */
        boolean isUseLease();
    
        /**
         * Property {@code jcifs.smb.client.leaseTimeout} (int, default 30000)
         *
         * @return lease timeout in milliseconds
         * @since 2.2
         */
        int getLeaseTimeout();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtStatus.java

        int NT_STATUS_PASSWORD_MUST_CHANGE = 0xC0000224;
        /** The object was not found */
        int NT_STATUS_NOT_FOUND = 0xC0000225;
        /** The referenced account is currently locked out */
        int NT_STATUS_ACCOUNT_LOCKED_OUT = 0xC0000234;
        /** The pathname does not traverse a DFS junction */
        int NT_STATUS_PATH_NOT_COVERED = 0xC0000257;
        /** The IO operation on the reparse point failed */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

                } catch (final IOException ioe0) {
                    this.state = 6;
                    ioe = ioe0;
                }
            case 4: /* failed to connect - reset the transport */
                // thread is cleaned up by connect routine, joining it here causes a deadlock
                this.thread = null;
                this.state = 6;
                break;
            default:
                log.error("Invalid state: " + this.state);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/PreauthIntegrityService.java

         */
        public void cleanup() {
            for (PreauthIntegrityContext context : sessionContexts.values()) {
                context.invalidate();
            }
            sessionContexts.clear();
            log.debug("Cleaned up all preauth integrity contexts");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                return signingKey;
            case 3:
            case 4:
            case 5:
                /*
                 * This code is only called if extended security is not on. This will
                 * all be cleaned up an normalized in JCIFS 2.x.
                 */
                throw new SmbException(
                        "NTLMv2 requires extended security (jcifs.smb.client.useExtendedSecurity must be true if jcifs.smb.lmCompatibility >= 3)");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        /** Whether to use pipelines for document processing */
        protected boolean usePipeline = false;
    
        /**
         * Adds an index configuration file path to be loaded.
         *
         * @param path path to the index configuration file
         */
        public void addIndexConfig(final String path) {
            indexConfigList.add(path);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
Back to top