Skip to content

Commit

Permalink
Release 2.30.0
Browse files Browse the repository at this point in the history
- [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.
  • Loading branch information
gwanglst committed Apr 12, 2021
1 parent ab69788 commit 293df8d
Show file tree
Hide file tree
Showing 16 changed files with 815 additions and 125 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2021-04-12
- 2.30.0
- Added support for sending/receiving multiple headers to address the
case related to "100 continue" header handling.
- Addressed high CPU usage for a GOAWAY connection before sending
CONNECTION_CLOSE.
- Addressed SIGFPE due to zero pacing rate. (ISSUE #254).
- Fixed a minor issue related to multi-paths.

2021-03-31
- 2.29.6
- Documentation: describe lsquic internals ("guts").
Expand Down
3 changes: 2 additions & 1 deletion bin/http_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,13 +585,14 @@ send_headers (lsquic_stream_ctx_t *st_h)
if (!hostname)
hostname = st_h->client_ctx->prog->prog_hostname;
hbuf.off = 0;
struct lsxpack_header headers_arr[9];
struct lsxpack_header headers_arr[10];
#define V(v) (v), strlen(v)
header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":method"), V(st_h->client_ctx->method));
header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":scheme"), V("https"));
header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":path"), V(st_h->path));
header_set_ptr(&headers_arr[h_idx++], &hbuf, V(":authority"), V(hostname));
header_set_ptr(&headers_arr[h_idx++], &hbuf, V("user-agent"), V(st_h->client_ctx->prog->prog_settings.es_ua));
//header_set_ptr(&headers_arr[h_idx++], &hbuf, V("expect"), V("100-continue"));
if (randomly_reprioritize_streams)
{
char pfv[10];
Expand Down
10 changes: 8 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
author = u'LiteSpeed Technologies'

# The short X.Y version
version = u'2.29'
version = u'2.30'
# The full version, including alpha/beta/rc tags
release = u'2.29.6'
release = u'2.30.0'


# -- General configuration ---------------------------------------------------
Expand All @@ -39,6 +39,12 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
# To make ours look like readthedocs.io, change theme to "sphinx_rtd_theme",
# pip install sphinx_rtd_theme, and uncomment extensions:
# "sphinx.ext.intersphinx",
# "sphinx.ext.autodoc",
# "sphinx.ext.mathjax",
# "sphinx.ext.viewcode",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
2 changes: 1 addition & 1 deletion docs/gettingstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Fetch Google home page:

::

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

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

Expand Down
Loading

0 comments on commit 293df8d

Please sign in to comment.