Skip to content

Commit

Permalink
fix: GET ipinfo.io instead of github.com
Browse files Browse the repository at this point in the history
Signed-off-by: spencercjh <spencercjh@gmail.com>
  • Loading branch information
spencercjh committed Dec 31, 2024
1 parent 481f277 commit 2a3fcc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testdata/test_filter_by_comm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ function test_filter_by_client_comm() {
# client start after kyanos
timeout 40 ${CMD} watch --debug-output http --comm https-request 2>&1 | tee "${AFTER_LNAME}" &
sleep 10
timeout 30 ./testdata/https-request/https-request 'http://github.com' 40 &
timeout 30 ./testdata/https-request/https-request 'http://ipinfo.io' 40 &
wait

cat "${AFTER_LNAME}"
cat "${AFTER_LNAME}" | grep "Host: github.com" | grep "\\[side\\]=client"
cat "${AFTER_LNAME}" | grep "Host: ipinfo.io" | grep "\\[side\\]=client"
}

function main() {
Expand Down

0 comments on commit 2a3fcc8

Please sign in to comment.