-
-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Description
In the context of thechangelog/pipely#46, I came across the following issue in oha 1.12.1
oha -n 10 --no-tui --http2 --host cdn.changelog.com https://changelog.com/
# ...
Status code distribution:
[421] 10 responses ❌ RESPONSE STATUS SHOULD BE 404
Without the --http2 flag, it works as expected:
oha -n 10 --no-tui --host cdn.changelog.com https://changelog.com/
# ...
Status code distribution:
[404] 10 responses ✅ STATUS CODE IS 404, AS EXPECTED
The above makes me suspect that --host flag has no effect when used in combination with the --http2 flag.
As a workaround, I changed all benchmarks to use HTTP 1.1.
Big fan of hey @hatoo , thank you for building such an awesome TUI-based HTTP bench tool 🙏
Related to:
Metadata
Metadata
Assignees
Labels
No labels