-
Notifications
You must be signed in to change notification settings - Fork 0
RAV-2958 - Initial Proxy Protocol processing #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cthirouin-swi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it's okay.
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/ProxyAddressCache.java
Outdated
Show resolved
Hide resolved
...-socket-core/src/main/java/net/airvantage/proxysocket/core/ProxyProtocolMetricsListener.java
Outdated
Show resolved
Hide resolved
...y-socket-core/src/main/java/net/airvantage/proxysocket/core/cache/NoOpProxyAddressCache.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Encoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/test/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Test.java
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/ProxyAddressCache.java
Show resolved
Hide resolved
cthirouin-swi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'ts fine, just couple of clarification.
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/test/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Test.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope there are not too much nitpicking. 😅
I also feel that naming are not always consistent 😁
Some comments can eventually be done later in other PRs.
We can do a call if some point need to be discuss
...core/src/main/java/net/airvantage/proxysocket/core/cache/ConcurrentMapProxyAddressCache.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/Tlv.java
Outdated
Show resolved
Hide resolved
.../src/test/java/net/airvantage/proxysocket/core/cache/ConcurrentMapProxyAddressCacheTest.java
Outdated
Show resolved
Hide resolved
.../src/test/java/net/airvantage/proxysocket/core/cache/ConcurrentMapProxyAddressCacheTest.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/test/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Test.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/test/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Test.java
Show resolved
Hide resolved
Co-authored-by: Simon Bernard <code@simonbernard.eu>
…e/v2/ProxyHeader.java Co-authored-by: Simon Bernard <code@simonbernard.eu>
…e/v2/ProxyHeader.java Co-authored-by: Simon Bernard <code@simonbernard.eu>
…e/v2/ProxyProtocolV2Decoder.java Co-authored-by: Simon Bernard <code@simonbernard.eu>
cthirouin-swi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just couple of minor stuff.
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
.../src/test/java/net/airvantage/proxysocket/core/cache/ConcurrentMapProxyAddressCacheTest.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
Co-authored-by: cthirouin <113358856+cthirouin-swi@users.noreply.github.com>
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Outdated
Show resolved
Hide resolved
proxy-socket-core/src/main/java/net/airvantage/proxysocket/core/v2/ProxyProtocolV2Decoder.java
Show resolved
Hide resolved
...core/src/main/java/net/airvantage/proxysocket/core/cache/ConcurrentMapProxyAddressCache.java
Outdated
Show resolved
Hide resolved
|
Last modification about usage of record could maybe be a not so good idea depending what we decide for : #7 But that sounds not a "prevent to merge" issue 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Implementation of ProxyProtocol protocol decoding.