mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Merge branch 'litespeedtech:master' into fix_memory_leak
This commit is contained in:
commit
2a7386462d
2 changed files with 7 additions and 2 deletions
|
@ -134,7 +134,7 @@ Additional Notes
|
||||||
Control QUIC Settings via -o Flag
|
Control QUIC Settings via -o Flag
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
Most of the settings in struct squic_engine_settings can be controlled
|
Most of the settings in struct lsquic_engine_settings can be controlled
|
||||||
via -o flag. With exception of es_versions, which is a bit mask, other
|
via -o flag. With exception of es_versions, which is a bit mask, other
|
||||||
es_* options can be mapped to corresponding -o value via s/^es_//:
|
es_* options can be mapped to corresponding -o value via s/^es_//:
|
||||||
|
|
||||||
|
|
|
@ -1436,7 +1436,12 @@ lsquic_stream_rst_frame_sent (lsquic_stream_t *stream)
|
||||||
stream->sm_qflags &= ~SMQF_SEND_RST;
|
stream->sm_qflags &= ~SMQF_SEND_RST;
|
||||||
if (!(stream->sm_qflags & SMQF_SENDING_FLAGS))
|
if (!(stream->sm_qflags & SMQF_SENDING_FLAGS))
|
||||||
TAILQ_REMOVE(&stream->conn_pub->sending_streams, stream, next_send_stream);
|
TAILQ_REMOVE(&stream->conn_pub->sending_streams, stream, next_send_stream);
|
||||||
stream->stream_flags |= STREAM_RST_SENT;
|
|
||||||
|
/* [RFC9000 QUIC] Section 19.4. RESET_Frames
|
||||||
|
* An endpoint uses a RESET_STREAM frame (type=0x04)
|
||||||
|
* to abruptly terminate the sending part of a stream.
|
||||||
|
*/
|
||||||
|
stream->stream_flags |= STREAM_RST_SENT|STREAM_U_WRITE_DONE;
|
||||||
maybe_finish_stream(stream);
|
maybe_finish_stream(stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue