1 Commits
v0.9.2 ... main

Author SHA1 Message Date
24473557b3 Added the stub parserbuilder work as well. 2025-12-10 09:59:41 +02:00

View File

@@ -67,11 +67,11 @@ func (listener Listener) Accept() (net.Conn, error) {
// logger.Printf("Not trusted connection")
// }
// NOTE strictly a proxy protocol implementation without plain connections
// NOTE supports all the parserbuilders out of the box
headerParser := NewFallbackHeaderParserBuilder(
TextHeaderParserBuilder,
BinaryHeaderParserBuilder,
// StubHeaderParserBuilder,
StubHeaderParserBuilder,
).Build(logger)
return NewConn(rawConn, headerParser), nil