Restconf compile warnings and docs

This commit is contained in:
Olof hagsand 2022-05-02 10:28:24 +02:00
parent 5551d753ef
commit 463aa15544
6 changed files with 9 additions and 9 deletions

View file

@ -939,7 +939,8 @@ int
http2_send_server_connection(restconf_conn *rc)
{
int retval = -1;
nghttp2_settings_entry iv[1] = {{NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS, 100}};
nghttp2_settings_entry iv[2] = {{NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS, 100}
,{NGHTTP2_SETTINGS_ENABLE_PUSH, 0}};
nghttp2_error ngerr;
if ((ngerr = nghttp2_submit_settings(rc->rc_ngsession,