TSG-91 策略对象类型req_hdr和res_hdr合并为http_signature

This commit is contained in:
fengweihao
2019-11-21 19:35:16 +08:00
parent ba3eb05957
commit 40b198187e
3 changed files with 4 additions and 3 deletions

View File

@@ -216,7 +216,7 @@ int pangu_send_log(struct pangu_logger* handle, const struct pangu_log* log_msg)
struct tfe_cmsg * cmsg = tfe_stream_get0_cmsg(log_msg->stream);
if (cmsg!=NULL)
{
int ret = tfe_cmsg_get_value(cmsg, TFE_CMSG_STREAM_TRACE_ID, (unsigned char *) &opt_val, sizeof(opt_val), &opt_out_size);
int ret=tfe_cmsg_get_value(cmsg, TFE_CMSG_STREAM_TRACE_ID, (unsigned char *) &opt_val, sizeof(opt_val), &opt_out_size);
if (ret==0)
{
cJSON_AddNumberToObject(common_obj, "common_stream_trace_id", opt_val);