h2load: Fix npn defualt list
This commit is contained in:
parent
03b32d92b7
commit
b57b0db5bf
|
@ -1232,11 +1232,11 @@ benchmarking tool for HTTP/2 and SPDY server)" << std::endl;
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
constexpr char DEFAULT_NPN_LIST[] = "h2,h2-16,h2-14,"
|
constexpr char DEFAULT_NPN_LIST[] = "h2,h2-16,h2-14"
|
||||||
#ifdef HAVE_SPDYLAY
|
#ifdef HAVE_SPDYLAY
|
||||||
"spdy/3.1,spdy/3,spdy/2"
|
",spdy/3.1,spdy/3,spdy/2"
|
||||||
#endif // HAVE_SPDYLAY
|
#endif // HAVE_SPDYLAY
|
||||||
"http/1.1";
|
",http/1.1";
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -1303,8 +1303,8 @@ Options:
|
||||||
out << R"(
|
out << R"(
|
||||||
Available protocols: )";
|
Available protocols: )";
|
||||||
#endif // !HAVE_SPDYLAY
|
#endif // !HAVE_SPDYLAY
|
||||||
out << NGHTTP2_CLEARTEXT_PROTO_VERSION_ID << R"( and )" << NGHTTP2_H1_1
|
out << NGHTTP2_CLEARTEXT_PROTO_VERSION_ID << R"( and
|
||||||
<< R"(
|
)" << NGHTTP2_H1_1 << R"(
|
||||||
Default: )" << NGHTTP2_CLEARTEXT_PROTO_VERSION_ID << R"(
|
Default: )" << NGHTTP2_CLEARTEXT_PROTO_VERSION_ID << R"(
|
||||||
-d, --data=<PATH>
|
-d, --data=<PATH>
|
||||||
Post FILE to server. The request method is changed to
|
Post FILE to server. The request method is changed to
|
||||||
|
|
Loading…
Reference in New Issue