summaryrefslogtreecommitdiff
path: root/src/http_decoder.cpp
diff options
context:
space:
mode:
authorlijia <[email protected]>2024-06-25 17:09:07 +0800
committerlijia <[email protected]>2024-06-25 17:09:07 +0800
commitb1548c7c6dc2198a4df20b11ce8eb72e766f56b7 (patch)
tree7f50c9767c6103b50039879747a1a844cd9c222a /src/http_decoder.cpp
parent75ce9214881943e46a29be3457ffa856d4292284 (diff)
upgrade llhttp to v9.2.1, not support whitespace before header name.
Diffstat (limited to 'src/http_decoder.cpp')
-rw-r--r--src/http_decoder.cpp16
1 files changed, 8 insertions, 8 deletions
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: