STREAM挂起时记录挂起来源,在RESUME()触发对应连接方向的读事件。HTTP SUSPEND/RESUME功能初步调通
This commit is contained in:
@@ -724,7 +724,10 @@ void hs_ops_suspend(struct tfe_http_session * session)
|
||||
void hs_ops_resume(struct tfe_http_session * session)
|
||||
{
|
||||
struct http_session_private * hs_private = to_hs_private(session);
|
||||
struct http_connection_private * hc_private = hs_private->hc_private;
|
||||
|
||||
hs_private->suspend_tag_user = false;
|
||||
tfe_stream_resume(hc_private->stream);
|
||||
}
|
||||
|
||||
// TODO: change the return type to int, there is something happend where -1 returned.
|
||||
|
||||
Reference in New Issue
Block a user