From 09ba2e8c78c40a5180068f5b45129774bcc31fff Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 9 Dec 2013 21:12:09 +0900 Subject: [PATCH] nghttp: Ensure that all settings can be encoded in settings_payload --- src/nghttp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nghttp.cc b/src/nghttp.cc index 9d09ec0e..bdaf9e3b 100644 --- a/src/nghttp.cc +++ b/src/nghttp.cc @@ -457,7 +457,7 @@ struct HttpClient { // received. It is not relevant the upgrade succeeds, or not. bool upgrade_response_complete; // SETTINGS payload sent as token68 in HTTP Upgrade - uint8_t settings_payload[16]; + uint8_t settings_payload[128]; HttpClient(const nghttp2_session_callbacks* callbacks, event_base *evbase, SSL_CTX *ssl_ctx)