#44 为cache和proxy设置statsd server。

This commit is contained in:
zhengchao
2018-11-23 17:23:48 +08:00
parent 88849c9890
commit 3970d9de04
6 changed files with 24 additions and 12 deletions

View File

@@ -462,7 +462,7 @@ static void log_ssl_master_key(SSL* ssl, int fd, tfe_conn_dir dir, FILE* fp)
struct tfe_stream_addr* addr=tfe_stream_addr_create_by_fd(fd, dir);
char* addr_string=tfe_stream_addr_to_str(addr);
fprintf(fp, "#%s %s %s\n%s\n", time_str, tfe_stream_conn_dir_to_str(dir), addr_string, key_str);
fprintf(fp, "#%s %s %s\n%s\n", time_str, tfe_stream_conn_dir_to_str(dir), addr_string?addr_string:NULL, key_str);
free(key_str);
tfe_stream_addr_free(addr);