nghttpx: Disable spdy/3 and spdy/2 by default

This commit is contained in:
Tatsuhiro Tsujikawa 2014-11-14 23:16:06 +09:00
parent d98e9a63d0
commit 5ce8ae79f0
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ bool conf_exists(const char *path)
namespace { namespace {
const char *DEFAULT_NPN_LIST = NGHTTP2_PROTO_VERSION_ID "," const char *DEFAULT_NPN_LIST = NGHTTP2_PROTO_VERSION_ID ","
#ifdef HAVE_SPDYLAY #ifdef HAVE_SPDYLAY
"spdy/3.1,spdy/3,spdy/2," "spdy/3.1,"
#endif // HAVE_SPDYLAY #endif // HAVE_SPDYLAY
"http/1.1"; "http/1.1";
} // namespace } // namespace