mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Release 2.14.3
- [BUGFIX] gQUIC: pass correct stream to hsi_create_header_set() callback. - [BUGFIX] Use ls-hpack 2.1.1 - Improve stream code readability. - Use ls-qpack 2.0.5
This commit is contained in:
parent
7ae4a10d41
commit
08c45823bc
14 changed files with 297 additions and 49 deletions
|
@ -25,7 +25,7 @@ extern "C" {
|
|||
|
||||
#define LSQUIC_MAJOR_VERSION 2
|
||||
#define LSQUIC_MINOR_VERSION 14
|
||||
#define LSQUIC_PATCH_VERSION 2
|
||||
#define LSQUIC_PATCH_VERSION 3
|
||||
|
||||
/**
|
||||
* Engine flags:
|
||||
|
@ -896,6 +896,8 @@ struct lsquic_hset_if
|
|||
* Create a new header set. This object is (and must be) fetched from a
|
||||
* stream by calling @ref lsquic_stream_get_hset() before the stream can
|
||||
* be read.
|
||||
*
|
||||
* `stream' may be set to NULL in server mode.
|
||||
*/
|
||||
void * (*hsi_create_header_set)(void *hsi_ctx, lsquic_stream_t *stream,
|
||||
int is_push_promise);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Copyright (c) 2017 - 2020 LiteSpeed Technologies Inc. See LICENSE. */
|
||||
#ifndef LSXPACK_HEADER_H_v204
|
||||
#define LSXPACK_HEADER_H_v204
|
||||
#ifndef LSXPACK_HEADER_H_v205
|
||||
#define LSXPACK_HEADER_H_v205
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -175,8 +175,14 @@ static inline size_t
|
|||
lsxpack_header_get_dec_size(const lsxpack_header_t *hdr)
|
||||
{ return hdr->name_len + hdr->val_len + hdr->dec_overhead; }
|
||||
|
||||
static inline void
|
||||
lsxpack_header_mark_val_changed(lsxpack_header_t *hdr)
|
||||
{
|
||||
hdr->flags = (enum lsxpack_flag)(hdr->flags &
|
||||
~(LSXPACK_VAL_MATCHED|LSXPACK_NAMEVAL_HASH));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif //LSXPACK_HEADER_H_v204
|
||||
#endif //LSXPACK_HEADER_H_v205
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue