From b1548c7c6dc2198a4df20b11ce8eb72e766f56b7 Mon Sep 17 00:00:00 2001 From: lijia Date: Tue, 25 Jun 2024 17:09:07 +0800 Subject: upgrade llhttp to v9.2.1, not support whitespace before header name. --- src/http_decoder.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/http_decoder.cpp') diff --git a/src/http_decoder.cpp b/src/http_decoder.cpp index 9b861d9..cc7671b 100644 --- a/src/http_decoder.cpp +++ b/src/http_decoder.cpp @@ -796,14 +796,14 @@ static const struct http_topic_exdata_compose g_topic_exdata_compose[HTTPD_TOPIC goto failed; } - printf("http decoder init succ, plugin id:%d \n", httpd_env->plugin_id); - for(int i = 0; i < HTTPD_TOPIC_INDEX_MAX; i++){ - printf("\ttopic_name:%s, topic_id:%d, ex_data_name:%s, exdata_id:%d\n", - httpd_env->topic_exdata_compose[i].topic_name, - httpd_env->topic_exdata_compose[i].sub_topic_id, - httpd_env->topic_exdata_compose[i].exdata_name, - httpd_env->topic_exdata_compose[i].exdata_id); - } + // printf("http decoder init succ, plugin id:%d \n", httpd_env->plugin_id); + // for(int i = 0; i < HTTPD_TOPIC_INDEX_MAX; i++){ + // printf("\ttopic_name:%s, topic_id:%d, ex_data_name:%s, exdata_id:%d\n", + // httpd_env->topic_exdata_compose[i].topic_name, + // httpd_env->topic_exdata_compose[i].sub_topic_id, + // httpd_env->topic_exdata_compose[i].exdata_name, + // httpd_env->topic_exdata_compose[i].exdata_id); + // } return httpd_env; failed: -- cgit v1.2.3