TSG-2588 服务端在同一流ID下,发送多次承诺推送帧处理问题
This commit is contained in:
@@ -907,7 +907,7 @@ nghttp2_submit_frame_priority(struct tfe_h2_stream *connection,const nghttp2_fra
|
||||
TFE_LOG_ERROR(logger()->handle, "dir(%d), Fatal send error: %s\n",
|
||||
dir, nghttp2_strerror(xret));
|
||||
}
|
||||
ngh2_session->last_sent_stream_id = MAX(ngh2_session->last_sent_stream_id, frame->hd.stream_id);
|
||||
//ngh2_session->last_sent_stream_id = MAX(ngh2_session->last_sent_stream_id, frame->hd.stream_id);
|
||||
connection->stream_action = stream_action;
|
||||
return 0;
|
||||
}
|
||||
@@ -1354,6 +1354,8 @@ nghttp2_server_frame_submit_push_promise(struct tfe_h2_stream *h2_stream_info,
|
||||
}
|
||||
upstream_create_req(h2_stream_info, h2_stream_info->as_server, peer_h2_stream, stream_id);
|
||||
/*clean header message **/
|
||||
delete_nv_packet_data(headers);
|
||||
|
||||
stream_action = ACTION_DROP_DATA;
|
||||
finish:
|
||||
return stream_action;
|
||||
|
||||
Reference in New Issue
Block a user