Skip to content

Commit

Permalink
fix: this line was missed ...
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Jul 12, 2024
1 parent d87b87b commit 310e8f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tunnels/client/http2/http2_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ static void doHttp2Action(const http2_action_t action, http2_client_con_state_t
case kActionStreamFinish: {
context_t *fc = newFinContext(stream->line);
tunnel_t *dest = stream->tunnel->dw;
nghttp2_session_set_stream_user_data(con->session, stream->stream_id, NULL);
removeStream(con, stream);
deleteHttp2Stream(stream);
dest->downStream(dest, fc);
Expand Down
1 change: 1 addition & 0 deletions tunnels/server/http2/http2_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ static void doHttp2Action(const http2_action_t action, http2_server_con_state_t
case kActionStreamFinish: {
context_t *fc = newFinContext(stream->line);
tunnel_t *dest = stream->tunnel->up;
nghttp2_session_set_stream_user_data(con->session, stream->stream_id, NULL);
removeStream(con, stream);
deleteHttp2Stream(stream);
dest->upStream(dest, fc);
Expand Down

0 comments on commit 310e8f3

Please sign in to comment.