8000 ctx.Req.Host value is coming as null with just port when request is grpc · Issue #686 · elazarl/goproxy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ctx.Req.Host value is coming as null with just port when request is grpc #686
Open
@Naitik333

Description

@Naitik333

Our use case is we do filtering based on the host using goproxy.
we use proxy.OnRequest().HandleConnectFunc() to do filtering logic, but for grpc requests the ctx.Req.Host is coming as null or blank with just port value.
e.g. ":8080"
can you please help us for handling grpc requests

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

      0