Index: net/third_party/nss/ssl/ssl.h |
diff --git a/net/third_party/nss/ssl/ssl.h b/net/third_party/nss/ssl/ssl.h |
index 719425704c225bef1ffd582be589d92065396222..53810f7e12366e4d4d6bf416b0394ac3b95f387e 100644 |
--- a/net/third_party/nss/ssl/ssl.h |
+++ b/net/third_party/nss/ssl/ssl.h |
@@ -208,6 +208,10 @@ SSL_IMPORT SECStatus SSL_SetNextProtoCallback(PRFileDesc *fd, |
* uses ALPN to select a protocol, SSL_GetNextProto will return |
* SSL_NEXT_PROTO_SELECTED as the state. |
* |
+ * Since NPN uses the first protocol as the fallback protocol, when sending an |
+ * ALPN extension, the first protocol is moved to the end of the list. This |
+ * indicates that the protocol is the least preferred. |
wtc
2013/08/06 18:08:56
Nit: the protocol => the fallback protocol ?
We s
|
+ * |
* The supported protocols are specified in |data| in wire-format (8-bit |
* length-prefixed). For example: "\010http/1.1\006spdy/2". */ |
SSL_IMPORT SECStatus SSL_SetNextProtoNego(PRFileDesc *fd, |