我如何使用 lsquic(LiteSpeed QUIC 和 HTTP/3 库)?
How do I use lsquic (LiteSpeed QUIC and HTTP/3 library)?
https://github.com/litespeedtech/lsquic
我想实施 lsquic。在自述文件中设置后,我应该如何从客户端向服务器发送数据并跟踪网络流量?对于设置,我是否只按照三个步骤,安装 BoringSSL、LSQUIC 然后 docker?只需复制并粘贴终端中的命令就可以了吗?
错误信息:
CMake Error: The current CMakeCache.txt directory /src/lsquic/CMakeCache.txt is different than the directory /Users/nini/Development/lsquic/boringssl/lsquic where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
The command '/bin/sh -c cd /src/lsquic && cmake -DBORINGSSL_DIR=/src/boringssl . && make' returned a non-zero code: 1
(base) pc-68-32:lsquic nini$ sudo docker run -it --rm lsquic http_client -s www.google.com -p / -o version=Q046
Password:
Unable to find image 'lsquic:latest' locally
docker: Error response from daemon: pull access denied for lsquic, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
您可以使用 docker 和 然后 运行 构建 lsquic(由于“无法找到”错误,我认为您没有构建docker 图片)。为此,git 克隆(仅)lsquic 存储库,并 运行 标题为“使用 Docker 构建”部分中给出的命令。 docker 构建将 (o.a.) 下载 boringssl 并构建它,所以你不必自己做,然后它会为你构建 lsquic。
https://github.com/litespeedtech/lsquic 我想实施 lsquic。在自述文件中设置后,我应该如何从客户端向服务器发送数据并跟踪网络流量?对于设置,我是否只按照三个步骤,安装 BoringSSL、LSQUIC 然后 docker?只需复制并粘贴终端中的命令就可以了吗? 错误信息:
CMake Error: The current CMakeCache.txt directory /src/lsquic/CMakeCache.txt is different than the directory /Users/nini/Development/lsquic/boringssl/lsquic where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
The command '/bin/sh -c cd /src/lsquic && cmake -DBORINGSSL_DIR=/src/boringssl . && make' returned a non-zero code: 1
(base) pc-68-32:lsquic nini$ sudo docker run -it --rm lsquic http_client -s www.google.com -p / -o version=Q046
Password:
Unable to find image 'lsquic:latest' locally
docker: Error response from daemon: pull access denied for lsquic, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
您可以使用 docker 和 然后 运行 构建 lsquic(由于“无法找到”错误,我认为您没有构建docker 图片)。为此,git 克隆(仅)lsquic 存储库,并 运行 标题为“使用 Docker 构建”部分中给出的命令。 docker 构建将 (o.a.) 下载 boringssl 并构建它,所以你不必自己做,然后它会为你构建 lsquic。