Skip to content

8.2.0 with nghttp2 now requires nghttp2 1.15.0 #11470

@pghmcfc

Description

@pghmcfc

I did this

Tried to build curl 8.2.0 with nghttp2 support on Fedora 25 with nghttp2 1.13.0

I expected the following

Successful build, as usual.

curl/libcurl version

8.2.0

operating system

Fedora Linux 25

Build fails like this:

../../lib/http2.c: In function 'on_stream_frame':
../../lib/http2.c:1010:23: error: implicit declaration of function 'nghttp2_session_get_stream_local_window_size' [-Werror=implicit-function-declaration]
       int32_t wsize = nghttp2_session_get_stream_local_window_size(
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

The nghttp2_session_get_stream_local_window_size function was added in nghttp2 version 1.15.0 (https://github.com/nghttp2/nghttp2/releases/tag/v1.15.0). The configure script is checking for nghttp2_session_set_local_window_size, which according to the comment in the configure script, was introduced in version 1.12.0. So it would seem that checking for the "get" function instead of the "set" function would fix this, at the expense of disabling nghttp2 support in Fedora 25.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions