]> granicus.if.org Git - pdns/commitdiff
Initialize minbody
authorAki Tuomi <cmouse@desteem.org>
Tue, 3 Nov 2015 12:33:21 +0000 (14:33 +0200)
committerAki Tuomi <cmouse@desteem.org>
Tue, 3 Nov 2015 12:33:21 +0000 (14:33 +0200)
ext/yahttp/yahttp/reqresp.hpp

index 9419d556f79577faa56a29f8bb58367eff40be39..78882dd8e78babc79544da135f8ed0cbca8d247b 100644 (file)
@@ -303,7 +303,7 @@ public:
 
     void initialize(T* target) {
       chunked = false; chunk_size = 0;
-      bodybuf.str(""); maxbody = 0;
+      bodybuf.str(""); minbody = 0; maxbody = 0;
       pos = 0; state = 0; this->target = target; 
       hasBody = false;
       buffer = "";