diff options
| author | lijia <[email protected]> | 2024-06-25 17:09:07 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-06-25 17:09:07 +0800 |
| commit | b1548c7c6dc2198a4df20b11ce8eb72e766f56b7 (patch) | |
| tree | 7f50c9767c6103b50039879747a1a844cd9c222a /src/http_decoder.cpp | |
| parent | 75ce9214881943e46a29be3457ffa856d4292284 (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.cpp | 16 |
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: |
