mirror of
https://github.com/curl/curl.git
synced 2026-07-24 15:17:15 +03:00
http2: build with current nghttp2 version
nghttp2 has yet again extended its callback struct and this is an attempt to make curl compile with nghttp2 from current git
This commit is contained in:
parent
bd248a0b80
commit
53f1f4a18e
1 changed files with 3 additions and 0 deletions
|
|
@ -376,6 +376,9 @@ static const nghttp2_session_callbacks callbacks = {
|
|||
on_unknown_frame_recv, /* nghttp2_on_unknown_frame_recv_callback */
|
||||
on_begin_headers, /* nghttp2_on_begin_headers_callback */
|
||||
on_header /* nghttp2_on_header_callback */
|
||||
#if NGHTTP2_VERSION_NUM >= 0x000400
|
||||
, NULL /* nghttp2_select_padding_callback */
|
||||
#endif
|
||||
};
|
||||
|
||||
static ssize_t data_source_read_callback(nghttp2_session *session,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue