Accepting request 1123980 from devel:libraries:c_c++

- add keyring for gpg validation
- spec file cleanups

    For example, if GOAWAY frame has been received, a
  * https://nghttp2.org/blog/2023/05/10/nghttp2-v1-53-0/
  checking leading and trailing white spaces against HTTP field value.
  * https://nghttp2.org/blog/2022/08/22/nghttp2-v1-49-0/
  * third-party: Bump neverbleed based on the latest head (GH-1708)
  * see https://nghttp2.org/blog/2022/02/23/nghttp2-v1-47-0/
  * see https://nghttp2.org/blog/2021/10/19/nghttp2-v1-46-0/
  * nghttpx: Fix logging integer
- Conditionally remove dependecy on jemalloc for SLE-12
    if table size is changed from default
  * Add nghttp2_option_set_max_send_header_block_length API
  * Fix warning: declaration of 'free' shadows a global declaration
  * nghttpx: Add healthmon parameter to -f option to enable health
  * nghttpx: Add --api-max-request-body option to set maximum API
  * nghttpx: Add api parameter to --frontend option to mark API
  * h2load: Add content-length header field for HTTP/2 and SPDY as
  * Run error callback when peer does not send initial SETTINGS
  * nghttpx: Fix bug that server push from mruby script did not
  * nghttpx: Try next HTTP/1 backend address when connection
  * nghttpx: Retry next HTTP/2 backend address when connection
  * nghttpx: Enable link header field based push for non-final
  * nghttpx: Fix bug that logger wrote string which was not
  * nghttpx: Fix bug that backend tls keyword did not work with -s
  * lib: Add nghttp2_error_callback to tell application human
  * lib: Add nghttp2_http2_strerror() to return HTTP/2 error code
  * integration: Disable tests that sometimes break randomly on
  * h2load: Fix bug that initial max concurrent streams was too

OBS-URL: https://build.opensuse.org/request/show/1123980
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nghttp2?expand=0&rev=76
This commit is contained in:
Ana Guerrero 2023-11-08 21:16:44 +00:00 committed by Git OBS Bridge
commit 8d5957f23f
4 changed files with 230 additions and 184 deletions

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQT087kUdNHrKYib0O9+hAPV1nPDZgUCZSVZWQAKCRB+hAPV1nPD
ZhCKAKCDL9HwzcBy0plBKJk5UQoAncJYzwCeIl6zgdXvRDt0JNVSJmrM3Ts7E58=
=HpSZ
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 7 12:54:09 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add keyring for gpg validation
- spec file cleanups
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 16 10:24:50 UTC 2023 - pgajdos@suse.com Mon Oct 16 10:24:50 UTC 2023 - pgajdos@suse.com
@ -38,7 +44,7 @@ Sat Jul 15 15:11:52 UTC 2023 - Dirk Müller <dmueller@suse.com>
This commit fixes memory leak that happens when This commit fixes memory leak that happens when
PUSH_PROMISE or HEADERS frame cannot be sent, and PUSH_PROMISE or HEADERS frame cannot be sent, and
nghttp2_on_stream_close_callback fails with a fatal error. nghttp2_on_stream_close_callback fails with a fatal error.
For example, if GOAWAY frame has been received, a For example, if GOAWAY frame has been received, a
HEADERS frame that opens new stream cannot be sent. HEADERS frame that opens new stream cannot be sent.
This issue has already been made public via CVE-2023-35945 This issue has already been made public via CVE-2023-35945
by envoyproxy/envoy project. During embargo period, the by envoyproxy/envoy project. During embargo period, the
@ -83,7 +89,7 @@ Tue Jun 20 20:48:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
Thu May 18 04:53:42 UTC 2023 - Martin Pluskal <mpluskal@suse.com> Thu May 18 04:53:42 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
- Update to version 1.53.0: - Update to version 1.53.0:
* https://nghttp2.org/blog/2023/05/10/nghttp2-v1-53-0/ * https://nghttp2.org/blog/2023/05/10/nghttp2-v1-53-0/
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 14 09:33:48 UTC 2023 - Dirk Müller <dmueller@suse.com> Tue Mar 14 09:33:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -113,7 +119,7 @@ Sat Sep 24 11:21:43 UTC 2022 - Dirk Müller <dmueller@suse.com>
* https://nghttp2.org/blog/2022/09/21/nghttp2-v1-50-0/ * https://nghttp2.org/blog/2022/09/21/nghttp2-v1-50-0/
This release adds This release adds
nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation which disables nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation which disables
checking leading and trailing white spaces against HTTP field value. checking leading and trailing white spaces against HTTP field value.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 23 15:38:24 UTC 2022 - Dirk Müller <dmueller@suse.com> Fri Sep 23 15:38:24 UTC 2022 - Dirk Müller <dmueller@suse.com>
@ -125,7 +131,7 @@ Fri Sep 23 15:38:24 UTC 2022 - Dirk Müller <dmueller@suse.com>
Mon Aug 22 21:23:42 UTC 2022 - Dirk Müller <dmueller@suse.com> Mon Aug 22 21:23:42 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.49.0: - update to 1.49.0:
* https://nghttp2.org/blog/2022/08/22/nghttp2-v1-49-0/ * https://nghttp2.org/blog/2022/08/22/nghttp2-v1-49-0/
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 11 19:43:07 UTC 2022 - Dirk Müller <dmueller@suse.com> Mon Jul 11 19:43:07 UTC 2022 - Dirk Müller <dmueller@suse.com>
@ -161,13 +167,13 @@ Mon Jul 11 19:43:07 UTC 2022 - Dirk Müller <dmueller@suse.com>
* third-party: Bump llhttp to 75b45129db961e1fb3c56044e1b8f7721bfaee5d * third-party: Bump llhttp to 75b45129db961e1fb3c56044e1b8f7721bfaee5d
* third-party: Bump libbpf to v0.8.0 * third-party: Bump libbpf to v0.8.0
* third-party: Bump mruby to 3.1.0 * third-party: Bump mruby to 3.1.0
* third-party: Bump neverbleed based on the latest head (GH-1708) * third-party: Bump neverbleed based on the latest head (GH-1708)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 20 21:13:42 UTC 2022 - Dirk Müller <dmueller@suse.com> Sun Mar 20 21:13:42 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.47.0: - update to 1.47.0:
* see https://nghttp2.org/blog/2022/02/23/nghttp2-v1-47-0/ * see https://nghttp2.org/blog/2022/02/23/nghttp2-v1-47-0/
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 18 19:24:21 UTC 2021 - Dirk Müller <dmueller@suse.com> Sat Dec 18 19:24:21 UTC 2021 - Dirk Müller <dmueller@suse.com>
@ -175,7 +181,7 @@ Sat Dec 18 19:24:21 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.46.0: - update to 1.46.0:
* see https://nghttp2.org/blog/2021/07/18/nghttp2-v1-44-0/ * see https://nghttp2.org/blog/2021/07/18/nghttp2-v1-44-0/
* see https://nghttp2.org/blog/2021/09/20/nghttp2-v1-45-0/ * see https://nghttp2.org/blog/2021/09/20/nghttp2-v1-45-0/
* see https://nghttp2.org/blog/2021/10/19/nghttp2-v1-46-0/ * see https://nghttp2.org/blog/2021/10/19/nghttp2-v1-46-0/
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 4 11:22:06 UTC 2021 - Dirk Müller <dmueller@suse.com> Thu Feb 4 11:22:06 UTC 2021 - Dirk Müller <dmueller@suse.com>
@ -204,7 +210,7 @@ Wed Jan 6 12:22:21 UTC 2021 - Dirk Müller <dmueller@suse.com>
* nghttpx: Deal with the case when h2 backend is retired before it is initialized * nghttpx: Deal with the case when h2 backend is retired before it is initialized
* nghttpx: Add accesslog variables to record request path without query (GH-1511) * nghttpx: Add accesslog variables to record request path without query (GH-1511)
* nghttpx: Fix stall when TLS follows after proxy protocol * nghttpx: Fix stall when TLS follows after proxy protocol
* nghttpx: Fix logging integer * nghttpx: Fix logging integer
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 3 11:45:25 UTC 2020 - Paolo Stivanin <info@paolostivanin.com> Wed Jun 3 11:45:25 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
@ -243,7 +249,7 @@ Tue Jan 14 18:01:52 UTC 2020 - Michał Rostecki <mrostecki@opensuse.org>
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 30 02:45:32 UTC 2019 - Martin Pluskal <mpluskal@suse.com> Fri Aug 30 02:45:32 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Conditionally remove dependecy on jemalloc for SLE-12 - Conditionally remove dependecy on jemalloc for SLE-12
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 19 12:27:38 UTC 2019 - Martin Pluskal <mpluskal@suse.com> Mon Aug 19 12:27:38 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
@ -771,7 +777,7 @@ Thu Sep 8 08:35:52 UTC 2016 - idonmez@suse.com
received and ignored received and ignored
* nghttp: Allow multiple -p option * nghttp: Allow multiple -p option
* deflatehd: Call nghttp2_hd_deflate_change_table_size only * deflatehd: Call nghttp2_hd_deflate_change_table_size only
if table size is changed from default if table size is changed from default
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 7 17:23:20 UTC 2016 - mpluskal@suse.com Sun Aug 7 17:23:20 UTC 2016 - mpluskal@suse.com
@ -793,9 +799,9 @@ Thu Jul 14 13:08:52 UTC 2016 - mpluskal@suse.com
- Update to version 1.12.0: - Update to version 1.12.0:
* Add nghttp2_session_set_local_window_size API function * Add nghttp2_session_set_local_window_size API function
* Add nghttp2_option_set_max_send_header_block_length API * Add nghttp2_option_set_max_send_header_block_length API
function (GH-613) function (GH-613)
* Fix warning: declaration of 'free' shadows a global declaration * Fix warning: declaration of 'free' shadows a global declaration
(Patch from Alexis La Goutte) (Patch from Alexis La Goutte)
* examples: Add ALPN support to tutorial client/server (GH-614) * examples: Add ALPN support to tutorial client/server (GH-614)
* nghttpx: Reduce TTFB with large number of incoming connections * nghttpx: Reduce TTFB with large number of incoming connections
@ -803,16 +809,16 @@ Thu Jul 14 13:08:52 UTC 2016 - mpluskal@suse.com
* nghttpx: Clean up neverbleed AF_UNIX socket * nghttpx: Clean up neverbleed AF_UNIX socket
* nghttpx: Add --backend-max-backoff option * nghttpx: Add --backend-max-backoff option
* nghttpx: Use 16KiB buffer for reading to match TLS record size * nghttpx: Use 16KiB buffer for reading to match TLS record size
* nghttpx: Add healthmon parameter to -f option to enable health * nghttpx: Add healthmon parameter to -f option to enable health
monitor mode monitor mode
* nghttpx: Receive reference of std::mt19937, not making a copy * nghttpx: Receive reference of std::mt19937, not making a copy
* nghttpx: Fix bug that backend never return to online (GH-615) * nghttpx: Fix bug that backend never return to online (GH-615)
* nghttpx: Implement client IP based session affinity * nghttpx: Implement client IP based session affinity
* nghttpx: Add --api-max-request-body option to set maximum API * nghttpx: Add --api-max-request-body option to set maximum API
request body size request body size
* nghttpx: Add api parameter to --frontend option to mark API * nghttpx: Add api parameter to --frontend option to mark API
endpoint endpoint
* h2load: Add content-length header field for HTTP/2 and SPDY as * h2load: Add content-length header field for HTTP/2 and SPDY as
well well
* h2load: Implement HTTP/1 upload (GH-611) * h2load: Implement HTTP/1 upload (GH-611)
@ -849,20 +855,20 @@ Wed Apr 27 10:04:48 UTC 2016 - mpluskal@suse.com
- Update to 1.10.0 - Update to 1.10.0
* Pass unknown SETTINGS values to nghttp2_on_frame_recv_callback * Pass unknown SETTINGS values to nghttp2_on_frame_recv_callback
* Add ALTSVC frame support * Add ALTSVC frame support
* Run error callback when peer does not send initial SETTINGS * Run error callback when peer does not send initial SETTINGS
frame frame
* Update http-parser * Update http-parser
* Update sphinx_rtd_theme * Update sphinx_rtd_theme
* nghttp: add an --expect-continue option * nghttp: add an --expect-continue option
* nghttpx: Fix downstream connect callback called early * nghttpx: Fix downstream connect callback called early
* nghttpx: Truncate too long -b option signature * nghttpx: Truncate too long -b option signature
* nghttpx: Fix bug that server push from mruby script did not * nghttpx: Fix bug that server push from mruby script did not
work work
* nghttpx: Try next HTTP/1 backend address when connection * nghttpx: Try next HTTP/1 backend address when connection
cannot be made cannot be made
* nghttpx: Retry next HTTP/2 backend address when connection * nghttpx: Retry next HTTP/2 backend address when connection
cannot be made cannot be made
* nghttpx: Enable link header field based push for non-final * nghttpx: Enable link header field based push for non-final
response response
* nghttpx: Detect online/offline state of backend servers * nghttpx: Detect online/offline state of backend servers
* nghttpx: Better load balancing between backend HTTP/2 servers * nghttpx: Better load balancing between backend HTTP/2 servers
@ -875,7 +881,7 @@ Wed Apr 13 18:31:20 UTC 2016 - mpluskal@suse.com
* nghttpx: Fix crash with backend failure * nghttpx: Fix crash with backend failure
* nghttpx: Better distribute load to backend h2 servers * nghttpx: Better distribute load to backend h2 servers
* nghttpx: Fix error messages on deprecated mode * nghttpx: Fix error messages on deprecated mode
* nghttpx: Fix bug that logger wrote string which was not * nghttpx: Fix bug that logger wrote string which was not
NULL-terminated NULL-terminated
* nghttpx: Fix bug that proxy with HTTP/1.1 CONNECT did not work * nghttpx: Fix bug that proxy with HTTP/1.1 CONNECT did not work
@ -883,52 +889,52 @@ Wed Apr 13 18:31:20 UTC 2016 - mpluskal@suse.com
Sun Mar 27 16:57:17 UTC 2016 - mpluskal@suse.com Sun Mar 27 16:57:17 UTC 2016 - mpluskal@suse.com
- Update to 1.9.1 - Update to 1.9.1
* nghttpx: Fix bug that backend tls keyword did not work with -s * nghttpx: Fix bug that backend tls keyword did not work with -s
option option
* nghttpx: Fix handing stream after connection check was failed * nghttpx: Fix handing stream after connection check was failed
- Changes for 1.9.0 - Changes for 1.9.0
* lib: Add nghttp2_error_callback to tell application human * lib: Add nghttp2_error_callback to tell application human
readable error message readable error message
* lib: Reference counted HPACK name/value pair, adding * lib: Reference counted HPACK name/value pair, adding
* nghttp2_on_header_callback2 * nghttp2_on_header_callback2
* lib: Add nghttp2_option_set_no_auto_ping_ack() option * lib: Add nghttp2_option_set_no_auto_ping_ack() option
* lib: Add nghttp2_http2_strerror() to return HTTP/2 error code * lib: Add nghttp2_http2_strerror() to return HTTP/2 error code
string string
* build: Makefile.msvc enhancements (Patch from Jan-E) * build: Makefile.msvc enhancements (Patch from Jan-E)
* build: Lower libev version requirement (Patch from Peter Wu) * build: Lower libev version requirement (Patch from Peter Wu)
* build: cmake build support (Patch from Peter Wu) * build: cmake build support (Patch from Peter Wu)
* asio: Fix bug that server event loop breaks with exception * asio: Fix bug that server event loop breaks with exception
* integration: Disable tests that sometimes break randomly on * integration: Disable tests that sometimes break randomly on
travis travis
* integration: do not use recursive target (Patch from Peter Wu) * integration: do not use recursive target (Patch from Peter Wu)
* h2load: Fix bug that it did not try to connect to server again * h2load: Fix bug that it did not try to connect to server again
* h2load: Fix bug that initial max concurrent streams was too * h2load: Fix bug that initial max concurrent streams was too
large large
* nghttpx: Memcached connection encryption with tls keyword * nghttpx: Memcached connection encryption with tls keyword
* nghttpx: Enable/disable TLS per frontend address * nghttpx: Enable/disable TLS per frontend address
* nghttpx: Configure TLS per backend routing pattern * nghttpx: Configure TLS per backend routing pattern
* nghttpx: Workaround for Ubuntu 15.04 which does not * nghttpx: Workaround for Ubuntu 15.04 which does not
value-initialize on std::make_shared. value-initialize on std::make_shared.
* nghttpx: Add --error-page option to set custom error pages * nghttpx: Add --error-page option to set custom error pages
* nghttpx: Add wildcard host routing * nghttpx: Add wildcard host routing
* nghttpx: Change read timeout reset timing * nghttpx: Change read timeout reset timing
* nghttpx: Don't push if Link header field includes nopush * nghttpx: Don't push if Link header field includes nopush
* nghttpx: Deprecate backend-http1-connections-per-host in favor * nghttpx: Deprecate backend-http1-connections-per-host in favor
of backend-connections-per-host of backend-connections-per-host
* nghttpx: Restructure mode settings, removing --http2-bridge, * nghttpx: Restructure mode settings, removing --http2-bridge,
--client, and --client-proxy options --client, and --client-proxy options
* nghttpx: Deprecate backend-http1-connections-per-frontend in * nghttpx: Deprecate backend-http1-connections-per-frontend in
favor of backend-connections-per-frontend favor of backend-connections-per-frontend
* nghttpx: Don't share session which is already in draining * nghttpx: Don't share session which is already in draining
state state
* nghttpx: Effectively disable backend HTTP/2 connection flow * nghttpx: Effectively disable backend HTTP/2 connection flow
control control
* nghttpx: Add --frontend-http2-max-concurrent-streams and * nghttpx: Add --frontend-http2-max-concurrent-streams and
--backend-http2-max-concurrent-streams, and deprecate --backend-http2-max-concurrent-streams, and deprecate
--http2-max-concurrent-streams option --http2-max-concurrent-streams option
* nghttpx: Deprecate --backend-http2-connections-per-worker * nghttpx: Deprecate --backend-http2-connections-per-worker
option option
* nghttpx: Share TLS session cache between HTTP/2 and HTTP/1 * nghttpx: Share TLS session cache between HTTP/2 and HTTP/1
backend backend
* nghttpx: Rewrite backend HTTP/2 connection coalesce strategy * nghttpx: Rewrite backend HTTP/2 connection coalesce strategy
@ -939,55 +945,55 @@ Fri Feb 26 13:00:38 UTC 2016 - mpluskal@suse.com
* Add Architecture documents (work in progress) * Add Architecture documents (work in progress)
* List all contributors in AUTHORS * List all contributors in AUTHORS
* doc: fix out-of-tree doc builds (Patch from Peter Wu) * doc: fix out-of-tree doc builds (Patch from Peter Wu)
* Wrap AM_PATH_XML2 by m4_ifdef to handle the case when * Wrap AM_PATH_XML2 by m4_ifdef to handle the case when
_PATH_XML2 is not found _PATH_XML2 is not found
* Fix configure script for non-gcc, clang build * Fix configure script for non-gcc, clang build
* Document compiling apps and include h2load in configure (Patch * Document compiling apps and include h2load in configure (Patch
from David Beitey) from David Beitey)
* Don't check for dlopen/libdl on *BSD (Patch from Bernard Spil) * Don't check for dlopen/libdl on *BSD (Patch from Bernard Spil)
* Don't taint CXXFLAGS from AX_CXX_COMPILE_STDCXX_11 * Don't taint CXXFLAGS from AX_CXX_COMPILE_STDCXX_11
* Fixing Windows Makefile version detection (Patch from Reza * Fixing Windows Makefile version detection (Patch from Reza
Tavakoli) Tavakoli)
* lib: Tokenize extra HTTP header fields * lib: Tokenize extra HTTP header fields
* lib: Fix typo in HAVE_CONFIG_H name (Patch from Peter Wu) * lib: Fix typo in HAVE_CONFIG_H name (Patch from Peter Wu)
* lib: Add HTTP/2 extension framework to send and receive * lib: Add HTTP/2 extension framework to send and receive
non-critical frames non-critical frames
* tests: remove unused macros (Patch from Peter Wu) * tests: remove unused macros (Patch from Peter Wu)
* src: Update default cipher list * src: Update default cipher list
* src: Fix compile error with gcc-6 which enables C++14 by default * src: Fix compile error with gcc-6 which enables C++14 by default
* asio: client: Fix connect timeout does not work, return from cb * asio: client: Fix connect timeout does not work, return from cb
if session stopped, removing client::session::connect_timeout() if session stopped, removing client::session::connect_timeout()
functon functon
* nghttpd: Start SETTINGS timer after it is written to output * nghttpd: Start SETTINGS timer after it is written to output
buffer buffer
* nghttpd: Add trailer header field to status responses * nghttpd: Add trailer header field to status responses
* nghttpd: Add -w and -W options to change window size * nghttpd: Add -w and -W options to change window size
* nghttpx: Worker wide blocker which is used when socket(2) is * nghttpx: Worker wide blocker which is used when socket(2) is
failed failed
* nghttpx: ConnectBlocker per backend address * nghttpx: ConnectBlocker per backend address
* nghttpx: Interleave text/html pushed resources with associated * nghttpx: Interleave text/html pushed resources with associated
resource resource
* nghttpx: Add headers given in add-response-headers for mruby * nghttpx: Add headers given in add-response-headers for mruby
response response
* nghttpx: Deprecate --backend-ipv4 and --backend-ipv6 in favor * nghttpx: Deprecate --backend-ipv4 and --backend-ipv6 in favor
of --backend-address-family of --backend-address-family
* nghttpx: Add options to specify address family of memcached * nghttpx: Add options to specify address family of memcached
connections connections
* nghttpx: Add encryption support for TLS ticket key retrieval * nghttpx: Add encryption support for TLS ticket key retrieval
* nghttpx: Add TLS support for session cache memcached connection * nghttpx: Add TLS support for session cache memcached connection
* nghttpx: Refactor blacklisted cipher suite check (Patch from * nghttpx: Refactor blacklisted cipher suite check (Patch from
Jay Satiro) Jay Satiro)
* nghttpx: Add TLS support for HTTP/1 backend * nghttpx: Add TLS support for HTTP/1 backend
* nghttpx: Add request-header-field-buffer and * nghttpx: Add request-header-field-buffer and
max-request-header-fields options, deprecating max-request-header-fields options, deprecating
header-field-buffer and max-header-fields options. header-field-buffer and max-header-fields options.
* nghttpx: Add --no-http2-cipher-black-list to allow black listed * nghttpx: Add --no-http2-cipher-black-list to allow black listed
cipher suite cipher suite
* nghttpx: Limit header fields from backend * nghttpx: Limit header fields from backend
* nghttpx: Fix bug that IPv6 address in Forwarded "for" is not * nghttpx: Fix bug that IPv6 address in Forwarded "for" is not
quoted-string quoted-string
* nghttpx: Support multiple frontend addresses * nghttpx: Support multiple frontend addresses
* integration-tests: support out-of-tree tests (Patch from Peter * integration-tests: support out-of-tree tests (Patch from Peter
Wu) Wu)
* examples: fix compile warnings (Patch from Peter Wu) * examples: fix compile warnings (Patch from Peter Wu)
- Drop upstreamed nghttp2-c++14.patch - Drop upstreamed nghttp2-c++14.patch
@ -1002,7 +1008,7 @@ Fri Feb 12 17:21:54 UTC 2016 - mpluskal@suse.com
Thu Jan 28 14:43:56 UTC 2016 - rguenther@suse.com Thu Jan 28 14:43:56 UTC 2016 - rguenther@suse.com
- Add nghttp2-c++14.patch to properly guard make_unique templates. - Add nghttp2-c++14.patch to properly guard make_unique templates.
[bsc#964140] [bsc#964140]
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 26 20:02:00 UTC 2016 - mpluskal@suse.com Tue Jan 26 20:02:00 UTC 2016 - mpluskal@suse.com
@ -1012,7 +1018,7 @@ Tue Jan 26 20:02:00 UTC 2016 - mpluskal@suse.com
* Validate :authroity, host, and :scheme value more strictly * Validate :authroity, host, and :scheme value more strictly
* Check request/response submission error based side of session * Check request/response submission error based side of session
* Strict outgoing idle stream detection * Strict outgoing idle stream detection
* Return error from nghttp2_submit_{headers,request} when self * Return error from nghttp2_submit_{headers,request} when self
dependency is made dependency is made
* Add -ldl to APPLDFLAGS for static openssl linking * Add -ldl to APPLDFLAGS for static openssl linking
* asio: Stop acceptor on server::http2::stop * asio: Stop acceptor on server::http2::stop
@ -1021,31 +1027,31 @@ Tue Jan 26 20:02:00 UTC 2016 - mpluskal@suse.com
* h2load: Improve readability of traffic numbers * h2load: Improve readability of traffic numbers
* h2load: Remove "auto" for -m option * h2load: Remove "auto" for -m option
* h2load: Show progress in rate mode * h2load: Show progress in rate mode
* h2load: Perform sampling for request and connection timings to * h2load: Perform sampling for request and connection timings to
reduce memory consumption reduce memory consumption
* nghttpd: Add --no-content-length option to omit content-length * nghttpd: Add --no-content-length option to omit content-length
in response in response
* nghttpx: Interleave pushed streams with the associated stream * nghttpx: Interleave pushed streams with the associated stream
if pushed streams are javascript and CSS resources if pushed streams are javascript and CSS resources
* nghttpx: The initial value of request/response buffer is * nghttpx: The initial value of request/response buffer is
increased to 128K increased to 128K
* nghttpx: Fix bug that --listener-disable-timeout option is not * nghttpx: Fix bug that --listener-disable-timeout option is not
used used
* nghttpx: Don't emit :authority if request does not contain * nghttpx: Don't emit :authority if request does not contain
authority information authority information
* nghttpx: Add clarification of quotes in configuration file * nghttpx: Add clarification of quotes in configuration file
* nghttpx: Don't allow certain characters in host and :scheme * nghttpx: Don't allow certain characters in host and :scheme
header field header field
* nghttpx: Add RFC 7239 Forwarded header field support * nghttpx: Add RFC 7239 Forwarded header field support
* nghttpx: Fix crash when running on IPv6 only (Patch from Vernon * nghttpx: Fix crash when running on IPv6 only (Patch from Vernon
Tang) Tang)
* nghttpx: Take into account of trailers when applying * nghttpx: Take into account of trailers when applying
max_header_fields max_header_fields
* nghttpx: Don't apply max_header_fields and header_field_buffer * nghttpx: Don't apply max_header_fields and header_field_buffer
limit to response limit to response
* nghttpx: Strict validation for header fields given in * nghttpx: Strict validation for header fields given in
configuration configuration
* nghttpx: header value should not be lower-cased (Patch from * nghttpx: header value should not be lower-cased (Patch from
ayanamist) ayanamist)
------------------------------------------------------------------- -------------------------------------------------------------------
@ -1058,24 +1064,24 @@ Wed Dec 23 17:48:47 UTC 2015 - mpluskal@suse.com
- Update to 1.6.0 - Update to 1.6.0
* Fix heap-use-after-free bug when handling idle streams * Fix heap-use-after-free bug when handling idle streams
* Strict error handling for frames which are not allowed after * Strict error handling for frames which are not allowed after
closed (remote) closed (remote)
* Set max number of outgoing concurrent streams to 100 by * Set max number of outgoing concurrent streams to 100 by
default default
* Keep incoming streams only at server side * Keep incoming streams only at server side
* Create stream object for pushed resource during * Create stream object for pushed resource during
nghttp2_submit_push_promise() nghttp2_submit_push_promise()
* Add nghttp2_session_create_idle_stream() API * Add nghttp2_session_create_idle_stream() API
* Handle response in nghttp2_on_begin_frame_callback * Handle response in nghttp2_on_begin_frame_callback
* Add --lib-only configure option * Add --lib-only configure option
* Compile with OpenSSL 1.1.0-pre1 * Compile with OpenSSL 1.1.0-pre1
* Fix build when OpenSSL 1.0.2 is not available (patch from * Fix build when OpenSSL 1.0.2 is not available (patch from
Sunpoet Po-Chuan Hsieh) Sunpoet Po-Chuan Hsieh)
* asio: Add connect and read timeout to client API * asio: Add connect and read timeout to client API
* asio: Add TLS handshake and read timeout to server API * asio: Add TLS handshake and read timeout to server API
* asio: Added access to a requests remote endpoint (patch from * asio: Added access to a requests remote endpoint (patch from
Andreas Pohl) Andreas Pohl)
* asio: libnghttp2_asio: Added io_service accessors (patch from * asio: libnghttp2_asio: Added io_service accessors (patch from
Andreas Pohl) Andreas Pohl)
* h2load: Add req/s min, max, mean and sd for clients * h2load: Add req/s min, max, mean and sd for clients
* h2load: Fix broken connection times * h2load: Fix broken connection times
@ -1084,48 +1090,48 @@ Wed Dec 23 17:48:47 UTC 2015 - mpluskal@suse.com
Tue Dec 1 14:13:15 UTC 2015 - mpluskal@suse.com Tue Dec 1 14:13:15 UTC 2015 - mpluskal@suse.com
- Update to 1.5.0 - Update to 1.5.0
* Fix bug that nghttp2_session_find_stream(session, 0) returned * Fix bug that nghttp2_session_find_stream(session, 0) returned
NULL NULL
* Add nghttp2_session_change_stream_priority() to change stream * Add nghttp2_session_change_stream_priority() to change stream
priority without sending PRIORITY frame priority without sending PRIORITY frame
* Add nghttp2_session_check_server_session() API * Add nghttp2_session_check_server_session() API
* Consider to use CANCEL error code when closing streams with * Consider to use CANCEL error code when closing streams with
GOAWAY GOAWAY
* Don't send push response if GOAWAY has been received * Don't send push response if GOAWAY has been received
* Use error code CANCEL to reset pushed reserved stream from * Use error code CANCEL to reset pushed reserved stream from
remote remote
* Add nghttp2_session_upgrade2(), deprecate * Add nghttp2_session_upgrade2(), deprecate
nghttp2_session_upgrade() nghttp2_session_upgrade()
* Workaround HTTP upgrade with HEAD request in * Workaround HTTP upgrade with HEAD request in
nghttp2_session_upgrade() nghttp2_session_upgrade()
* Introduce NGHTTP2_NV_FLAG_NO_COPY_NAME and * Introduce NGHTTP2_NV_FLAG_NO_COPY_NAME and
NGHTTP2_NV_FLAG_NO_COPY_VALUE NGHTTP2_NV_FLAG_NO_COPY_VALUE
* Add nghttp2_session_check_request_allowed() API function * Add nghttp2_session_check_request_allowed() API function
* Switch to clang-format-3.6 * Switch to clang-format-3.6
* Update mruby to 1.2.0 * Update mruby to 1.2.0
* tests: fix broken linkage with --disable-static (Patch from * tests: fix broken linkage with --disable-static (Patch from
Kamil Dudka) Kamil Dudka)
* python: Send RST_STREAM if remote side is not closed and * python: Send RST_STREAM if remote side is not closed and
response finished response finished
* asio: client: call on_error when connection is dropped * asio: client: call on_error when connection is dropped
* asio: ALPN support * asio: ALPN support
* h2load: Add --h1 option to force http/1.1 for both http and * h2load: Add --h1 option to force http/1.1 for both http and
https URI https URI
* h2load: Fix crash when dealing with "connection: close" form * h2load: Fix crash when dealing with "connection: close" form
HTTP/1.1 server HTTP/1.1 server
* h2load: h2load goes into infinite loop when timing script file * h2load: h2load goes into infinite loop when timing script file
starts with 0.0 in first line (Patch from Kit Chan) starts with 0.0 in first line (Patch from Kit Chan)
* h2load: Override user-agent with -H option * h2load: Override user-agent with -H option
* h2load: Print "space savings" to measure header compression * h2load: Print "space savings" to measure header compression
efficiency efficiency
* h2load: Stream error should be counted toward errored * h2load: Stream error should be counted toward errored
* h2load: Show application protocol with OpenSSL < 1.0.2 * h2load: Show application protocol with OpenSSL < 1.0.2
* nghttpx: Don't send RST_STREAM to h2 backend if backend is * nghttpx: Don't send RST_STREAM to h2 backend if backend is
disconnected state disconnected state
* nghttpx: Support server push from HTTP/2 backend * nghttpx: Support server push from HTTP/2 backend
* nghttpx: Fix bug that causes connection failure with backend * nghttpx: Fix bug that causes connection failure with backend
proxy URI proxy URI
* nghttpx: Use --backend-tls-sni-field to verify certificate * nghttpx: Use --backend-tls-sni-field to verify certificate
hostname hostname
* nghttpx: Log :authority as $http_host if available * nghttpx: Log :authority as $http_host if available
* nghttpd: Fix crash with CONNECT request * nghttpd: Fix crash with CONNECT request
@ -1187,9 +1193,9 @@ Sat Oct 31 10:21:56 UTC 2015 - sor.alexei@meowr.ru
Sun Sep 27 12:38:17 UTC 2015 - mpluskal@suse.com Sun Sep 27 12:38:17 UTC 2015 - mpluskal@suse.com
- Update to 1.3.4 - Update to 1.3.4
* Make traditional init script fail if new config file is broken * Make traditional init script fail if new config file is broken
(Patch from Janusz Dziemidowicz) (Patch from Janusz Dziemidowicz)
* nghttpx-logrotate: Don't use killall since we have multiple * nghttpx-logrotate: Don't use killall since we have multiple
processes processes
* nghttpx: Fix improper signal handling * nghttpx: Fix improper signal handling
- Changes for 1.3.3 - Changes for 1.3.3
@ -1198,15 +1204,15 @@ Sun Sep 27 12:38:17 UTC 2015 - mpluskal@suse.com
* More warning flags for --enable-werror * More warning flags for --enable-werror
* Update mruby * Update mruby
* h2load: HTTP/1.1 support (Patch from Lucas Pardue) * h2load: HTTP/1.1 support (Patch from Lucas Pardue)
* nghttpx: Do not try to set TCP_NODELAY when frontend is an * nghttpx: Do not try to set TCP_NODELAY when frontend is an
UNIX socket (Patch from Janusz Dziemidowicz) UNIX socket (Patch from Janusz Dziemidowicz)
* nghttpx: Chown UNIX domain socket to user specified as --user * nghttpx: Chown UNIX domain socket to user specified as --user
* nghttpx: Split monolithic one process into control and worker * nghttpx: Split monolithic one process into control and worker
processes processes
* nghttpx: Handle SSL/TLS data following PROXY protocol line * nghttpx: Handle SSL/TLS data following PROXY protocol line
- Changes for 1.3.2 - Changes for 1.3.2
* Check header block limit after new stream is opened * Check header block limit after new stream is opened
* nghttp: Show error if HEADERS frame cannot be sent for * nghttp: Show error if HEADERS frame cannot be sent for
whatever reason whatever reason
* nghttpx: Fix assertion failure on TLS handshake * nghttpx: Fix assertion failure on TLS handshake
* nghttpx: Add x-http2-push header field for pushed resource * nghttpx: Add x-http2-push header field for pushed resource
@ -1216,27 +1222,27 @@ Sun Sep 27 12:38:17 UTC 2015 - mpluskal@suse.com
Mon Sep 14 13:33:16 UTC 2015 - mpluskal@suse.com Mon Sep 14 13:33:16 UTC 2015 - mpluskal@suse.com
- Update to 1.3.1 - Update to 1.3.1
* Avoid usage of typeof and replace __builtin_offsetof with * Avoid usage of typeof and replace __builtin_offsetof with
offsetof offsetof
* Honor stream->weight even if stream->last_writelen is 0 * Honor stream->weight even if stream->last_writelen is 0
* Compile third-party libraries if hpack-tools is enabled * Compile third-party libraries if hpack-tools is enabled
* nghttpx-init: Start nghttpx with --daemon * nghttpx-init: Start nghttpx with --daemon
* Bundle sphinxcontrib.rubydomain https://bitbucket.org/birkenfeld/sphinx-contrib/src/default/rubydomain/ * Bundle sphinxcontrib.rubydomain https://bitbucket.org/birkenfeld/sphinx-contrib/src/default/rubydomain/
* Bundle mruby * Bundle mruby
* h2load: Record TTFB on first byte of response body, rather * h2load: Record TTFB on first byte of response body, rather
than first socket read than first socket read
* h2load: Improve checking for timing script input, prevent * h2load: Improve checking for timing script input, prevent
false positive in certain situations false positive in certain situations
* nghttpx: Implement PROXY protocol version 1 * nghttpx: Implement PROXY protocol version 1
(--accept-proxy-protocol option) (--accept-proxy-protocol option)
* nghttpx: Allow link header server push for HTTP/2 backend * nghttpx: Allow link header server push for HTTP/2 backend
as well as well
* nghttpx: Don't initiate push if client disabled push * nghttpx: Don't initiate push if client disabled push
* nghttpx: Allow absolute URI in Link header field for push * nghttpx: Allow absolute URI in Link header field for push
* nghttpx: Fix crash with multi workers and QUIT signal * nghttpx: Fix crash with multi workers and QUIT signal
* nghttpx: Add mruby support which is disabled by default * nghttpx: Add mruby support which is disabled by default
(use --with-mruby configure option to enable it) (use --with-mruby configure option to enable it)
* nghttpx: Drop connection before TLS finish if h2 requirement * nghttpx: Drop connection before TLS finish if h2 requirement
is not fulfilled is not fulfilled
- Fix typo in previous changelog entry - Fix typo in previous changelog entry
@ -1248,19 +1254,19 @@ Tue Sep 1 06:59:43 UTC 2015 - mpluskal@suse.com
* Add stream public API * Add stream public API
* Rewrite priority tree handling * Rewrite priority tree handling
* Fix parallel make distcheck * Fix parallel make distcheck
* Define it and itprep recursive target if * Define it and itprep recursive target if
AM_EXTRA_RECURSIVE_TARGETS is defined AM_EXTRA_RECURSIVE_TARGETS is defined
* fetch-ocsp-response: Handle spurious openssl exist status 0 * fetch-ocsp-response: Handle spurious openssl exist status 0
* nghttpx: Use nghttp2::ssl::DEFAULT_CIPHER_LIST for backend TLS * nghttpx: Use nghttp2::ssl::DEFAULT_CIPHER_LIST for backend TLS
connection connection
* nghttpx: Don't allow blacked listed cipher suites for HTTP/2 * nghttpx: Don't allow blacked listed cipher suites for HTTP/2
connection connection
* nghttpx: better handle /dev/stderr and /dev/stdout (Patch from * nghttpx: better handle /dev/stderr and /dev/stdout (Patch from
Tomasz Buchert) Tomasz Buchert)
* nghttpd: GOAWAY if SSL/TLS requirements for HTTP/2 are not met * nghttpd: GOAWAY if SSL/TLS requirements for HTTP/2 are not met
* nghttpd: Return date header field for 304 * nghttpd: Return date header field for 304
* nghttpd: Support HEAD request * nghttpd: Support HEAD request
* h2load: Add Timing-script and base URI support (Patch from * h2load: Add Timing-script and base URI support (Patch from
Lucas Pardue) Lucas Pardue)
* h2load: Add timeout options (Patch from Nora) * h2load: Add timeout options (Patch from Nora)
- Fix typo in changelog - Fix typo in changelog
@ -1283,23 +1289,23 @@ Mon Aug 10 14:10:20 UTC 2015 - mpluskal@suse.com
* Allow multiple in-flight SETTINGS * Allow multiple in-flight SETTINGS
* Strictly check occurrence of dynamic table size update * Strictly check occurrence of dynamic table size update
* Fix configure warning that 'missing' is missing or too old * Fix configure warning that 'missing' is missing or too old
* Fix rm: cannot remove *.rst: No such file or directory when * Fix rm: cannot remove *.rst: No such file or directory when
"make clean" (Patch from Alexis La Goutte) "make clean" (Patch from Alexis La Goutte)
* doc: Reword some of the server and client tutorial (Patch * doc: Reword some of the server and client tutorial (Patch
from Tom Harwood) from Tom Harwood)
* src: Remove monotonic_clock replacement macro for gcc-4.6 * src: Remove monotonic_clock replacement macro for gcc-4.6
* nghttpx: Add TLS ticket key sharing among nghttpx instances * nghttpx: Add TLS ticket key sharing among nghttpx instances
using memcached using memcached
* nghttpx: Add shared session cache using memcached * nghttpx: Add shared session cache using memcached
* nghttpx: Set SSL/TLS session timeout to 12 hours * nghttpx: Set SSL/TLS session timeout to 12 hours
* nghttpx: Enable session resumption on HTTP/2 backend * nghttpx: Enable session resumption on HTTP/2 backend
* nghttpx: Don't rewrite host header field by default * nghttpx: Don't rewrite host header field by default
* nghttpx: Generate new ticket key every 1hr and its life time * nghttpx: Generate new ticket key every 1hr and its life time
is now 12hrs is now 12hrs
* nghttpx: Don't reuse backend connection if it is not clean * nghttpx: Don't reuse backend connection if it is not clean
* nghttpx: Add AES-256-CBC encryption for TLS session ticket * nghttpx: Add AES-256-CBC encryption for TLS session ticket
* nghttpd: Fix the bug that 304 response has non-empty body * nghttpd: Fix the bug that 304 response has non-empty body
* h2load: Add -r and -C options to h2load (Patch from * h2load: Add -r and -C options to h2load (Patch from
Nora Shoemaker) Nora Shoemaker)
- Changes for 1.1.2 - Changes for 1.1.2
* Fix linker error with libnghttp2_asio * Fix linker error with libnghttp2_asio
@ -1318,48 +1324,48 @@ Thu Jul 16 06:58:40 UTC 2015 - mpluskal@suse.com
* msvc build fixes and enchantments (Patch from Gabi Davar) * msvc build fixes and enchantments (Patch from Gabi Davar)
* Compile with IRIX gcc-4.7 (Patch from Klaus Ziegler) * Compile with IRIX gcc-4.7 (Patch from Klaus Ziegler)
* nghttp: Add --max-concurrent-streams option * nghttp: Add --max-concurrent-streams option
* nghttp: Add comment on HAR on pushed objects (Patch from * nghttp: Add comment on HAR on pushed objects (Patch from
acesso) acesso)
* nghttpx: Add --include option to read additional configuration * nghttpx: Add --include option to read additional configuration
from given file from given file
* nghttpx: Add backend routing based on request host and path by * nghttpx: Add backend routing based on request host and path by
extending -b option extending -b option
* nghttpx: Allow log variable to be enclosed by curly braces for * nghttpx: Allow log variable to be enclosed by curly braces for
disambiguation disambiguation
* nghttpx: Add log variables related to SSL/TLS connection * nghttpx: Add log variables related to SSL/TLS connection
* h2load: Add --ciphers option * h2load: Add --ciphers option
- Add patches - Add patches
* missing_nghttp2_timegm.patch to fix building of asio library * missing_nghttp2_timegm.patch to fix building of asio library
* nghttp2-remove-python-build.patch to fix python bindings * nghttp2-remove-python-build.patch to fix python bindings
installation when autotools are used installation when autotools are used
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 30 11:54:06 UTC 2015 - mpluskal@suse.com Tue Jun 30 11:54:06 UTC 2015 - mpluskal@suse.com
- Update to 1.0.5 - Update to 1.0.5
* Add STREAM_DEP_DEBUG macro switch to enable runtime validation * Add STREAM_DEP_DEBUG macro switch to enable runtime validation
of depedency tree of depedency tree
* Fix another bug in priority handling; sibling's item is not * Fix another bug in priority handling; sibling's item is not
queued when ancestor's item is detached queued when ancestor's item is detached
* nghttpx: Fix crash with --http2-bridge and both frontend and * nghttpx: Fix crash with --http2-bridge and both frontend and
backend TLS backend TLS
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 24 10:52:12 UTC 2015 - mpluskal@suse.com Wed Jun 24 10:52:12 UTC 2015 - mpluskal@suse.com
- Update to 1.0.4 - Update to 1.0.4
* Fix assertion failure in stream_update_dep_on_detach_item * Fix assertion failure in stream_update_dep_on_detach_item
(GH-264) (GH-264)
- Changes for 1.0.3 - Changes for 1.0.3
* Fix bug that idle self-depending PRIORITY is not handled * Fix bug that idle self-depending PRIORITY is not handled
gracefully gracefully
* Optimize dependency based priority code to Firefox style tree * Optimize dependency based priority code to Firefox style tree
* enable third-party for asio_lib too (Patch from Mike * enable third-party for asio_lib too (Patch from Mike
Frysinger) Frysinger)
* fetch-ocsp-response: Support LibreSSL, and include port in * fetch-ocsp-response: Support LibreSSL, and include port in
ocsp_host ocsp_host
* src: Support compile with LibreSSL * src: Support compile with LibreSSL
* nghttpx: Fix bug that x-forwarded-proto header field does not * nghttpx: Fix bug that x-forwarded-proto header field does not
reflect frontend scheme on HTTP/2 backend reflect frontend scheme on HTTP/2 backend
* nghttpx: Validate :path on SPDY frontend * nghttpx: Validate :path on SPDY frontend
@ -1367,22 +1373,22 @@ Wed Jun 24 10:52:12 UTC 2015 - mpluskal@suse.com
Tue Jun 16 08:27:32 UTC 2015 - mpluskal@suse.com Tue Jun 16 08:27:32 UTC 2015 - mpluskal@suse.com
- Update to 1.0.2 - Update to 1.0.2
* Fix bug that data are not consumed for connection in race * Fix bug that data are not consumed for connection in race
condition (GH-253) condition (GH-253)
* Define NGHTTP2_EXTERN to __declspec(dllimport) when using * Define NGHTTP2_EXTERN to __declspec(dllimport) when using
nghttp2 for Windows build nghttp2 for Windows build
* Translate fetch-ocsp-response into Python * Translate fetch-ocsp-response into Python
* libevent-client: Fix bug that path is broken if URI does not * libevent-client: Fix bug that path is broken if URI does not
contain path part contain path part
* python: Call on_close callback when connection is lost for * python: Call on_close callback when connection is lost for
server session server session
* python: Expose client certificate, if available (Patch from * python: Expose client certificate, if available (Patch from
Fabian Wiesel) Fabian Wiesel)
* python: Catch and log failure to set TCP_NODELAY (Patch from * python: Catch and log failure to set TCP_NODELAY (Patch from
Fabian Wiesel) Fabian Wiesel)
* nghttpx: Add --add-request-header option * nghttpx: Add --add-request-header option
* nghttpx: Make WebSocket upgrade work * nghttpx: Make WebSocket upgrade work
* nghttpx: Fix bug that END_STREAM is not set in backend for * nghttpx: Fix bug that END_STREAM is not set in backend for
POST with Upgrade POST with Upgrade
* nghttpx: Don't send "Expect" header field twice * nghttpx: Don't send "Expect" header field twice
@ -1390,19 +1396,19 @@ Tue Jun 16 08:27:32 UTC 2015 - mpluskal@suse.com
Mon May 25 15:13:45 UTC 2015 - mpluskal@suse.com Mon May 25 15:13:45 UTC 2015 - mpluskal@suse.com
- Update to 1.0.1 - Update to 1.0.1
* Include stdint.h instead of inttypes.h when compiled with MSVC * Include stdint.h instead of inttypes.h when compiled with MSVC
< 2013 < 2013
* Fix invalid memory free on out-of-memory handling * Fix invalid memory free on out-of-memory handling
* integration: Use our own copy of golang spdy package * integration: Use our own copy of golang spdy package
* android: Don't link zlib bundled with android NDK * android: Don't link zlib bundled with android NDK
* Dockerfile.android: Update NDK ver, and ubuntu; build and link * Dockerfile.android: Update NDK ver, and ubuntu; build and link
zlib zlib
* src, examples: Fix up OpenSSL initialization * src, examples: Fix up OpenSSL initialization
* nghttpx: Allow HTTP Upgrade from POST request if response * nghttpx: Allow HTTP Upgrade from POST request if response
header has not been sent to the client header has not been sent to the client
* nghttpx: Fix bug that PUSH_PROMISE is sent after associated * nghttpx: Fix bug that PUSH_PROMISE is sent after associated
response HEADERS response HEADERS
* nghttpd: Close connection after settings timeout and GOAWAY * nghttpd: Close connection after settings timeout and GOAWAY
was sent was sent
* h2load: Fix bug that NPN fails if ALPN is enabled * h2load: Fix bug that NPN fails if ALPN is enabled
@ -1410,8 +1416,8 @@ Mon May 25 15:13:45 UTC 2015 - mpluskal@suse.com
Thu May 21 06:50:36 UTC 2015 - mpluskal@suse.com Thu May 21 06:50:36 UTC 2015 - mpluskal@suse.com
- Update to 1.0.0 - Update to 1.0.0
* v1.0.0 introduced backward incompatible changes from 0.7 * v1.0.0 introduced backward incompatible changes from 0.7
series. Read https://nghttp2.org/documentation/package_README.html#migration-from-v0-7-15-or-earlier series. Read https://nghttp2.org/documentation/package_README.html#migration-from-v0-7-15-or-earlier
to migrate from older version to this latest version. to migrate from older version to this latest version.
- Changes for 0.7.15 - Changes for 0.7.15
* Hopefully, this is the last release for 0.7.x series. * Hopefully, this is the last release for 0.7.x series.
@ -1428,18 +1434,18 @@ Wed May 13 13:07:14 UTC 2015 - mpluskal@suse.com
- Update to 0.7.14 - Update to 0.7.14
* Fix global-buffer-overflow in HPACK code * Fix global-buffer-overflow in HPACK code
* Fix doc for nghttp2_select_next_protocol * Fix doc for nghttp2_select_next_protocol
* Fix bug that promised stream was not reset on decompression * Fix bug that promised stream was not reset on decompression
error error
* Add systemd and upstart configuration file for nghttpx * Add systemd and upstart configuration file for nghttpx
(Patch from Zhuoyun Wei) (Patch from Zhuoyun Wei)
* Improve nghttpx logrotate configuration file (Patch from * Improve nghttpx logrotate configuration file (Patch from
Zhuoyun Wei) Zhuoyun Wei)
* Update sphinx_rtd_theme * Update sphinx_rtd_theme
* h2load: Update h2load to give connect time and ttfb stats * h2load: Update h2load to give connect time and ttfb stats
(Patch from ericcarlschwartz) (Patch from ericcarlschwartz)
* nghttpd: Add -m, --max-concurrent-streams option * nghttpd: Add -m, --max-concurrent-streams option
* nghttpx: Log absolute URI for HTTP/2 or client proxy request * nghttpx: Log absolute URI for HTTP/2 or client proxy request
* nghttpx: Add --header-field-buffer and --max-header-fields * nghttpx: Add --header-field-buffer and --max-header-fields
options options
* nghttp: Fix assertion error if very large value is given to -t * nghttp: Fix assertion error if very large value is given to -t
@ -1447,38 +1453,38 @@ Wed May 13 13:07:14 UTC 2015 - mpluskal@suse.com
Fri May 1 13:47:12 UTC 2015 - mpluskal@suse.com Fri May 1 13:47:12 UTC 2015 - mpluskal@suse.com
- Update to 0.7.13 - Update to 0.7.13
* Fix bug that promised stream was not reset by returning * Fix bug that promised stream was not reset by returning
NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE from NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE from
nghttp2_on_header_callback. Instead, associated stream was reset. nghttp2_on_header_callback. Instead, associated stream was reset.
* Allow NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE from * Allow NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE from
nghttp2_on_begin_headers_callback nghttp2_on_begin_headers_callback
* h2load: Effectively disable flow control by setting large * h2load: Effectively disable flow control by setting large
window size window size
* asio: Graceful shutdown and joinable server (Patch from * asio: Graceful shutdown and joinable server (Patch from
Xiaoguang Sun) Xiaoguang Sun)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 20 08:40:33 UTC 2015 - mpluskal@suse.com Mon Apr 20 08:40:33 UTC 2015 - mpluskal@suse.com
- Update to 0.7.12 - Update to 0.7.12
* Fix bug that nghttp2_session_set_next_stream_id accepts invalid * Fix bug that nghttp2_session_set_next_stream_id accepts invalid
stream_id stream_id
* HPACK: Rewrite static header table handling * HPACK: Rewrite static header table handling
* HPACK: Never index authorization and small cookie header field * HPACK: Never index authorization and small cookie header field
* Don't install libnghttp2_asio headers if they are disabled * Don't install libnghttp2_asio headers if they are disabled
* doc: Specify program directive so that hyperlink to option is * doc: Specify program directive so that hyperlink to option is
correctly pointed to the intended location correctly pointed to the intended location
* asio: client: Call error_cb on error occurred in do_read and * asio: client: Call error_cb on error occurred in do_read and
do_write (Fixes GH-207) do_write (Fixes GH-207)
* nghttp: Add --no-push option to disable server push * nghttp: Add --no-push option to disable server push
* nghttp: Show stream ID in statistics output * nghttp: Show stream ID in statistics output
* nghttp: Remove --dep-idle option * nghttp: Remove --dep-idle option
* nghttp: Use same priority anchor nodes as Firefox does * nghttp: Use same priority anchor nodes as Firefox does
* nghttpx: Don't push resource if link header has non empty * nghttpx: Don't push resource if link header has non empty
loadpolicy loadpolicy
* nghttpx: Add logging for somewhat important events (logs, * nghttpx: Add logging for somewhat important events (logs,
tickets, and ocsp) tickets, and ocsp)
* nghttpx: Set Downstream to stream user data on HTTP Upgrade * nghttpx: Set Downstream to stream user data on HTTP Upgrade
to h2 to h2
------------------------------------------------------------------- -------------------------------------------------------------------
@ -1486,24 +1492,24 @@ Sun Apr 12 17:38:36 UTC 2015 - mpluskal@suse.com
- Update to 0.7.11 - Update to 0.7.11
* nghttpx: Fix waitpid race condition in ocsp response update * nghttpx: Fix waitpid race condition in ocsp response update
* nghttp: Consider user-provided :authority header field for SNI * nghttp: Consider user-provided :authority header field for SNI
as well as host header field as well as host header field
- Changes for 0.7.10 - Changes for 0.7.10
* Make sure that nghttp2 license is MIT license * Make sure that nghttp2 license is MIT license
* Add nghttp2_session_consume_{connection,stream} to consume * Add nghttp2_session_consume_{connection,stream} to consume
bytes independent bytes independent
* Add nghttp2_send_data_callback to send DATA payload without * Add nghttp2_send_data_callback to send DATA payload without
copying "static inline" fix for build with VS2013 (Patch from copying "static inline" fix for build with VS2013 (Patch from
Remo E) Remo E)
* Update lib/Makefile.msvc (Patch from Remo E) * Update lib/Makefile.msvc (Patch from Remo E)
* Remove dependency on libws2_32 on Windows build * Remove dependency on libws2_32 on Windows build
* Define NGHTTP2_EXTERN macro to export function for Windows * Define NGHTTP2_EXTERN macro to export function for Windows
build build
* doc: Generate API doc per function * doc: Generate API doc per function
* python: Add async body generation support * python: Add async body generation support
* python: Fix pseudo-header field ordering bug * python: Fix pseudo-header field ordering bug
* nghttpx: Redirect stderr to errorlog file * nghttpx: Redirect stderr to errorlog file
* nghttpx: Fix bug that data buffered in SSL object are not * nghttpx: Fix bug that data buffered in SSL object are not
read read
* nghttpx: Remove --tls-ctx-per-worker option * nghttpx: Remove --tls-ctx-per-worker option
* nghttpx: Add OCSP stapling feature * nghttpx: Add OCSP stapling feature
@ -1544,30 +1550,30 @@ Fri Mar 6 18:19:47 UTC 2015 - mpluskal@suse.com
Tue Mar 3 22:15:13 UTC 2015 - mpluskal@suse.com Tue Mar 3 22:15:13 UTC 2015 - mpluskal@suse.com
- Update to 0.7.5 - Update to 0.7.5
* Implements h2-14 protocol * Implements h2-14 protocol
(http://tools.ietf.org/html/draft-ietf-httpbis-http2-14) (http://tools.ietf.org/html/draft-ietf-httpbis-http2-14)
* Implements HPACK 09 * Implements HPACK 09
(http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-09) (http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-09)
* Validate HTTP semantics by default * Validate HTTP semantics by default
* Add nghttp2_option_set_no_http_messaging() API function * Add nghttp2_option_set_no_http_messaging() API function
* Update http-parser * Update http-parser
* nghttp, nghttpd, nghttpx: Use "sensitive" to indicate * nghttp, nghttpd, nghttpx: Use "sensitive" to indicate
"never indexed" header field "never indexed" header field
* nghttp, nghttpd, nghttpx, h2load: Select/announce h2 in * nghttp, nghttpd, nghttpx, h2load: Select/announce h2 in
ALPN/NPN ALPN/NPN
* nghttp: Fix unaligned field output in --stat * nghttp: Fix unaligned field output in --stat
* nghttp: Fix -H does not work with -u upgrade request * nghttp: Fix -H does not work with -u upgrade request
* nghttp: Update resource timing terminology according to * nghttp: Update resource timing terminology according to
Resource Timing TR Resource Timing TR
* nghttpd: Add -a option which takes an address parameter that * nghttpd: Add -a option which takes an address parameter that
allows nghttpd to bind to a non-default address. Patch allows nghttpd to bind to a non-default address. Patch
from Brian Card from Brian Card
* nghttpx: Use omit minor version in case of HTTP/2 in via * nghttpx: Use omit minor version in case of HTTP/2 in via
header and access log header and access log
* nghttpx: Support UNIX domain socket on both frontend and backend * nghttpx: Support UNIX domain socket on both frontend and backend
* nghttpx: Fix crash in http/1 backend when backend returns more * nghttpx: Fix crash in http/1 backend when backend returns more
bytes than CL bytes than CL
* nghttpx: Cast configuration value to rlim_t to avoid compile * nghttpx: Cast configuration value to rlim_t to avoid compile
error on 32bit error on 32bit
* nghttpx: Fix 1 second delay in HTTP/2 backend connection * nghttpx: Fix 1 second delay in HTTP/2 backend connection
* nghttpx: Fix request re-submission bug in HTTP/2 backend * nghttpx: Fix request re-submission bug in HTTP/2 backend

39
nghttp2.keyring Normal file
View File

@ -0,0 +1,39 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBEmgJCARBACDsyRcJt0cPqS5I3nooSD4ETmsqXSGoA1QP0NcD3mMDIxfwOk3
ZgaLAhQTpylqzYu4uQ5lDcvkpZtN8cA+R+9Bxq1VcY5Jra4t93Eyxd/14oufgg8w
GLZ8q2otuUliL+RWPEuuBLNJFrdHeLfITBX88ZyHz8tu0kpWBBVBLb5yYwCg3OmH
L59aPl0TIoKGIL/xYs80ixcD/3PA9z6SbChDHRKA647Smrw6QuQHl7Uubg6LYYxz
FoxeN3F/grZHNJyUzlkdraIcWWYi1Dr0D28TnuQUbPoj7ju248iPRv2ZEr7OpV9j
RksxJIBqzC698XwPuq2Jo8iBNgE2t25aY9UHXxehqg6zkyR1bdhFzDV1cEKGkU62
TAnvA/9tB77GiQ9H02oybfqYrdxrWCou3kRa7owd/tBqRMkzH4Vt86VIXwVdsMn1
sGeF4YGUqwY7GCT+jviFCdvGTRqeCJgaLJAYE8hSFIxpDTdUNxaPxwuOd3Jq5BKC
U7boXpLlAcdh47CMk4qvIDZfBb2iVjZCN1yFI9R/TCH7JCT9NLQrVGF0c3VoaXJv
IFRzdWppa2F3YSA8dGF0c3VoaXJvLnRAZ21haWwuY29tPohgBBMRAgAgBQJJoCQg
AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQfoQD1dZzw2YoTgCgmzKU0uK/
fr2nVqYondsxppQS83wAoIPlXaxcUV39DvA7/Rui6+rBNljmuQQNBEmgJCAQEADi
J5vXLb+y5g2kQApYk/iPqlJV02jHX7VJnWwivfQNq0F56TiiAZx9B6QR71pShkv8
L4FgdmuNPcxamh4LAiVsiE3lW5dnlt6cp5bmWvNOTDZIojbxSfS4ZhQmt3Ij4vJ5
fnlgUeaLDzXqeuO5ezMZvpsoBcDMvPCnv8R28JX0z1LIjA42sC85Kvd8EeB7uyGJ
q0qzU7OMP6JdxN2IwvdGiqXAAHI2KZOU9Pp4Kvg4qj8v3ELXrhlrZVye6PAmbufJ
Gdcg73EEabhoWutzt1h++qUkhzSQRUoTIqa2DWyE/bTPGlxqKgHmur5okBn5iwcr
BijhE6d8AvBqlopxyHHIEsZ4YswvLR8VcOt//aT1ArYdrxAfyjujvimoW1+gDjsA
+Hc1wlrYW6uLgHwFIzQFOi4Yt/+hw26dlqJhO9pnK8vwpPsMnvkfHQx5A7EeZhpN
g1YIDhPEO+RSk81Gs0Y1xzJjLulncxlzprX6xmyZK/B2dQZy4XFl5K02Q7Zas++x
z70JvwOC8kDu117jb3QtersJHt09SGywCrkaU6P8+iKxPd2PEwaPWKqu4n7IpLZu
2Kg5GXO1h80fqhPSRJGbj5a6YVvfVHoRPaUL34Y4yYPxPVxjpgYR6ohhhoyURA4w
+qkhugcbYM9/wQTbwhgLc5mG62bq+WVkhehaGFOCwwADBRAAkzofRfa6dNtZC8kp
4bTmTydRCRrAAjUvCtRNL+PjB6JpTsIru/w6dR2i3TYDnUOBNkvVLUNG+Sk6fsR2
CcEefsa4AQwRb8G33FATsewFbImSrBNT9R5hr+hR33XWxo0KAcXrucnaboidQOBK
lDD0SEC6eBexVXa4/h9qum4Qmj0u9XBBqMqEOJY/Mao5SJ8EWZV+UAszgJdmHDvq
s9+1425NuzuG9/KQzx/5wWjQmtAHikE/oFQ1RZ3hWxRpe4YmsrKQuVqwHRfIjCrB
MdBteldVr4NN0eUqfnrXgTpInXSsUstDr1/04u2Q3+spQUjJOcZ+IluPLfr12EAH
UKc9/2CT6cLmBVEl2s2PijC5EoxH3UA2KkxcxBy5LleKvF5FZ3MHbXaj2RLMLBlW
aGhlFF2H85EEmq73Ex5ncLPT4BW2rHrkwdUOOXCN8riUZr42E3K+GTyfGyRbU9Ar
MBP62ytvamwBO9O+E6sJCVraoho4a2ERORh5PQzEot1Tmyf4u6AQf1+JVMn2yThc
ilRKWD1Q/AfEAibVbPANkXXjX5pZkIRc1Eunq5afYf2ixyS96RSjc6EZ+euaaaFC
96+MdDtlycafZIXYNgiNkrrm8mzPCb2i8tmF9aPnGYBknsnFLlda3Zz4afFDKyLN
LYRvqAujonL+HBOLW2InmeD5p6SISQQYEQIACQUCSaAkIAIbDAAKCRB+hAPV1nPD
ZqpZAJ9Kw73IdA3hw+wQEen991bFlMzHfQCgtG/GMjXB246Qt9XPVvToTSFJQPo=
=2agh
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -18,8 +18,6 @@
%global soname libnghttp2 %global soname libnghttp2
%global sover 14 %global sover 14
%global soname_asio libnghttp2_asio
%global sover_asio 1
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
Name: nghttp2 Name: nghttp2
Version: 1.57.0 Version: 1.57.0
@ -28,14 +26,13 @@ Summary: Implementation of Hypertext Transfer Protocol version 2 in C
License: MIT License: MIT
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://nghttp2.org/ URL: https://nghttp2.org/
Source: https://github.com/nghttp2/nghttp2/releases/download/v%{version}/nghttp2-%{version}.tar.xz Source0: https://github.com/nghttp2/nghttp2/releases/download/v%{version}/nghttp2-%{version}.tar.xz
Source1: baselibs.conf Source1: https://github.com/nghttp2/nghttp2/releases/download/v%{version}/nghttp2-%{version}.tar.xz.asc
BuildRequires: autoconf Source2: nghttp2.keyring
BuildRequires: automake Source3: baselibs.conf
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libboost_system-devel BuildRequires: libboost_system-devel
BuildRequires: libboost_thread-devel BuildRequires: libboost_thread-devel
BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(cunit) BuildRequires: pkgconfig(cunit)
@ -100,7 +97,6 @@ HTTP/2 client, server and proxy.
sed -i -e 's:#!%{_bindir}/env python:#!%{_bindir}/python3:g' script/fetch-ocsp-response sed -i -e 's:#!%{_bindir}/env python:#!%{_bindir}/python3:g' script/fetch-ocsp-response
%build %build
autoreconf -fiv
%configure \ %configure \
--disable-static \ --disable-static \
--disable-silent-rules \ --disable-silent-rules \
@ -112,7 +108,7 @@ autoreconf -fiv
%make_install %make_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
# Do not ship theis # Do not ship this
rm -rf %{buildroot}%{_datadir}/doc/nghttp2 rm -rf %{buildroot}%{_datadir}/doc/nghttp2
# None of applications using these man pages are built. # None of applications using these man pages are built.
@ -120,8 +116,7 @@ rm -rf %{buildroot}%{_mandir}/man1/* \
doc/manual/html/.buildinfo doc/manual/html/.buildinfo
%check %check
# One test fails if python-sphinx is not present %make_build check
%make_build check ||:
%ldconfig_scriptlets -n %{soname}-%{sover} %ldconfig_scriptlets -n %{soname}-%{sover}