如何在 IPv6 中使用 h2load?

How to use h2load with IPv6?

提问人:Yogendiran Barath 提问时间:11/16/2023 更新时间:11/16/2023 访问量:8

问:

我正在尝试对托管在 IPv6 网络中的服务器进行基准测试。 每当我在浏览器中访问 IP 时,我都会得到正确的响应,但我无法对 h2load 执行相同的操作,因为它会抛出 <400 错误请求>

h2load -c1 -n1 -t1 https://[::1]

这是我用来向 Apache 服务器发送 h2load 请求的命令。但它抛出以下错误

HTTP/1.1 400 Bad Request
Date: Thu, 16 Nov 2023 07:59:59 GMT
Server: Apache/2.4.52 (Ubuntu)
Content-Length: 310
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.4.52 (Ubuntu) Server at your_domain_or_ip Port 443</address>
</body></html>

finished in 5.87ms, 170.42 req/s, 0B/s
requests: 1 total, 1 started, 1 done, 0 succeeded, 1 failed, 0 errored, 0 timeout
status codes: 0 2xx, 0 3xx, 1 4xx, 0 5xx
SSL 基准测试 IPv6 NGHTTP2

评论


答: 暂无答案