diff options
Diffstat (limited to 'plugin/business/pangu-http/src/pangu_logger.cpp')
| -rw-r--r-- | plugin/business/pangu-http/src/pangu_logger.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/business/pangu-http/src/pangu_logger.cpp b/plugin/business/pangu-http/src/pangu_logger.cpp index 46185d0..e02493a 100644 --- a/plugin/business/pangu-http/src/pangu_logger.cpp +++ b/plugin/business/pangu-http/src/pangu_logger.cpp @@ -284,6 +284,9 @@ int pangu_send_log(struct pangu_logger* handle, const struct pangu_log* log_msg) } if(log_msg->resp_body!=NULL) { + memset(log_file_upload_path, 0, sizeof(log_file_upload_path)); + memset(cont_type_whole, 0, sizeof(cont_type_whole)); + memset(&meta, 0, sizeof(meta)); asprintf(&log_file_key, "%s.respbody", http->req->req_spec.url); meta.url=log_file_key; |
