From 515c893cdac14b28075e61b1135ffb61c6ca5a3b Mon Sep 17 00:00:00 2001 From: Damjan Georgievski Date: Sat, 10 Dec 2022 02:11:05 +0100 Subject: [PATCH] nghttp2: 1.49.0 -> 1.51.0 fixes `curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)` when `curl https://www.nginx.com/` Changes: * https://nghttp2.org/blog/2022/09/21/nghttp2-v1-50-0/ > This release adds nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation > which disables checking leading and trailing white spaces against HTTP field value. * https://nghttp2.org/blog/2022/11/13/nghttp2-v1-51-0/ --- pkgs/development/libraries/nghttp2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/nghttp2/default.nix b/pkgs/development/libraries/nghttp2/default.nix index 8e3264dcbc51..f118467b56cf 100644 --- a/pkgs/development/libraries/nghttp2/default.nix +++ b/pkgs/development/libraries/nghttp2/default.nix @@ -31,11 +31,11 @@ assert enableJemalloc -> enableApp; stdenv.mkDerivation rec { pname = "nghttp2"; - version = "1.49.0"; + version = "1.51.0"; src = fetchurl { url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2"; - sha256 = "sha256-LNTbfXX3FJQVMknL6UoJLaTG7NdCQPirGM9kTZ1l9u4="; + sha256 = "sha256-6z6m9bYMbT7b8GXgT0NOjtYpGlyxoHkZxBcwqx/MAOA="; }; outputs = [ "bin" "out" "dev" "lib" ]