mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Release 2.28.0
- [API] lsquic_ssl_sess_to_resume_info() is the new way to get session info. - [API] Add user pointer to ea_generate_scid callback. - [API] Add lsquic_dcid_from_packet() -- a fast function to parse out DCID. - [API] Add es_max_batch_size to control outgoing packet batch size. - [BUGFIX] Disallow sending of header while promise is being written. - [BUGFIX] Flush stream when buffered bytes exhaust stream cap. - [BUGFIX] Deactivate HQ frame if writing push promise fails. - Perform sanity check on peer transport parameters and fail the handshake if some flow control limits are too low. This can be turned off, see es_check_tp_sanity. - http_server: fix how requests are read in "hq" mode.
This commit is contained in:
parent
9a7f663e1a
commit
c2faf03244
19 changed files with 440 additions and 54 deletions
|
@ -531,7 +531,8 @@ test_pp_wantwrite_restoration (const int want_write)
|
|||
lsquic_stream_window_update(stream, 100);
|
||||
lsquic_stream_dispatch_write_events(stream);
|
||||
assert((stream->stream_flags & (STREAM_NOPUSH|STREAM_PUSHING))
|
||||
== (STREAM_NOPUSH|STREAM_PUSHING));
|
||||
/* After push promise was all written, STREAM_PUSHING is no longer set */
|
||||
== STREAM_NOPUSH);
|
||||
assert(SLIST_FIRST(&stream->sm_promises)->pp_write_state == PPWS_DONE); /* Done! */
|
||||
assert(want_write == s_onwrite_called); /* Restored: and on_write called */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue