Commit fc7b841c authored by Drake Arconis's avatar Drake Arconis
Browse files

vendor source version 1.37.0

--HG--
branch : vendor
parent 80e40352
......@@ -82,6 +82,7 @@ Rick Lei
Ross Smith II
Scott Mitchell
Sebastiaan Deckers
Simon Frankenberger
Simone Basso
Soham Sinha
Stefan Eissing
......
......@@ -24,12 +24,12 @@
cmake_minimum_required(VERSION 3.0)
# XXX using 1.8.90 instead of 1.9.0-DEV
project(nghttp2 VERSION 1.36.0)
project(nghttp2 VERSION 1.37.0)
# See versioning rule:
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
set(LT_CURRENT 31)
set(LT_REVISION 1)
set(LT_REVISION 2)
set(LT_AGE 17)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
......
commit e7e8ee5fe6e84ae3574c6eceab5efd7c251e98ed (HEAD, tag: v1.36.0, origin/master, origin/HEAD, master)
commit cfb47d30a5bb5dfcc6b0dc30698957d8605348c5 (HEAD, tag: v1.37.0, origin/master, origin/HEAD, master)
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-18
AuthorDate: 2019-03-08
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-18
Update bash_completion
CommitDate: 2019-03-08
commit b3b4e33535ac359be8826090b66846e5457d1dc5
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-18
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-18
Update manual pages
commit bd93d90a899a29c73909fc3bf43a8b3bdb0c0095
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-18
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-18
Don't treat text as option if it matches -[0-9]
Take into account larger frame size for prioritization
-[0-9] is valid option, but we don't use them so far and don't want to
mark integer -1 as option.
commit ea69c84b3341c916a8088677f8028b8b4535c129
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-18
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-18
Bump up version number to 1.36.0
commit 783b649bb1e13240f42d9401a5560a24c852086e
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-18
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-18
Update AUTHORS
commit eb21e6f8f73cf037ad9004ed9f85be07901fbce4
Merge: 439dbce6 ab2aa567
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-17
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-17
Merge branch 'update-http-parser'
commit ab2aa5672b8edde45bd4af0da514fa2f12ba5af0
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-17
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-17
Fix test failure
Now http_parser_parse_url returns nonzero if empty URI is given.
commit ff87a542025471d2ba7b92199758250d03293e59
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-17
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-17
Use http-parser 0d0a24e19eb5ba232d2ea8859aba2a7cc6c42bc4
Larger frame size just destroys multiplexing and prioritization does
not work.
commit 439dbce6793814f75203614f6a7bdeaca6e49825
Merge: 803d4ba9 e9c9838c
commit dbbe4e017a353ced5264baa33db95f336a76c54f
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-14
AuthorDate: 2019-03-08
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-14
CommitDate: 2019-03-08
Merge branch 'nghttpx-h1-connection-pool-per-addr'
Remove unused field
commit e9c9838cdc86d4e141435a2a8620c0d955cdf818
commit 371bc3a8f74a4148c9ee5133db644177182f46fe
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-11
AuthorDate: 2019-03-08
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-14
CommitDate: 2019-03-08
nghttpx: Pool h1 backend connection per address
Pool HTTP/1.1 backend connection per address and reuse it only when
the next round robin index refers to this address. Previously if
there is a pooled connection, there is no round robin selection.
clang-format
commit 803d4ba948430c8b3e9af0ac0d742b0a2b681c2f
Merge: 732245e5 fdcdb21c
commit 5e7889c5ef28ef5ba57ac29626e4d8ae770bf2b9
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-14
AuthorDate: 2019-03-07
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-14
CommitDate: 2019-03-07
Merge branch 'nghttpx-randomize-roundrobin-order'
Update manual pages
commit 732245e562bdc868b0d44de2fb3429ed61c3ba05
commit b1b2ad5017f3923a84248058853d788336c30445
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-12
AuthorDate: 2019-03-07
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-12
CommitDate: 2019-03-07
make clang-format
Bump up version number to 1.37.0, LT revision to 31:2:17
commit 9e8d5433e7aebf7084161e673a110d3553530537
commit e043ca83c5d9381febd0ab2041b617d3f90ad781
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-12
AuthorDate: 2019-03-07
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-12
CommitDate: 2019-03-07
Use clang-format-7
Update AUTHORS
commit fdcdb21c38ef7acf23853d47d1dc5bda69d5398f
commit c2434dfbbc65b543eb2c27f7924242e90e7ae5f7
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-11
AuthorDate: 2019-03-04
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-11
CommitDate: 2019-03-04
nghttpx: Randomize backend address round robin order per thread
Simplify stream_less
commit 11d0533cfcb3d3230fbad8db56efb0387e46a621
commit 816ad2102fe1e0c4e47a2160e1958dfdc2cbabc9
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2019-01-05
AuthorDate: 2019-03-04
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2019-01-05
CommitDate: 2019-03-04
nghttpx: Ensure that cert serial does not exceed 20 bytes
Reuse name when indexing header by referencing dynamic table
commit dbb5f00d685894275d7e7e4ccd0fff0793d0d776
Merge: 9cc412e2 5b2efc0a
commit f5feb16ef400fa72319eda0d34d863c6ff58fabc
Merge: adf09f21 34482ed4
Author: Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com>
AuthorDate: 2019-01-05
AuthorDate: 2019-02-20
Commit: GitHub <noreply@github.com>
CommitDate: 2019-01-05
CommitDate: 2019-02-20
Merge pull request #1287 from rckclmbr/fix_serial_size
Merge pull request #1295 from bratkartoffel/fix-compile-boringssl
Fix getting long serial numbers for openssl < 1.1
Fix compilation with boringssl
commit 9cc412e2fd4fbda089d0da7a678c2682449b87dd
Merge: 082e162f 7e4c48a4
commit adf09f2124d16765f40fde3806ba9ee2aaf5b42e
Merge: d93842db 2591960e
Author: Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com>
AuthorDate: 2019-01-05
AuthorDate: 2019-02-20
Commit: GitHub <noreply@github.com>
CommitDate: 2019-01-05
CommitDate: 2019-02-20
Merge pull request #1285 from staticinvocation/master
Merge pull request #1303 from donny-dont/fix-shared-install
Add a CMake option to disable shared library
Explicitly set install location when building shared libs
commit 5b2efc0a128102b165a8a62581a1ab3ec4ca675d
Author: Josh Braegger <jbraeg@fb.com>
AuthorDate: 2019-01-03
Commit: Josh Braegger <jbraeg@fb.com>
CommitDate: 2019-01-03
commit 2591960e2fc9aef919b010224a221f92a20da3d1
Author: Don <don.j.olmstead@gmail.com>
AuthorDate: 2019-02-06
Commit: Don <don.j.olmstead@gmail.com>
CommitDate: 2019-02-06
Fix getting long serial numbers for openssl < 1.1
From https://www.ietf.org/rfc/rfc5280.txt
> As noted in Section 4.1.2.2, serial numbers can be expected to
> contain long integers. Certificate users MUST be able to handle
> serialNumber values up to 20 octets in length. Conforming CAs MUST
> NOT use serialNumber values longer than 20 octets.
Without this, nghttpx will fatal.
jbraeg$ openssl x509 -in ~/test_certs/client.crt -serial -noout
serial=E0CFDFC7CEA10DF8AAF715C37FAEB410
jbraeg$ curl -k --key ~/test_certs/client.key --cert ~/test_certs/client.crt https://192.168.98.100:3000/; echo
curl: (56) Unexpected EOF
...
Assertion failed: n == b.size() (shrpx_tls.cc: get_x509_serial: 2051)
2019-01-03T20:25:21.289Z 1 1 f84316ae NOTICE (shrpx_log.cc:895) Worker process: [9] exited abnormally with status 0x06; exit status 0; signal Aborted(6)
2019-01-03T20:25:21.290Z 1 1 f84316ae NOTICE (shrpx.cc:4311) Shutdown momentarily
commit 7e4c48a461482275b4964ee7e0becdc6c55abf3c
Author: Brendan Heinonen <brendan@heinonen.co>
AuthorDate: 2018-12-27
Commit: Brendan Heinonen <brendan@heinonen.co>
CommitDate: 2018-12-27
Disable shared library if ENABLE_SHARED_LIB is OFF
Signed-off-by: Brendan Heinonen <brendan@heinonen.co>
Explicitly set install location when building shared libs
commit 082e162f3ca69282c2566fe52d8b943a11b2f38f
Merge: c78abbe1 7cc7c06c
Author: Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com>
AuthorDate: 2018-12-26
Commit: GitHub <noreply@github.com>
CommitDate: 2018-12-26
Merge pull request #1282 from alagoutte/travis
Travis: Update to Xenial
commit 7cc7c06c7bab6d158e813be15efe9c722af2abb5
Author: Alexis La Goutte <alexis.lagoutte@gmail.com>
AuthorDate: 2018-12-25
Commit: Alexis La Goutte <alexis.lagoutte@gmail.com>
CommitDate: 2018-12-26
.travis(.yml): no longer need llvm-toolchain-trusty-7
clang-7 is enable by default
commit 12ebeb30d0fa36b8ede57b24c68484dc5049c4a4
Author: Alexis La Goutte <alexis.lagoutte@gmail.com>
AuthorDate: 2018-12-25
Commit: Alexis La Goutte <alexis.lagoutte@gmail.com>
CommitDate: 2018-12-25
.travis(.yml): Update to Xenial
Xenial is now available with Travis CI
https://blog.travis-ci.com/2018-11-08-xenial-release
commit c78abbe1d268cf396b86ec79349f25e8d442ae07
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2018-12-26
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-12-26
Update mruby to 2.0.0
commit 124c7848c0cff3c3daab2b259424847e72d2252f
commit d93842db3eb481fc6953ec70a81ed2f7863ffb45
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2018-12-11
AuthorDate: 2019-01-23
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-12-11
CommitDate: 2019-01-23
nghttpx: Add missing return
nghttpx: Fix backend stall if header and request body are sent in 2 packets
commit ce9667c4f5c0acc8ff94f8d98e18d4ed7c7d2f60
Merge: 302abf1b f3f40840
commit 8dc2b263ba62c4b8c3e682757baa59a9708b3b7d
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2018-12-09
AuthorDate: 2019-01-22
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-12-09
CommitDate: 2019-01-22
Merge branch 'nghttpx-fix-trailing-slash-handling'
commit f3f40840b3e0c50920edeab534046aabc6d0be9e
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2018-12-09
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-12-09
nghttpx: Fix broken trailing slash handling
nghttpx allows a pattern with trailing slash to match a request path
without it. Previously, under certain pattern registration, this does
not work.
nghttpx: Use std::priority_queue
commit 302abf1b46ec24b7db52f2f5ccc52c29dcc48556
commit 8d842701b512791b3f7613703070fb3079de33de
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2018-11-23
AuthorDate: 2019-01-21
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-11-23
CommitDate: 2019-01-21
h2load: Fix compile error with gcc
Update manual pages
commit 089a03be4209ea26984baa9ce0236ebd42936e56
commit de85b0fda592934a64886ba6a584424b777e97ac
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2018-11-23
AuthorDate: 2019-01-21
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-11-23
CommitDate: 2019-01-21
h2load: Write log file with write(2)
Update README
commit de4fe72861d39396c1b5658c37ec200cdea2eb4a
Merge: eb679253 d1b3a83f
commit 5d6beed59099487cf77fb0641aae575f3ce6d967
Merge: 9b6ced66 1ff9de4c
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2018-11-23
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-11-23
Merge branch 'pyos-master'
commit d1b3a83f5982f4da69c31302450fd13e8e2a13cb
Author: dawg <pyos100500@gmail.com>
AuthorDate: 2018-11-11
AuthorDate: 2019-01-21
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-11-23
CommitDate: 2019-01-21
h2load: add an option to write per-request logs
Merge branch 'nghttpx-backend-weight'
commit eb6792533d0750edcfd431cafaa6740e026b37df
Merge: c98362ea 6800d317
commit 1ff9de4c873908ca0612df10daef9ecd7b580051
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2018-11-23
AuthorDate: 2019-01-19
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-11-23
CommitDate: 2019-01-21
Merge branch 'puscas-port_in_use'
nghttpx: Backend address selection with weight
commit 6800d317e7838bdfb17b2f9bfca20d3ed4331ee8
Author: Pedro Santos <pedro.vortix@gmail.com>
AuthorDate: 2018-11-11
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-11-23
commit 34482ed4df79c7c143226f759af0a8834298acd1
Author: Simon Frankenberger <simon@fraho.eu>
AuthorDate: 2019-01-18
Commit: Simon Frankenberger <simon@fraho.eu>
CommitDate: 2019-01-18
added access to the number of the current server port
Fix compilation with boringssl
commit c98362eab1e6d8de772b67448cde3bbbee058ed8
commit 9b6ced66f3b89a3a005002ff2df68dae9d7295cd
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2018-11-23
AuthorDate: 2019-01-18
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2018-11-23
CommitDate: 2019-01-18
Bump up version number to 1.36.0-DEV
Bump up version number to 1.37.0-DEV
......@@ -145,8 +145,10 @@ minimizes the risk of private key leakage when serious bug like
Heartbleed is exploited. The neverbleed is disabled by default. To
enable it, use ``--with-neverbleed`` configure option.
In order to compile the source code, gcc >= 6.0 or clang >= 6.0 is
required. C++ source code requires C++14 language features.
Compiling libnghttp2 C source code requires a C99 compiler. gcc 4.8
is known to be adequate. In order to compile the C++ source code, gcc
>= 6.0 or clang >= 6.0 is required. C++ source code requires C++14
language features.
.. note::
......
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for nghttp2 1.36.0.
# Generated by GNU Autoconf 2.69 for nghttp2 1.37.0.
#
# Report bugs to <t-tujikawa@users.sourceforge.net>.
#
......@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='nghttp2'
PACKAGE_TARNAME='nghttp2'
PACKAGE_VERSION='1.36.0'
PACKAGE_STRING='nghttp2 1.36.0'
PACKAGE_VERSION='1.37.0'
PACKAGE_STRING='nghttp2 1.37.0'
PACKAGE_BUGREPORT='t-tujikawa@users.sourceforge.net'
PACKAGE_URL=''
 
......@@ -1464,7 +1464,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures nghttp2 1.36.0 to adapt to many kinds of systems.
\`configure' configures nghttp2 1.37.0 to adapt to many kinds of systems.
 
Usage: $0 [OPTION]... [VAR=VALUE]...
 
......@@ -1536,7 +1536,7 @@ fi
 
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of nghttp2 1.36.0:";;
short | recursive ) echo "Configuration of nghttp2 1.37.0:";;
esac
cat <<\_ACEOF
 
......@@ -1732,7 +1732,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
nghttp2 configure 1.36.0
nghttp2 configure 1.37.0
generated by GNU Autoconf 2.69
 
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -2692,7 +2692,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
It was created by nghttp2 $as_me 1.36.0, which was
It was created by nghttp2 $as_me 1.37.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
$ $0 $@
......@@ -12657,7 +12657,7 @@ fi
 
# Define the identity of the package.
PACKAGE='nghttp2'
VERSION='1.36.0'
VERSION='1.37.0'
 
 
cat >>confdefs.h <<_ACEOF
......@@ -12921,7 +12921,7 @@ AM_BACKSLASH='\'
 
LT_CURRENT=31
 
LT_REVISION=1
LT_REVISION=2
 
LT_AGE=17
 
......@@ -24916,7 +24916,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by nghttp2 $as_me 1.36.0, which was
This file was extended by nghttp2 $as_me 1.37.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
 
CONFIG_FILES = $CONFIG_FILES
......@@ -24982,7 +24982,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
nghttp2 config.status 1.36.0
nghttp2 config.status 1.37.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
 
......
......@@ -25,7 +25,7 @@ dnl Do not change user variables!
dnl http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
AC_PREREQ(2.61)
AC_INIT([nghttp2], [1.36.0], [t-tujikawa@users.sourceforge.net])
AC_INIT([nghttp2], [1.37.0], [t-tujikawa@users.sourceforge.net])
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
......@@ -45,7 +45,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
dnl See versioning rule:
dnl http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
AC_SUBST(LT_CURRENT, 31)
AC_SUBST(LT_REVISION, 1)
AC_SUBST(LT_REVISION, 2)
AC_SUBST(LT_AGE, 17)
major=`echo $PACKAGE_VERSION |cut -d. -f1 | sed -e "s/[^0-9]//g"`
......
.\" Man page generated from reStructuredText.
.
.TH "H2LOAD" "1" "Jan 18, 2019" "1.36.0" "nghttp2"
.TH "H2LOAD" "1" "Mar 07, 2019" "1.37.0" "nghttp2"
.SH NAME
h2load \- HTTP/2 benchmarking tool
.
......
.\" Man page generated from reStructuredText.
.
.TH "NGHTTP" "1" "Jan 18, 2019" "1.36.0" "nghttp2"
.TH "NGHTTP" "1" "Mar 07, 2019" "1.37.0" "nghttp2"
.SH NAME
nghttp \- HTTP/2 client
.
......
.\" Man page generated from reStructuredText.
.
.TH "NGHTTPD" "1" "Jan 18, 2019" "1.36.0" "nghttp2"
.TH "NGHTTPD" "1" "Mar 07, 2019" "1.37.0" "nghttp2"
.SH NAME
nghttpd \- HTTP/2 server
.
......
.\" Man page generated from reStructuredText.
.
.TH "NGHTTPX" "1" "Jan 18, 2019" "1.36.0" "nghttp2"
.TH "NGHTTPX" "1" "Mar 07, 2019" "1.37.0" "nghttp2"
.SH NAME
nghttpx \- HTTP/2 proxy
.
......@@ -139,13 +139,13 @@ parameters are: "proto=<PROTO>", "tls",
"sni=<SNI_HOST>", "fall=<N>", "rise=<N>",
"affinity=<METHOD>", "dns", "redirect\-if\-not\-tls",
"upgrade\-scheme", "mruby=<PATH>",
"read\-timeout=<DURATION>", and
"write\-timeout=<DURATION>". The parameter consists of
keyword, and optionally followed by "=" and value. For
example, the parameter "proto=h2" consists of the
keyword "proto" and value "h2". The parameter "tls"
consists of the keyword "tls" without value. Each
parameter is described as follows.
"read\-timeout=<DURATION>", "write\-timeout=<DURATION>",
"group=<GROUP>", "group\-weight=<N>", and "weight=<N>".
The parameter consists of keyword, and optionally
followed by "=" and value. For example, the parameter
"proto=h2" consists of the keyword "proto" and value
"h2". The parameter "tls" consists of the keyword "tls"
without value. Each parameter is described as follows.
.sp
The backend application protocol can be specified using
optional "proto" parameter, and in the form of
......@@ -251,6 +251,31 @@ timeouts. If these timeouts are entirely omitted for a
pattern, \fI\%\-\-backend\-read\-timeout\fP and
\fI\%\-\-backend\-write\-timeout\fP are used.
.sp
"group=<GROUP>" parameter specifies the name of group
this backend address belongs to. By default, it belongs
to the unnamed default group. The name of group is
unique per pattern. "group\-weight=<N>" parameter
specifies the weight of the group. The higher weight
gets more frequently selected by the load balancing
algorithm. <N> must be [1, 256] inclusive. The weight
8 has 4 times more weight than 2. <N> must be the same
for all addresses which share the same <GROUP>. If
"group\-weight" is omitted in an address, but the other
address which belongs to the same group specifies
"group\-weight", its weight is used. If no
"group\-weight" is specified for all addresses, the
weight of a group becomes 1. "group" and "group\-weight"
are ignored if session affinity is enabled.
.sp
"weight=<N>" parameter specifies the weight of the
backend address inside a group which this address
belongs to. The higher weight gets more frequently
selected by the load balancing algorithm. <N> must be
[1, 256] inclusive. The weight 8 has 4 times more
weight than weight 2. If this parameter is omitted,
weight becomes 1. "weight" is ignored if session
affinity is enabled.
.sp
Since ";" and ":" are used as delimiter, <PATTERN> must
not contain these characters. Since ";" has special
meaning in shell, the option value must be quoted.
......
......@@ -123,13 +123,13 @@ Connections
"sni=<SNI_HOST>", "fall=<N>", "rise=<N>",
"affinity=<METHOD>", "dns", "redirect-if-not-tls",
"upgrade-scheme", "mruby=<PATH>",
"read-timeout=<DURATION>", and
"write-timeout=<DURATION>". The parameter consists of
keyword, and optionally followed by "=" and value. For
example, the parameter "proto=h2" consists of the
keyword "proto" and value "h2". The parameter "tls"
consists of the keyword "tls" without value. Each
parameter is described as follows.
"read-timeout=<DURATION>", "write-timeout=<DURATION>",