Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Remove the host header before forwarding #1

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

portante
Copy link
Member

With some hosts behind shared TLS (using SNI), keeping the Host header was causing the target host to be misidentified.

I also observed issues related to TLS verification (as seen in probot#156).

Fixes probot#156

With some hosts behind shared TLS (using SNI), keeping the Host header
was causing the target host to be misidentified.

I also observed issues related to TLS verification (as seen in probot#156).

Fixes probot#156
@portante portante self-assigned this Apr 12, 2023
@portante portante added this to the v1.2.4 milestone Apr 12, 2023
@portante portante added the bug Something isn't working label Apr 12, 2023
@portante
Copy link
Member Author

@kahowell, in case you are interested, we have forked smee-client and are going to merge and make a release.

@inntran
Copy link

inntran commented Apr 12, 2023

Can we post a diff of headers, comparing before and after this change?

@portante
Copy link
Member Author

portante commented Apr 12, 2023

This change just drops the Host header from the original, all the other headers are added still at lines 53 thru 55.

@portante portante merged commit 9bc254d into distributed-system-analysis:main Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
3 participants