修正明文流量处理流程中误关闭FD的问题。

This commit is contained in:
luqiuwen
2019-09-19 16:13:18 +08:00
parent b513814fe3
commit b11e30abd8

View File

@@ -1364,7 +1364,7 @@ int tfe_stream_init_by_fds(struct tfe_stream * stream, evutil_socket_t fd_downst
_stream->conn_upstream = __conn_private_create_by_fd(_stream, fd_upstream); _stream->conn_upstream = __conn_private_create_by_fd(_stream, fd_upstream);
if (_stream->conn_upstream != NULL) if (_stream->conn_upstream != NULL)
{ {
_stream->defer_fd_downstream = 0; _stream->defer_fd_upstream = 0;
} }
else else
{ {