ah reset: enforce reset of parsing_complete
authorAndy Green <andy@warmcat.com>
Wed, 28 Jun 2017 01:55:34 +0000 (09:55 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 28 Jun 2017 02:04:57 +0000 (10:04 +0800)
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