From 4d80a26188c1adfd070392ef27798b9178987a88 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 12 Dec 2012 23:28:32 +0900 Subject: [PATCH] spdycat: Log error when no supported SPDY version was negotiated --- src/spdycat.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spdycat.cc b/src/spdycat.cc index 719631ad..b65f7599 100644 --- a/src/spdycat.cc +++ b/src/spdycat.cc @@ -507,6 +507,7 @@ int communicate(const std::string& host, uint16_t port, reinterpret_cast(next_proto.c_str()), next_proto.size()); if (spdy_version <= 0) { + std::cerr << "No supported SPDY version was negotiated." << std::endl; return -1; }