Skip to content

Add support for ProxyConnectHeader in the dialer. #988

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

michel-laterman
Copy link

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

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

Description

Add the ability to pass ProxyConnectHeader to the dialer. This set of headers will be used when a CONNECT request is made to an http(s) proxy.

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
  • make test is passing

Add the ability to pass ProxyConnectHeader to the dialer. This set of
headers will be used when a CONNECT request is made to an http(s) proxy.
@tigrannajaryan
Copy link

@AlexVulaj would you be able to take a look at this PR?

And thank you for working on Gorilla WebSocket, really appreciate it. https://github.com/open-telemetry/opamp-go that @michel-laterman and I work on depends on it.

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.

Support custom HTTP headers for CONNECT proxy request
2 participants