HAProxyMessage.sourceAddress() can be null (#11475)
Motivation: If `send-proxy-v2` is used `sourceAddress()` can be `null`. Modification: Update docs to reflect this. Result: Docs are more correct.
This commit is contained in:
parent
154a3e0cab
commit
aa003f8fec
@ -501,7 +501,8 @@ public final class HAProxyMessage extends AbstractReferenceCounted {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the human-readable source address of this {@link HAProxyMessage}.
|
||||
* Returns the human-readable source address of this {@link HAProxyMessage} or {@code null}
|
||||
* if HAProxy performs health check with {@code send-proxy-v2}.
|
||||
*/
|
||||
public String sourceAddress() {
|
||||
return sourceAddress;
|
||||
|
Loading…
Reference in New Issue
Block a user