TSG-1331 Settings ACK帧问题修复

This commit is contained in:
fengweihao
2020-05-11 17:19:44 +08:00
parent 374930d65c
commit 0d5244ca30
3 changed files with 1 additions and 10 deletions

View File

@@ -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) {

View File

@@ -81,7 +81,7 @@ set_property(TARGET http-parser-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${
ExternalProject_Add(nghttp2
PREFIX nghttp2
URL ${CMAKE_CURRENT_SOURCE_DIR}/nghttp2-1.24.0.tar.gz
URL_MD5 8b29f5c780f08d8111f953f9fa0fad0c
URL_MD5 3827e6feed304f09442336dbf781e023
CONFIGURE_COMMAND ./configure --prefix=<INSTALL_DIR> --disable-shared
BUILD_IN_SOURCE 1)

Binary file not shown.