diff options
| author | 2019-05-18 15:27:15 -0500 | |
|---|---|---|
| committer | 2019-05-19 22:22:53 +0100 | |
| commit | d107093513680d67e4007b725499609a090c6ad3 (patch) | |
| tree | 4e9f72435292ae36183f77b819f2ccd549130797 /src/modules/m_haproxy.cpp | |
| parent | configure: Fix log-dir in --system mode (diff) | |
m_haproxy: Initialize address length to 0
If the command is LOCAL, the address length isn't set before it is used
in ReadProxyAddress()
Diffstat (limited to 'src/modules/m_haproxy.cpp')
| -rw-r--r-- | src/modules/m_haproxy.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_haproxy.cpp b/src/modules/m_haproxy.cpp index ee9079cbf..57cb860c8 100644 --- a/src/modules/m_haproxy.cpp +++ b/src/modules/m_haproxy.cpp @@ -367,6 +367,7 @@ class HAProxyHook : public IOHookMiddle : IOHookMiddle(Prov) , sslapi(api) , state(HPS_WAITING_FOR_HEADER) + , address_length(0) { sock->AddIOHook(this); } |
