Skip to content

Host rewrite #18

Description

@somehowchris

Hey :)

So I have been playing a bit around with this crate. Seems nice but some servers complain about SNI & Host header conflicts.

I couldn‘t see any code done to rewrite the host header. Did I miss something?

I‘m neither a go king but I think https://cs.opensource.google/go/go/+/refs/tags/go1.18:src/net/http/httputil/reverseproxy.go;l=148 Is the part of go rewriting the host header

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions