]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix HttpMsg initialization after rev.13754
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 19 Dec 2014 22:13:31 +0000 (14:13 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 19 Dec 2014 22:13:31 +0000 (14:13 -0800)
src/HttpMsg.cc

index 99894f1fb3756cea738d8f72f254306b0abc2ef3..7094447e23d05189284fc1f9415bb0a746b796c8 100644 (file)
 #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)
 {}