acl/lib_acl_cpp/samples/aio/http_aclient_ssl/valgrind.sh

22 lines
642 B
Bash
Executable File

#!/bin/sh
valgrind --show-reachable=yes --tool=memcheck --leak-check=yes -v ./http_aclient_ssl -s www.iqiyi.com:443 -H www.iqiyi.com -S ./libpolarssl.so
echo ""
echo ""
sleep 2
valgrind --show-reachable=yes --tool=memcheck --leak-check=yes -v ./http_aclient_ssl -s www.baidu.com:443 -H www.baidu.com -S ./libpolarssl.so
echo ""
echo ""
sleep 2
valgrind --show-reachable=yes --tool=memcheck --leak-check=yes -v ./http_aclient_ssl -s www.iqiyi.com:80 -H www.iqiyi.com
echo ""
echo ""
sleep 2
valgrind --show-reachable=yes --tool=memcheck --leak-check=yes -v ./http_aclient_ssl -s www.baidu.com:80 -H www.baidu.com
echo ""
echo ""
sleep 2