# # basic http/2 compatibility test # INCLUDE scripts/ports #EXEC ./ctl.sh restart -D h2 >/dev/null CLIENT 2 _LOOP 100 _EXPECT EXEC "ALPN, server accepted to use h2" _EXPECT EXEC "HTTP/2 confirmed" _EXPECT EXEC "Static Page" _EXPECT EXEC "" _EXEC ./bin/curl -v --http2 --insecure https://server1:${QS_PORT_BASE2}/static.html 2>&1 _END LOOP _EXPECT EXEC "GET /static.html HTTP/2" _EXEC tail -5 logs/access_log END CLIENT _SLEEP 9000 _REQ localhost $QS_PORT_BASE __GET /qos?auto HTTP/1.1 __Host: localhost __Connection: keep-alive __ _EXPECT . "QS_AllConn: 1" _EXPECT . "QS_LocRequestLimitMatch;2../cgi2/...: 0" _EXPECT . "QS_LocRequestLimitMatch;2../htt/limit2/...: 0" _EXPECT . "QS_LocRequestLimitMatch;200../index.html.: 0" _EXPECT . "QS_SrvMaxConn;[0-9]+\[\]: 1" _EXPECT . "QS_SrvMaxConnClose;[0-9]+\[\]: 1" _WAIT END #BLOCK FINALLY #_EXEC ./ctl.sh restart 2>/dev/null 1>/dev/null #END