summaryrefslogtreecommitdiff
path: root/src/HTTP_Message.c
diff options
context:
space:
mode:
authorlishu <[email protected]>2021-06-18 18:44:46 +0800
committerlishu <[email protected]>2021-06-18 18:44:46 +0800
commitdd10be9f413e6a660d3a43ebd2d8ea566d8e94ee (patch)
tree3d46f8673dc9bf51525584805349e5a4febab514 /src/HTTP_Message.c
parent1a428ed842873d2a80ea09443bd17e6a316da51f (diff)
处理s2c单向流下,响应体对应的是HEAD方法。
Diffstat (limited to 'src/HTTP_Message.c')
-rw-r--r--src/HTTP_Message.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HTTP_Message.c b/src/HTTP_Message.c
index e0325a4..22d3cff 100644
--- a/src/HTTP_Message.c
+++ b/src/HTTP_Message.c
@@ -276,6 +276,8 @@ int http_readMainConf(const char* filename)
MESA_load_profile_short_def(filename, "FUNCTION", "callback_mode", (short*)&g_http_prog_para.callback_mode,0);
MESA_load_profile_short_def(filename, "FUNCTION", "batch_field_maxnum", (short*)&g_http_prog_para.batch_field_maxnum,64);
MESA_load_profile_string_def(filename, "FUNCTION", "stat_file", g_http_prog_para.http_stat_filename, sizeof(g_http_prog_para.http_stat_filename),"./log/http/http_stat.log");
+ MESA_load_profile_short_def(filename, "FUNCTION", "s2c_head_check_switch", (short*)&g_http_prog_para.s2c_head_check_switch,0);
+
return 0;
}