From 34e119fde2742441eb14400343f761cd3e3f6d59 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 29 Mar 2013 22:16:50 +0900 Subject: [PATCH] shrpx: Remove useless backend spdy version check It is unnecessary because spdy version at this point is always valid. --- src/shrpx.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/shrpx.cc b/src/shrpx.cc index a750ad84..2d185b94 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -909,14 +909,6 @@ int main(int argc, char **argv) mod_config()->downstream_proto = PROTO_HTTP; } - if(mod_config()->downstream_proto == PROTO_SPDY && - mod_config()->spdy_downstream_no_tls && - mod_config()->spdy_downstream_version == 0) { - LOG(FATAL) << "--backend-spdy-no-tls: Specify backend SPDY protocol using" - << " --backend-spdy-proto"; - exit(EXIT_FAILURE); - } - if(!get_config()->client_mode && !get_config()->spdy_upstream_no_tls) { if(!get_config()->private_key_file || !get_config()->cert_file) { print_usage(std::cerr);