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: add streaming mode http proxy test #258

Merged
merged 3 commits into from
Nov 15, 2024
Merged

Conversation

cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Nov 13, 2024

Adds a single test for streaming with HTTP proxy configuration (client-side).

Ideally, the next bit of work will be..

  • to support verifying that events and polling also go through the proxy.
  • extending to server SDKs (should be just adding to the server_side_stream_all.go, but requires an SDK to test it)

The purpose of this test is to check that an SDK can make a request via a configured HTTP Proxy.

In this mode, the SDK sends requests to the proxy, and the request body contains the intended URL that the proxy should connect to on behalf of the SDK.

Future work might be to support other proxy modes, like HTTPS proxy (where the connection between SDK and proxy is encrypted) or SOCKS4/5.

@cwaldren-ld cwaldren-ld changed the title feat: add client-side streaming http proxy test feat: add streaming mode http proxy test Nov 13, 2024
@cwaldren-ld cwaldren-ld marked this pull request as ready for review November 13, 2024 19:41
@cwaldren-ld cwaldren-ld requested a review from a team as a code owner November 13, 2024 19:41
@cwaldren-ld cwaldren-ld merged commit b4e149e into v2 Nov 15, 2024
5 checks passed
@cwaldren-ld cwaldren-ld deleted the cw/sdk-891-http-proxy-tests branch November 15, 2024 18:35
cwaldren-ld pushed a commit that referenced this pull request Nov 18, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.26.0](v2.25.1...v2.26.0)
(2024-11-18)


### Features

* add streaming mode http proxy test
([#258](#258))
([b4e149e](b4e149e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants