Commit 2c5c60b7 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Updated according to spdylay_select_next_protocol change

parent 14ac6f8c
......@@ -431,7 +431,7 @@ int select_next_proto_cb(SSL* ssl,
std::cout << std::endl;
}
}
if(spdylay_select_next_protocol(out, outlen, in, inlen) == -1) {
if(spdylay_select_next_protocol(out, outlen, in, inlen) != 1) {
std::cerr << "Server did not advertise spdy/2 protocol." << std::endl;
abort();
}
......
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