mirror of
https://github.com/curl/curl.git
synced 2026-08-10 15:30:51 +03:00
http2: clear pause stream id if it gets closed
Reported-by: Florian Pritz Fixes #3392 Closes #3399
This commit is contained in:
parent
982a897b4b
commit
6dc1780ea5
1 changed files with 4 additions and 0 deletions
|
|
@ -854,6 +854,10 @@ static int on_stream_close(nghttp2_session *session, int32_t stream_id,
|
|||
stream_id);
|
||||
DEBUGASSERT(0);
|
||||
}
|
||||
if(stream_id == httpc->pause_stream_id) {
|
||||
H2BUGF(infof(data_s, "Stopped the pause stream!\n"));
|
||||
httpc->pause_stream_id = 0;
|
||||
}
|
||||
H2BUGF(infof(data_s, "Removed stream %u hash!\n", stream_id));
|
||||
stream->stream_id = 0; /* cleared */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue