Skip to content

Commit 293df8d

Browse files
committed
Release 2.30.0
- [FEATURE] Added support for sending/receiving multiple headers to address the case related to "100 continue" header handling. - [BUGFIX] Addressed high CPU usage for a GOAWAY connection before sending CONNECTION_CLOSE. - [BUGFIX] Addressed SIGFPE due to zero pacing rate. (ISSUE #254). - [BUGFIX] Fixed a minor issue related to multi-paths.
1 parent ab69788 commit 293df8d

16 files changed

+815
-125
lines changed

CHANGELOG

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2021-04-12
2+
- 2.30.0
3+
- Added support for sending/receiving multiple headers to address the
4+
case related to "100 continue" header handling.
5+
- Addressed high CPU usage for a GOAWAY connection before sending
6+
CONNECTION_CLOSE.
7+
- Addressed SIGFPE due to zero pacing rate. (ISSUE #254).
8+
- Fixed a minor issue related to multi-paths.
9+
110
2021-03-31
211
- 2.29.6
312
- Documentation: describe lsquic internals ("guts").

bin/http_client.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,13 +585,14 @@ send_headers (lsquic_stream_ctx_t *st_h)
585585
if (!hostname)
586586
hostname = st_h->client_ctx->prog->prog_hostname;
587587
hbuf.off = 0;
588-
struct lsxpack_header headers_arr[9];
588+
struct lsxpack_header headers_arr[10];
589589
#define V(v) (v), strlen(v)
590590
header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":method"), V(st_h->client_ctx->method));
591591
header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":scheme"), V("https"));
592592
header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":path"), V(st_h->path));
593593
header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":authority"), V(hostname));
594594
header_set_ptr(&headers_arr[h_idx++], &hbuf, V("user-agent"), V(st_h->client_ctx->prog->prog_settings.es_ua));
595+
//header_set_ptr(&headers_arr[h_idx++], &hbuf, V("expect"), V("100-continue"));
595596
if (randomly_reprioritize_streams)
596597
{
597598
char pfv[10];

docs/conf.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
author = u'LiteSpeed Technologies'
2525

2626
# The short X.Y version
27-
version = u'2.29'
27+
version = u'2.30'
2828
# The full version, including alpha/beta/rc tags
29-
release = u'2.29.6'
29+
release = u'2.30.0'
3030

3131

3232
# -- General configuration ---------------------------------------------------
@@ -39,6 +39,12 @@
3939
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4040
# ones.
4141
extensions = [
42+
# To make ours look like readthedocs.io, change theme to "sphinx_rtd_theme",
43+
# pip install sphinx_rtd_theme, and uncomment extensions:
44+
# "sphinx.ext.intersphinx",
45+
# "sphinx.ext.autodoc",
46+
# "sphinx.ext.mathjax",
47+
# "sphinx.ext.viewcode",
4248
]
4349

4450
# Add any paths that contain templates here, relative to this directory.

docs/gettingstarted.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Fetch Google home page:
3838

3939
::
4040

41-
./http_client -s www.google.com -p / -o version=Q050
41+
./http_client -s www.google.com -p / -o version=h3-29
4242

4343
Run your own server (it does not touch the filesystem, don't worry):
4444

0 commit comments

Comments
 (0)