Skip to content

Conversation

@carterkozak
Copy link
Contributor

Depends on:
palantir/conjure-java-runtime-api#699
palantir/conjure-java-runtime#2126

After this PR

==COMMIT_MSG==
Implement configuration-based SOCKS proxy support
==COMMIT_MSG==

Possible downsides?

More proxies, socks is particularly difficult to test

@changelog-app
Copy link

changelog-app bot commented Oct 4, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Implement configuration-based SOCKS proxy support

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from xRuiAlves October 4, 2021 18:49
log.debug("No SOCKS proxy found");
}
return address;
} catch (RuntimeException e) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a little scary (as in might hide errors). Is this just to avoid breaking existing stuff in prod in case there is a problem with the socks detection?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya, this should log at ERROR rather than DEBUG 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct, I added the catch to avoid adding risk to the production case.

@CRogers
Copy link

CRogers commented Nov 15, 2021

👍

@bulldozer-bot bulldozer-bot bot merged commit 70e510c into develop Nov 15, 2021
@bulldozer-bot bulldozer-bot bot deleted the ckozak/socks branch November 15, 2021 16:56
@svc-autorelease
Copy link
Collaborator

Released 3.30.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants