ah reset: enforce reset of parsing_complete
[platform/upstream/libwebsockets.git] / lib / parsers.c
index 97731bc..5630daa 100644 (file)
@@ -90,7 +90,7 @@ lws_header_table_reset(struct lws *wsi, int autoservice)
         wsi->u.hdr.lextable_pos = 0;
 
        /* since we will restart the ah, our new headers are not completed */
-       // wsi->hdr_parsing_completed = 0;
+       wsi->hdr_parsing_completed = 0;
 
        /*
         * if we inherited pending rx (from socket adoption deferred