summaryrefslogtreecommitdiff
path: root/plugin/protocol/http
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2019-03-14 10:51:15 +0800
committerzhengchao <[email protected]>2019-05-24 18:45:44 +0800
commitfcde7bfbf3859f4d095875df009c4d2aadcaf0cf (patch)
treeaaffdd56646bbf8df35297eaf76aff7435f19baa /plugin/protocol/http
parent67d8523de06e33e2732b6b4c55c9696bc06162d8 (diff)
*修改nghttp2对于控制帧(set ping等)自动回复数据,造成原服务数据冗余发送goaway帧
*修改下发替换规则后,csdn页面数据图片无法显示问题 (原因:由于数据Header,在不同流中,且不同流中存在多个流id) *修改模拟C对推送承诺帧drop处理,造成当前流中数据丢失 *修改页面访问新浪sinaere.js失败 *修改流id数据未及时释放造成页面刷新延缓
Diffstat (limited to 'plugin/protocol/http')
-rw-r--r--plugin/protocol/http/src/http_entry.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/protocol/http/src/http_entry.cpp b/plugin/protocol/http/src/http_entry.cpp
index 141d3ff..debc43e 100644
--- a/plugin/protocol/http/src/http_entry.cpp
+++ b/plugin/protocol/http/src/http_entry.cpp
@@ -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 */