Consider h2 a valid NPN protocol

This commit is contained in:
Laine Gholson 2015-12-12 20:07:24 -06:00
parent 3d28f44e56
commit e8b04c77d3

View File

@ -2465,7 +2465,7 @@ run_spdy() {
ret=1
else
# now comes a strange thing: "Protocols advertised by server:" is empty but connection succeeded
if echo $tmpstr | egrep -aq "spdy|http" ; then
if echo $tmpstr | egrep -aq "h2|spdy|http" ; then
out "$tmpstr"
outln " (advertised)"
ret=0