修复tfe_http_in_request中漏判EV_HTTP_REQ_END状态的bug。
This commit is contained in:
@@ -430,7 +430,7 @@ static inline struct tfe_http_half * tfe_http_session_response_create(struct tfe
|
|||||||
static inline int tfe_http_in_request(enum tfe_http_event events)
|
static inline int tfe_http_in_request(enum tfe_http_event events)
|
||||||
{
|
{
|
||||||
if ((events & EV_HTTP_REQ_HDR) | (events & EV_HTTP_REQ_BODY_BEGIN) | (events & EV_HTTP_REQ_BODY_END)
|
if ((events & EV_HTTP_REQ_HDR) | (events & EV_HTTP_REQ_BODY_BEGIN) | (events & EV_HTTP_REQ_BODY_END)
|
||||||
| (events & EV_HTTP_REQ_BODY_CONT))
|
| (events & EV_HTTP_REQ_BODY_CONT)| (events & EV_HTTP_REQ_END))
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user