mirror of
https://github.com/moparisthebest/curl
synced 2024-10-31 15:45:12 -04:00
http2: adjust to new nghttp2_pack_settings_payload proto
This function was modified in nghttp2 git commit a1c3f89c72e51
This commit is contained in:
parent
c639d725a3
commit
2481ac358c
@ -155,7 +155,9 @@ CURLcode Curl_http2_request(Curl_send_buffer *req,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* this returns number of bytes it wrote */
|
/* this returns number of bytes it wrote */
|
||||||
binlen = nghttp2_pack_settings_payload(binsettings, settings,
|
binlen = nghttp2_pack_settings_payload(binsettings,
|
||||||
|
sizeof(binsettings),
|
||||||
|
settings,
|
||||||
sizeof(settings)/sizeof(settings[0]));
|
sizeof(settings)/sizeof(settings[0]));
|
||||||
if(!binlen) {
|
if(!binlen) {
|
||||||
failf(conn->data, "nghttp2 unexpectedly failed on pack_settings_payload");
|
failf(conn->data, "nghttp2 unexpectedly failed on pack_settings_payload");
|
||||||
|
Loading…
Reference in New Issue
Block a user