diff options
| author | fengweihao <[email protected]> | 2020-05-11 17:19:44 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2020-05-11 17:19:44 +0800 |
| commit | 0d5244ca300675670c46d1cd4332483e3679791b (patch) | |
| tree | ba787e731c54c34e5f2c098e4d694b6ef8d55b0a /plugin/protocol/http2/src/http2_stream.cpp | |
| parent | 374930d65c252705b2b0eb135e65808b3ce08bf9 (diff) | |
TSG-1331 Settings ACK帧问题修复
Diffstat (limited to 'plugin/protocol/http2/src/http2_stream.cpp')
| -rw-r--r-- | plugin/protocol/http2/src/http2_stream.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/plugin/protocol/http2/src/http2_stream.cpp b/plugin/protocol/http2/src/http2_stream.cpp index 9a2ca24..03e3bd7 100644 --- a/plugin/protocol/http2/src/http2_stream.cpp +++ b/plugin/protocol/http2/src/http2_stream.cpp @@ -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) { |
