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
6ce36f1909
commit
8cbdefae23
@ -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() {
|
public String sourceAddress() {
|
||||||
return sourceAddress;
|
return sourceAddress;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user