Lines Matching full:alpn
124 alpn = 1
151 // negotiate a next protocol via NPN or ALPN.
356 if (test.expectedNextProtoType == alpn) != connState.NegotiatedProtocolFromALPN {
1562 "-advertise-alpn", "\x03foo",
1583 "-advertise-alpn", "\x03foo",
1733 "-advertise-alpn", "\x03foo",
1768 "-advertise-alpn", "\x03foo",
1787 "-advertise-alpn", "\x03foo",
1806 "-advertise-alpn", "\x03foo",
2926 // Client does False Start and negotiates ALPN.
2928 name: "FalseStart-ALPN",
2938 "-advertise-alpn", "\x03foo",
2955 "-advertise-alpn", "\x03foo",
3363 "-advertise-alpn", "\x03foo\x03bar\x03baz",
3364 "-expect-alpn", "foo",
3367 expectedNextProtoType: alpn,
3377 "-expect-advertised-alpn", "\x03foo\x03bar\x03baz",
3378 "-select-alpn", "foo",
3381 expectedNextProtoType: alpn,
3384 // Test that the server prefers ALPN over NPN.
3392 "-expect-advertised-alpn", "\x03foo\x03bar\x03baz",
3393 "-select-alpn", "foo",
3397 expectedNextProtoType: alpn,
3410 "-expect-advertised-alpn", "\x03foo\x03bar\x03baz",
3411 "-select-alpn", "foo",
3415 expectedNextProtoType: alpn,
3425 // A server returning an empty ALPN protocol
3431 "-advertise-alpn", "\x03foo",
3440 // A ClientHello containing an empty ALPN protocol
3445 "-select-alpn", "foo",
3450 // Test that negotiating both NPN and ALPN is forbidden.
3460 "-advertise-alpn", "\x03foo",
3476 "-advertise-alpn", "\x03foo",
3657 "-select-alpn", "foo",