mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-24 00:10:12 +00:00
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)
|
||||
* {
|
||||
* 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;
|
||||
* }
|
||||
|
Loading…
Reference in New Issue
Block a user