Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for downgrades (0.1 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                        }
                        context.success("Model upgrade completed");
                        modifiedPoms.add(pomPath);
                    } else {
                        // Treat invalid upgrades (including downgrades) as errors, not warnings
                        context.failure("Cannot upgrade from " + currentVersion + " to " + targetModelVersion);
                        errorPoms.add(pomPath);
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

            "ReadWriteC -> ReadWriteA",
            "ReadWriteB -> ReadWriteC",
            "ReadWriteA -> ReadWriteB");
      }
    
      public void testWriteToReadLockDowngrading() {
        writeLockA.lock(); // writeLockA downgrades to readLockA
        readLockA.lock();
        writeLockA.unlock();
    
        lockB.lock(); // readLockA -> lockB
        readLockA.unlock();
    
        // lockB -> writeLockA should fail
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 16.2K bytes
    - Click Count (0)
  3. docs/debugging/xl-meta/main.go

    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    const (
    	// Breaking changes.
    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    	// Bumping this is informational, but should be done
    	// if any change is made to the data stored, bumping this
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/PreauthIntegrityService.java

    import jcifs.internal.smb2.nego.PreauthIntegrityNegotiateContext;
    
    /**
     * Enhanced Pre-Authentication Integrity Service for SMB 3.1.1.
     *
     * Provides comprehensive pre-authentication integrity protection against
     * downgrade attacks by maintaining cryptographic hash chains of all
     * negotiation and session setup messages.
     */
    public class PreauthIntegrityService {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                assertEquals("package", packageExecution.child("phase").orElse(null).textContent());
            }
        }
    
        @Nested
        @DisplayName("Downgrade Handling")
        class DowngradeHandlingTests {
    
            @Test
            @DisplayName("should fail with error when attempting downgrade from 4.1.0 to 4.0.0")
            void shouldFailWhenAttemptingDowngrade() throws Exception {
                String pomXml = """
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

      fun wrongConnectionHeader() {
        webServer.enqueue(
          MockResponse
            .Builder()
            .code(101)
            .setHeader("Upgrade", "websocket")
            .setHeader("Connection", "Downgrade")
            .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")
            .build(),
        )
        webServer.enqueue(
          MockResponse
            .Builder()
            .onRequestStart(CloseSocket())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            }
            return model;
        }
    
        static void warnNotDowngraded(MavenProject project) {
            LOGGER.warn("The consumer POM for " + project.getId() + " cannot be downgraded to 4.0.0. "
                    + "If you intent your build to be consumed with Maven 3 projects, you need to remove "
                    + "the features that request a newer model version.  If you're fine with having the "
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  8. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement lease key generation and management
    - [ ] Add lease context to Create request/response
    - [ ] Implement lease break notification handling
    - [ ] Modify SmbFile to support lease-based caching
    - [ ] Add lease upgrade/downgrade logic
    - [ ] Implement lease epoch tracking for v2 leases
    
    #### 1.3 Integration Points
    - Modify `Smb2CreateRequest` to include lease contexts
    - Update `SmbFile` caching logic to use leases
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

            sslSocket.enabledProtocols.intersect(tlsVersionsAsString, naturalOrder())
          } else {
            sslSocket.enabledProtocols
          }
    
        // In accordance with https://tools.ietf.org/html/draft-ietf-tls-downgrade-scsv-00 the SCSV
        // cipher is added to signal that a protocol fallback has taken place.
        val supportedCipherSuites = sslSocket.supportedCipherSuites
        val indexOfFallbackScsv =
          supportedCipherSuites.indexOf(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
    
            @ParameterizedTest(name = "from {0} to {1}")
            @MethodSource("provideInvalidPathUpgradeVersions")
            @DisplayName("should reject downgrade")
            void shouldRejectDowngrade(String from, String to) {
                assertFalse(ModelVersionUtils.canUpgrade(from, to));
            }
    
            private static Stream<Arguments> provideInvalidPathUpgradeVersions() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
Back to Top