修正由于HTTP流式构建应答时,由于真实应答晚于构建应答到达触发的问题
* 原实现在真实应答晚于构建应答到达时,仍然触发流式TCP写操作; * 现修正为该情况时,直接发送完整的构建应答而不是流式写。
This commit is contained in:
@@ -155,6 +155,7 @@ struct tfe_stream_write_ctx * tfe_stream_write_frag_start(const struct tfe_strea
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
this_conn->w_ctx.dir = dir;
|
||||
this_conn->w_ctx._stream = _stream;
|
||||
this_conn->on_writing = 1;
|
||||
|
||||
Reference in New Issue
Block a user