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
Pingora In Front Of HTTP/HTTPS Proxies #200
Comments
Is the example you provided here complete? We shouldn't be invoking If I try your example code I see:
The error log you provided is happening because right now |
The code snippets I've added are full. I'm using it on an MacOS Intel machine if that make any diffrence.
And the cURL command resulted in:
Should I configure Pingora differently? |
Circling back to this it looks like there's an issue handling CONNECT responses.
|
Trying to setup a Pingora-based logic in front of an HTTP/HTTPS proxy (Squid etc) without luck.
When creating an HTTP request over cURL, the logic works as expected.
When creating an HTTPS request, the following error is shown:
cURL
Pingora
I know it related to the fact the HTTPS proxy are working over tunnels and the CONNECT method, and I'm not trying to create an SSL MITM proxy to read the content of the request. Just to be able to use the request_filter method of the ProxyHttp trait of Pingora.
Pingora
Squid
cURL
Would really appropriate a push in the right direction.
The text was updated successfully, but these errors were encountered: