tcp options 完善 debuglog,可通过 stream_addr 关联 stream_ptr

This commit is contained in:
luwenpeng
2020-09-17 16:38:25 +08:00
parent 2bcbfaf2a0
commit fb02543749

View File

@@ -1439,8 +1439,8 @@ void __stream_fd_option_setup(struct tfe_stream_private * _stream, evutil_socket
} }
TFE_LOG_DEBUG(g_default_logger, TFE_LOG_DEBUG(g_default_logger,
"%s %s: fetch tcp options, nodelay: %d ttl: %d keepalive: %d keepcnt: %d keepidle: %d keepintvl: %d user_timeout: %d", "%p %s %s: fetch tcp options, nodelay: %d ttl: %d keepalive: %d keepcnt: %d keepidle: %d keepintvl: %d user_timeout: %d",
stream->str_stream_info, (dir == CONN_DIR_DOWNSTREAM ? "downstream" : "upstream"), stream, stream->str_stream_info, (dir == CONN_DIR_DOWNSTREAM ? "downstream" : "upstream"),
options.tcp_nodelay, options.tcp_ttl, options.tcp_keepalive, options.tcp_nodelay, options.tcp_ttl, options.tcp_keepalive,
options.tcp_keepcnt, options.tcp_keepidle, options.tcp_keepintvl, options.tcp_user_timeout); options.tcp_keepcnt, options.tcp_keepidle, options.tcp_keepintvl, options.tcp_user_timeout);