Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 24473557b3 |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user