log: downgrade logging for ah wait
authorAndy Green <andy@warmcat.com>
Thu, 27 Jul 2017 23:04:47 +0000 (07:04 +0800)
committerAndy Green <andy@warmcat.com>
Thu, 27 Jul 2017 23:04:47 +0000 (07:04 +0800)
lib/server.c

index f588b4e..bed3d27 100644 (file)
@@ -2040,11 +2040,10 @@ lws_adopt_descriptor_vhost(struct lws_vhost *vh, lws_adoption_type type,
                goto fail;
 
        if (type & LWS_ADOPT_HTTP) {
-               if (!lws_header_table_attach(new_wsi, 0)) {
+               if (!lws_header_table_attach(new_wsi, 0))
                        lwsl_debug("Attached ah immediately\n");
-               } else {
-                       lwsl_notice("%s: waiting for ah\n", __func__);
-               }
+               else
+                       lwsl_info("%s: waiting for ah\n", __func__);
        }
 
        return new_wsi;