proxy-protocol icon indicating copy to clipboard operation
proxy-protocol copied to clipboard

feat: TLV support

Open g2p opened this issue 4 years ago • 1 comments

I added support for TLV extensions, as documented in proxy-protocol.txt

Comes with tests. This will be a version bump, because the Version2 struct now has extra fields.

(FWIW, I think switching the parse side from an "impl Buf" to either Bytes or &[u8] slices (since we probably don't need to support discontinuous data) would make the implementation better by allowing to pass subslices instead of having to add len arguments. But I didn't add that API change.)

Closes #5.

g2p avatar Sep 27 '21 14:09 g2p

Hi! I'm wondering whether there have been any updates here yet? I'm using proxy-protocol and TLV support would be really welcome at the moment.

saiintbrisson avatar May 25 '22 13:05 saiintbrisson