*修改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

@@ -128,7 +128,6 @@ http2_stream_data(const struct tfe_stream * stream, unsigned int thread_id,
struct stream_tap_info_t *tapinfo = (struct stream_tap_info_t *)(*pme);
if (tapinfo->preempted == 0){
if (dir == CONN_DIR_UPSTREAM){
if (len < SET_FRAME_LENGTH){
defer_bytes = SET_FRAME_LENGTH;
@@ -146,7 +145,6 @@ http2_stream_data(const struct tfe_stream * stream, unsigned int thread_id,
goto finish;
}
}
if (dir == CONN_DIR_DOWNSTREAM){
/* Protocol Identification, we need 24 bytes at least to tell it is HTTP2 or not */
if (len < MAGIC_FRAME_LENGTH){