修正基于请求侧构建应答侧时的假设条件

This commit is contained in:
Lu Qiuwen
2018-10-18 15:00:45 +08:00
committed by zhengchao
parent 420f53a539
commit 26d537b67a

View File

@@ -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;
}
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;
}