pires / go-proxyproto

A Go library implementation of the PROXY protocol, versions 1 and 2.
Apache License 2.0
478 stars 107 forks source link

Add SKIP policy to not expect a PROXY header #96

Closed kayrus closed 1 year ago

kayrus commented 1 year ago

Resolves #95

kayrus commented 1 year ago

@pires could you please take a look on this PR?

pires commented 1 year ago

Please, add tests and documentation. I think what you wrote in #95 description is a good starting point.

coveralls commented 1 year ago

Coverage Status

Coverage: 95.444% (-0.2%) from 95.603% when pulling e9fdbf2d72b570c7ca61012c8a2e8072cb52e889 on kayrus:skip-header into 2fac219ff998fd0624ae86c8754af75ffc8df196 on pires:main.

kayrus commented 1 year ago

@pires where should I put the documentation?

kayrus commented 1 year ago

@pires is there anything else I need to add to the PR?

pires commented 1 year ago

I need a couple days to review this. Thank you very much for your contribution.

kayrus commented 1 year ago

@pires fixed