Skip to content

Commit

Permalink
Allow RST_STREAM before GOAWAY
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak committed Oct 4, 2024
1 parent 217fc63 commit a990ac8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions deps/nghttp2/lib/nghttp2_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -2521,9 +2521,6 @@ static int session_prep_frame(nghttp2_session *session,
return 0;
}
case NGHTTP2_RST_STREAM:
if (session_is_closing(session)) {
return NGHTTP2_ERR_SESSION_CLOSING;
}
nghttp2_frame_pack_rst_stream(&session->aob.framebufs, &frame->rst_stream);
return 0;
case NGHTTP2_SETTINGS: {
Expand Down

0 comments on commit a990ac8

Please sign in to comment.