*修改nghttp2对于控制帧(set ping等)自动回复数据,造成原服务数据冗余发送goaway帧

*修改下发替换规则后,csdn页面数据图片无法显示问题
(原因:由于数据Header,在不同流中,且不同流中存在多个流id)
*修改模拟C对推送承诺帧drop处理,造成当前流中数据丢失
*修改页面访问新浪sinaere.js失败
*修改流id数据未及时释放造成页面刷新延缓
This commit is contained in:
fengweihao
2019-03-14 10:51:15 +08:00
committed by zhengchao
parent 67d8523de0
commit fcde7bfbf3
6 changed files with 88 additions and 70 deletions

View File

@@ -416,7 +416,7 @@ enum tfe_stream_action http_connection_entry(const struct tfe_stream * stream, e
{
hf_private_in->stream_action = hf_private_in->user_stream_action;
}
/* Call user callback, tell user we resume from suspend */
assert(hs_private->resume_tag_singal);
hs_private->resume_tag_singal = false;
@@ -540,7 +540,6 @@ enum tfe_stream_action http_connection_entry_data(const struct tfe_stream * stre
enum tfe_conn_dir dir, const unsigned char * data, size_t len, void ** pme)
{
struct http_connection_private * ht_conn = (struct http_connection_private *) (*pme);
if (ht_conn->is_preempted == 0)
{
/* If the server push response before client send request, this must not be HTTP, detach the stream */