修正Http-kill位置过完的问题,增加TCP链接摘要日志功能
This commit is contained in:
@@ -428,6 +428,12 @@ enum tfe_stream_action http_connection_entry(const struct tfe_stream * stream, e
|
||||
return ACTION_DEFER_DATA;
|
||||
}
|
||||
|
||||
if(hs_private->kill_signal)
|
||||
{
|
||||
tfe_stream_kill(stream);
|
||||
return ACTION_DROP_DATA;
|
||||
}
|
||||
|
||||
if (hf_private_in->is_upgrade || hf_private_in->is_passthrough)
|
||||
{
|
||||
goto __passthrough;
|
||||
@@ -456,12 +462,6 @@ enum tfe_stream_action http_connection_entry(const struct tfe_stream * stream, e
|
||||
goto __passthrough;
|
||||
}
|
||||
|
||||
if(hs_private->kill_signal)
|
||||
{
|
||||
tfe_stream_kill(stream);
|
||||
return ACTION_DROP_DATA;
|
||||
}
|
||||
|
||||
ret = (dir == CONN_DIR_DOWNSTREAM) ?
|
||||
__on_request_handle_user_req_or_resp(stream, hs_private, hf_private_in, __need_to_close_the_session) :
|
||||
__on_response_handle_user_req_or_resp(stream, hs_private, hf_private_in, __need_to_close_the_session);
|
||||
|
||||
Reference in New Issue
Block a user