initial commit

This commit is contained in:
2025-08-05 15:53:44 +08:00
commit 09dc02ae52
553 changed files with 137665 additions and 0 deletions

16
third_party/libhv/scripts/check.sh vendored Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
SCRIPT_DIR=$(cd `dirname $0`; pwd)
ROOT_DIR=${SCRIPT_DIR}/..
cd ${ROOT_DIR}
bin/httpd -c etc/httpd.conf -s restart -d
ps aux | grep httpd
HTTPS=`netstat -atn | grep 8443 | wc -l`
bin/http_client_test
bin/curl -v http://127.0.0.1:8080/
if [ $HTTPS -gt 0 ]; then
bin/curl -v https://127.0.0.1:8443/
fi
bin/wrk -c 100 -t 2 -d 10s http://127.0.0.1:8080/ping