TSG-1331 Settings ACK帧问题修复
This commit is contained in:
@@ -954,15 +954,6 @@ nghttp2_submit_frame_settings(struct tfe_h2_stream *connection,const nghttp2_fra
|
||||
nghttp2_session *ngh2_session = tfe_h2_stream_get_nghttp2_session(connection, dir);
|
||||
nghttp2_session *ngh2_peer_session = tfe_h2_stream_get_nghttp2_peer_session(connection, dir);
|
||||
|
||||
if(settings.hd.flags == NGHTTP2_FLAG_ACK){
|
||||
xret = nghttp2_session_send(ngh2_peer_session);
|
||||
if (xret != 0) {
|
||||
stream_action = ACTION_FORWARD_DATA;
|
||||
TFE_LOG_ERROR(logger()->handle, "Fatal upstream send error: %s, %d\n",nghttp2_strerror(xret), __LINE__);
|
||||
}
|
||||
stream_action = ACTION_DROP_DATA;
|
||||
return 0;
|
||||
}
|
||||
rv = nghttp2_submit_settings(ngh2_session, settings.hd.flags,
|
||||
nghttp2_iv_packet(settings, iv), settings.niv);
|
||||
if (rv != 0) {
|
||||
|
||||
Reference in New Issue
Block a user