acl/lib_acl_cpp/samples/aio/http_aclient_ssl/t.sh
shuxin   zheng be1ff25ee1 test mbedtls
2019-12-20 15:08:36 +08:00

44 lines
977 B
Bash
Executable File

#!/bin/sh
./http_aclient_ssl -s www.iqiyi.com:443 -H www.iqiyi.com -S ./libpolarssl.so -N 8.8.8.8:53
echo ""
echo ""
sleep 2
./http_aclient_ssl -s www.baidu.com:443 -H www.baidu.com -S ./libpolarssl.so -N 8.8.8.8:53
echo ""
echo ""
sleep 2
./http_aclient_ssl -s www.iqiyi.com:80 -H www.iqiyi.com -N 8.8.8.8:53
echo ""
echo ""
sleep 2
./http_aclient_ssl -s www.baidu.com:80 -H www.baidu.com -N 8.8.8.8:53
echo ""
echo ""
sleep 2
./http_aclient_ssl -s www.baidu.com:80 -H www.baidu.com -D -Z -U -N 8.8.8.8:53
echo ""
echo ""
sleep 2
./http_aclient_ssl -s www.baidu.com:443 -H www.baidu.com -D -Z -U -S ./libpolarssl.so -N 8.8.8.8:53
echo ""
echo ""
./http_aclient_ssl -s www.iqiyi.com:443 -H www.iqiyi.com -D -Z -U -S ./libpolarssl.so -N 8.8.8.8:53
echo ""
echo ""
sleep 2
./http_aclient_ssl -s 127.0.0.1:8885 -D -W
echo ""
echo ""
./http_aclient_ssl -s echo.websocket.org:443 -H echo.websocket.org -D -Z -U -S ../libmbedtls_all.dylib -N 8.8.8.8:53
echo ""
echo ""