Commit 4b4a0f74 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpd: GOAWAY if SSL/TLS requirements for HTTP/2 are not met

parent fe4efb0a
......@@ -710,6 +710,10 @@ int Http2Handler::connection_made() {
ev_timer_start(sessions_->get_loop(), &settings_timerev_);
if (!nghttp2::ssl::check_http2_requirement(ssl_)) {
terminate_session(NGHTTP2_INADEQUATE_SECURITY);
}
return on_write();
}
......
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