g3proxy: support proxy protocol v1 for incoming connections (#128)

* g3proxy: support proxy protocol v1 for incoming connections

* g3proxy: add example conf for proxy protocol
This commit is contained in:
Zhang Jingqiang 2023-10-26 10:31:49 +08:00 committed by GitHub
parent 533af168e9
commit 0d9016a799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 284 additions and 22 deletions

View file

@ -44,8 +44,6 @@ The TLS handshake with the client will happen after we receive the PROXY Protoco
.. note:: The *ingress_network_filter* config option of this server will always applies to the real socket client address.
.. note:: We only support PROXY Protocol version 2 currently.
**default**: not set, which means PROXY protocol won't be used
.. versionadded:: 1.7.19