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

Proxy Tests Fail due to invalid Proxy Server #822

Open
COM8 opened this issue Sep 21, 2022 · 0 comments
Open

Proxy Tests Fail due to invalid Proxy Server #822

COM8 opened this issue Sep 21, 2022 · 0 comments
Labels
Milestone

Comments

@COM8
Copy link
Member

COM8 commented Sep 21, 2022

Description

Currently our proxy CI runs fail sometimes in case they can not establish a connection to the test proxy server we are using.

Possible Fix

Add an option CPR_ENABLE_PROXY_TESTS or something like that. When enabled, it will run the proxy tests.
For the CI, we can use a squid_proxy based docker image, for a fast and easy proxy server setup.

Steps to Reproduce

$ git clone https://github.com/libcpr/cpr.git
$ cd cpr && mkdir build && cd build
$ cmake .. -DCPR_BUILD_TESTS=ON
$ cmake --build .
$ ./bin/proxy_tests
@COM8 COM8 added the CI 🧱 label Sep 21, 2022
@COM8 COM8 added this to the CPR 1.10.0 milestone Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant