mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-12 04:25:09 -05:00
Updated according to spdylay_select_next_protocol change
This commit is contained in:
parent
14ac6f8ca8
commit
2c5c60b752
@ -431,7 +431,7 @@ int select_next_proto_cb(SSL* ssl,
|
|||||||
std::cout << std::endl;
|
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;
|
std::cerr << "Server did not advertise spdy/2 protocol." << std::endl;
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user