Close #65 修正进入GC队列的HTTP Session写日志时触发的连接非法段错误

This commit is contained in:
Lu Qiuwen
2018-11-04 18:30:33 +08:00
parent adcd1640bf
commit 2d02343b50
7 changed files with 81 additions and 20 deletions

View File

@@ -1050,6 +1050,8 @@ int tfe_stream_init_by_fds(struct tfe_stream * stream, evutil_socket_t fd_downst
}
_stream->str_stream_addr = tfe_stream_addr_to_str(_stream->head.addr);
stream->str_stream_info = _stream->str_stream_addr;
if (_stream->session_type == STREAM_PROTO_PLAIN)
{
_stream->conn_downstream = __conn_private_create_by_fd(_stream, fd_downstream);