Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: register https proxy #916

Closed
wants to merge 1 commit into from
Closed

Conversation

jackstar12
Copy link

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Go Version Update
  • Dependency Update

Description

This PR registers a https proxy dialer type. I've tested it manually, but I'm not sure if / how to approach tests.

Related Tickets & Documents

Added/updated tests?

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

Run verifications and test

  • make verify is passing (not passing on main either)
  • make test is passing

@ghost
Copy link

ghost commented Jun 15, 2024

HTTPS proxies are not supported by the websocket package. The current code returns an error when the application specifies an HTTPS proxy.

The code in this commit silently downgrades to HTTP when the application specifies an HTTPS proxy. That's dangerous from a security standpoint.

Reject this PR.

@jaitaiwan
Copy link
Member

Agreed thanks @canelohill and appreciate the effort @jackstar12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is https not supported?
2 participants