Update documentation for spdylay_select_next_protocol.
This commit is contained in:
parent
4e085a21ea
commit
cee79961f6
|
@ -786,7 +786,7 @@ int spdylay_submit_goaway(spdylay_session *session, uint32_t status_code);
|
||||||
* void *arg)
|
* void *arg)
|
||||||
* {
|
* {
|
||||||
* if (spdylay_select_next_protocol(out, outlen, in, inlen) == 1) {
|
* if (spdylay_select_next_protocol(out, outlen, in, inlen) == 1) {
|
||||||
* ((MyType*)arg)->spdy = 1;
|
* ((MyType*)arg)->spdy_version = spdylay_npn_get_version(*out, *outlen);
|
||||||
* }
|
* }
|
||||||
* return SSL_TLSEXT_ERR_OK;
|
* return SSL_TLSEXT_ERR_OK;
|
||||||
* }
|
* }
|
||||||
|
|
Loading…
Reference in New Issue