Commit e1b8317a authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Strip version number from server header field

parent ea67864e
......@@ -1444,8 +1444,7 @@ void fill_default_config(Config *config) {
#endif // !OPENSSL_1_1_API
auto &httpconf = config->http;
httpconf.server_name =
StringRef::from_lit("nghttpx nghttp2/" NGHTTP2_VERSION);
httpconf.server_name = StringRef::from_lit("nghttpx");
httpconf.no_host_rewrite = true;
httpconf.request_header_field_buffer = 64_k;
httpconf.max_request_header_fields = 100;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment