修正基于请求侧构建应答侧时的假设条件
This commit is contained in:
@@ -142,7 +142,9 @@ int __on_request_handle_user_req_or_resp(const tfe_stream * stream, struct http_
|
|||||||
hs_private->hf_private_resp_user = NULL;
|
hs_private->hf_private_resp_user = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(hf_private_req_in->stream_action == ACTION_DEFER_DATA);
|
assert(hf_private_req_in->stream_action == ACTION_DEFER_DATA
|
||||||
|
|| hf_private_req_in->stream_action == ACTION_DROP_DATA);
|
||||||
|
|
||||||
hf_private_req_in->stream_action = ACTION_DROP_DATA;
|
hf_private_req_in->stream_action = ACTION_DROP_DATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user