nghttp: Adjust header size for CONTINUATION test
This commit is contained in:
parent
3312df42d2
commit
31d99b3664
|
@ -1013,7 +1013,7 @@ int submit_request
|
||||||
{"accept-encoding", "gzip, deflate"},
|
{"accept-encoding", "gzip, deflate"},
|
||||||
{"user-agent", "nghttp2/" NGHTTP2_VERSION}};
|
{"user-agent", "nghttp2/" NGHTTP2_VERSION}};
|
||||||
if(config.continuation) {
|
if(config.continuation) {
|
||||||
for(size_t i = 0; i < 8; ++i) {
|
for(size_t i = 0; i < 6; ++i) {
|
||||||
build_headers.emplace_back("continuation-test-" + util::utos(i+1),
|
build_headers.emplace_back("continuation-test-" + util::utos(i+1),
|
||||||
std::string(4096, '-'));
|
std::string(4096, '-'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue