diff options
| author | luwenpeng <[email protected]> | 2020-09-17 16:38:25 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2020-09-17 16:38:25 +0800 |
| commit | fb0254374955ea413777b779fc0c3fea2793c7ae (patch) | |
| tree | 3d569d4e9a90e6c868e9a291074ca4656e4c13ef | |
| parent | 2bcbfaf2a0fad560cc7db208b47455b81cba812c (diff) | |
tcp options 完善 debuglog,可通过 stream_addr 关联 stream_ptrv4.3.10-202009
| -rw-r--r-- | platform/src/tcp_stream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/src/tcp_stream.cpp b/platform/src/tcp_stream.cpp index 90d9c31..13faccb 100644 --- a/platform/src/tcp_stream.cpp +++ b/platform/src/tcp_stream.cpp @@ -1439,8 +1439,8 @@ void __stream_fd_option_setup(struct tfe_stream_private * _stream, evutil_socket } 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", - stream->str_stream_info, (dir == CONN_DIR_DOWNSTREAM ? "downstream" : "upstream"), + "%p %s %s: fetch tcp options, nodelay: %d ttl: %d keepalive: %d keepcnt: %d keepidle: %d keepintvl: %d user_timeout: %d", + stream, stream->str_stream_info, (dir == CONN_DIR_DOWNSTREAM ? "downstream" : "upstream"), options.tcp_nodelay, options.tcp_ttl, options.tcp_keepalive, options.tcp_keepcnt, options.tcp_keepidle, options.tcp_keepintvl, options.tcp_user_timeout); |
