valyala/fasthttp

How to enable support of proxy protocol v2?

Open

#1,528 opened on Mar 22, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (1,755 forks)batch import
help wanted

Repository metrics

Stars
 (21,741 stars)
PR merge metrics
 (Avg merge 1d 11h) (34 merged PRs in 30d)

Description

Hi there, is it possible to enable proxy protocol v2 support when using fasthttp? Our webapi is wrote by using fasthttp and be deployed behind an haproxy (using ssl passthrough and enable proxy protocol v2). If it is possible, please help me. Many thanks.

Contributor guide