forgejo/modules/proxyprotocol
famfo 9767cebc42 fix: remove trailing null byte for local connection (#11295)
Fixes #633

I have written end-to-end tests against HAProxy in https://code.forgejo.org/forgejo/end-to-end/pulls/1578 and also written unit tests.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11295
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: famfo <famfo@famfo.xyz>
Co-committed-by: famfo <famfo@famfo.xyz>
2026-02-16 05:55:50 +01:00
..
conn.go fix: remove trailing null byte for local connection (#11295) 2026-02-16 05:55:50 +01:00
conn_test.go fix: remove trailing null byte for local connection (#11295) 2026-02-16 05:55:50 +01:00
errors.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
listener.go fix: remove trailing null byte for local connection (#11295) 2026-02-16 05:55:50 +01:00
util.go fix: remove trailing null byte for local connection (#11295) 2026-02-16 05:55:50 +01:00