From: Amos Jeffries Date: Fri, 19 Dec 2014 22:13:31 +0000 (-0800) Subject: Fix HttpMsg initialization after rev.13754 X-Git-Tag: merge-candidate-3-v1~425 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce867f0a9bec95555978bc9f84bd3ce69058c881;p=thirdparty%2Fsquid.git Fix HttpMsg initialization after rev.13754 --- diff --git a/src/HttpMsg.cc b/src/HttpMsg.cc index 99894f1fb3..7094447e23 100644 --- a/src/HttpMsg.cc +++ b/src/HttpMsg.cc @@ -17,8 +17,12 @@ #include "profiler/Profiler.h" #include "SquidConfig.h" -HttpMsg::HttpMsg(http_hdr_owner_type owner): header(owner), - cache_control(NULL), hdr_sz(0), content_length(0), +HttpMsg::HttpMsg(http_hdr_owner_type owner): + http_ver(Http::ProtocolVersion()), + header(owner), + cache_control(NULL), + hdr_sz(0), + content_length(0), pstate(psReadyToParseStartLine) {}