Explorar o código

fixbug: forgot to set state

ithewei %!s(int64=3) %!d(string=hai) anos
pai
achega
4ad9281ac6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      http/server/HttpResponseWriter.h

+ 1 - 0
http/server/HttpResponseWriter.h

@@ -161,6 +161,7 @@ public:
             }
             if (is_dump_body) {
                 std::string msg = response->Dump(is_dump_headers, is_dump_body);
+                state = SEND_BODY;
                 ret = write(msg);
             }
         }