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

Hostname handling fixes #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mt-inside
Copy link

Firstly, the MS docs say the SPN should contain a port number if the port is non-standard; introduce this behaviour.

Secondly, if the Host header has been overridden, use that for the SPN as that's almost certainly the service's idea of its own name (rather than the host in the URL, which is what will be dialled).

Matt Turner added 3 commits May 3, 2022 19:27
For HTTP this is defined to be 80 and 443, so it acts the same way as
the host/:authority header.

Signed-off-by: Matt Turner <user.personal@users.noreply.github.com>
Signed-off-by: Matt Turner <user.personal@users.noreply.github.com>
Signed-off-by: Matt Turner <user.personal@users.noreply.github.com>
@mt-inside mt-inside force-pushed the mt-hostname-fixes branch from e552983 to 38f4333 Compare May 3, 2022 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant