Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
De-incubate some more methods for Gradle 6.0

    • -2
    • +0
    ./authentication/http/HttpHeaderAuthentication.java
  1. … 9 more files in changeset.
Fix failing tests from insecure HTTP deprecation changes

  1. … 4 more files in changeset.
Refactor HTTP deprecation logic to use HttpRedirectVerifier

  1. … 57 more files in changeset.
Allow for multiple hosts for a given repository authentication

  1. … 5 more files in changeset.
Allow the lack of credentials for pre-emptive authentication to continue

We may be in a redirect chain if we don't have credentials

Pass host and port information through authentication for a given repository

  1. … 2 more files in changeset.
Revert "Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'""

This reverts commit 0625bc7420e55e87730673231af6ad45dd04f47a.

  1. … 87 more files in changeset.
Apply `Merge identical catch branches` inspection the whole project

  1. … 15 more files in changeset.
Revert "Merge remote-tracking branch 'origin/sg/merges/pr-9419'"

This reverts commit 2f79026f5e127a8175e25844522237615b19ed52 because of a performance regression,

reversing changes made to 7f1e66079ce629ecde3e09e549e9796ab85761dc.

  1. … 87 more files in changeset.
Move validation closer to the site of use

  1. … 9 more files in changeset.
Fix the naming of allowInsecureProtocol to use set & hide override API

  1. … 11 more files in changeset.
Improve HttpClientHelper deprication error and strip user credentials in errors

  1. … 1 more file in changeset.
Fix minor format issues

  1. … 1 more file in changeset.
Allow http for 127.0.0.1

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 16 more files in changeset.
Fix integration tests failing due to new dperication

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 10 more files in changeset.
Fix failing after HTTP deprecation refactor

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 7 more files in changeset.
Fix maven-publish to retry on transient network errors

- Add integration test for maven-publish retry

- Use `HttpErrorStatusCodeException` for upload failures

  1. … 2 more files in changeset.
Fix compilation errors introduced by TextUrlResource.Factory change

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 11 more files in changeset.
Cleanup HTTP deprecation documentation and unused tests resources

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 3 more files in changeset.
Add missing @Override to all modules

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 989 more files in changeset.
Deprecate download of resources over HTTP; Require opt-in

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>

  1. … 51 more files in changeset.
Synchronize access to System Properties when creating SSLContexts

  1. … 2 more files in changeset.
Remove synchronization around all system property getters

  1. … 5 more files in changeset.
Remove unused import

Remove SystemProperties.asMap

This allowed you to unsafely access System.getProperties elsewhere.

  1. … 3 more files in changeset.
Hold a lock on System Properties while reading them in DefaultSslContextFactory

  1. … 3 more files in changeset.
Make script source hashing faster

Do not calcualte the hash for the same script multiple times.

The hash is now stored in the text resource itself so we don't need

an externall managed cache. The UriTextResource implementation has

been thoroughly optimized for local file URIs. Previously reading

those in was a major bottleneck due to copying every byte into 4(!)

different buffers.

Adding the HashCode to the TextResource made me aware of the fact

that the tooling API depended on these interfaces, although it should

never be reading scripts. It turns out that the script was attached to

the BuildLayout, where it didn't really belong. It is now only created

once the build is running and we are actually trying to load the settings

file. There were a few changes to types marked with @UsedByScanPlugin.

These were all checked against the scan plugin code base to ensure they

are safe. The reported data is now more accurate as it returns a `null`

value for a non-existing settings file instead of reporting a dummy path.

  1. … 24 more files in changeset.
Update NTLM auth flags with the latest example code from HttpClient Issue: #8011

Signed-off-by: Sam Holmes <sbholmes@gmail.com>

Restrict cases where to do HTTP retries

This commit restricts the number of cases where we're going to perform HTTP retries. Instead of any error,

we will now retry when:

- a connection timeout occurs (client or server)

- the server responds an error code between 500 and 600

- response code is a too many requests error

Fixes #7850

  1. … 4 more files in changeset.
Use last redirect location for HTTP failures

Instead of including the original HTTP request URI, the bottommost

exception for failed HTTP requests now includes the URI of the last

redirect location, if any.

    • -0
    • +85
    ./internal/resource/transport/http/HttpClientResponse.java
  1. … 8 more files in changeset.