Skip to content

Conversation

@carterkozak
Copy link
Contributor

==COMMIT_MSG==
Add SOCKS proxy support to the API
==COMMIT_MSG==

Possible downsides?

more proxies, socks is very hard to unit 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

Add SOCKS proxy support to the API

Check the box to generate changelog(s)

  • Generate changelog entry

.hostAndPort("localhost:1234")
.build())
.isInstanceOf(IllegalArgumentException.class)
.hasMessage("credentials only valid for HTTP proxies");
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, can't socks proxies have credentials? Or is this a matter of just restricting the API for now?

Copy link
Contributor

Choose a reason for hiding this comment

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

Seemingly they can but it seems a little scary with passwords sent in cleartext: https://www.rfc-editor.org/rfc/rfc1929

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is very difficult to test, so I opted to limit the scope to the minimal feature set we need.

@CRogers
Copy link
Contributor

CRogers commented Nov 15, 2021

👍

@bulldozer-bot bulldozer-bot bot merged commit 8e9c585 into develop Nov 15, 2021
@bulldozer-bot bulldozer-bot bot deleted the ckozak/socks_proxy branch November 15, 2021 15:42
@svc-autorelease
Copy link
Collaborator

Released 2.22.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.

4 participants