Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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 maven-publish to retry on transient network errors

- Add integration test for maven-publish retry

- Use `HttpErrorStatusCodeException` for upload failures

  1. … 1 more file 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.
Organize imports

    • -1
    • +10
    ./AlwaysRedirectRedirectStrategy.java
  1. … 338 more files in changeset.
Replace anonymous classes with lambdas

    • -1
    • +10
    ./AlwaysRedirectRedirectStrategy.java
  1. … 708 more files in changeset.
Replace anonymous classes with lambdas

  1. … 693 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -0
    • +6
    ./HttpResourcesPluginServiceRegistry.java
  1. … 897 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -0
    • +6
    ./HttpResourcesPluginServiceRegistry.java
  1. … 897 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -0
    • +6
    ./HttpResourcesPluginServiceRegistry.java
  1. … 885 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -0
    • +6
    ./HttpResourcesPluginServiceRegistry.java
  1. … 892 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -0
    • +6
    ./HttpResourcesPluginServiceRegistry.java
  1. … 897 more files in changeset.
Remove synthetic accessors for internal private symbol references

    • -0
    • +6
    ./HttpResourcesPluginServiceRegistry.java
  1. … 897 more files in changeset.
Add missing @Override to all modules

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

    • -0
    • +2
    ./HttpResourcesPluginServiceRegistry.java
    • -0
    • +2
    ./JavaSystemPropertiesProxySettings.java
  1. … 995 more files in changeset.
Add missing @Override to all modules

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

    • -0
    • +2
    ./HttpResourcesPluginServiceRegistry.java
    • -0
    • +2
    ./JavaSystemPropertiesProxySettings.java
  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.
Add support for http2

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

  1. … 2 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
    ./HttpClientResponse.java
  1. … 8 more files in changeset.
Replace deprectated `IOUtils.closeQuietly` uses with `IoActions.closeQuietly`

  1. … 20 more files in changeset.
Enable TLSv1.2 for HTTPS on IBM JDK 8

By default, IBM JDK 8 doesn't enable TLSv1.2, which results in

`fatal alert: protocol_version` when communicating with maven central.

This commit enables TLSv1.2 for HTTPS on IBM JDK 8.

Enable TLSv1.2 for HTTPS on IBM JDK 8

By default, IBM JDK 8 doesn't enable TLSv1.2, which results in

`fatal alert: protocol_version` when communicating with maven central.

This commit enables TLSv1.2 for HTTPS on IBM JDK 8.