gpt4 book ai didi

wireshark - 为什么 Wireshark 报告我的 HTTP/1.1 连接正在发出 HTTP/2 RESET_STREAM 命令?

转载 作者:行者123 更新时间:2023-12-02 22:35:08 24 4
gpt4 key购买 nike

我有一个客户端和服务器都使用 HTTP/1.1。经过几次 HTTP/1.1 交换后,Wireshark 识别出一个 RESET_STREAM 类型的 HTTP2 命令(来自客户端),其错误代码为“未知”。

我怀疑 Wireshark 错误地从我的 HTTP/1.1 连接的二进制数据负载(由 Content-Length header 控制)解析此 HTTP2“消息”。然而,事实上我的 HTTP/1.1 session 在这个特定环境中没有按预期进行,这让我想知道发生了什么?

如有任何想法或评论,我们将不胜感激。

最佳答案

针对 Wireshark ( Bug 10335 - 1.12.0 does not dissect HTTP correctly ) 提交的错误描述:

Both the client and the server listed their HTTP version as 1.1 in their http.request.version headers.

...

290 packets are listed as HTTP2

这表明 HTTP/2 帧的启发式检测存在一个已知问题。部分修复引入了一种禁用 HTTP/2 检测的方法。

关于wireshark - 为什么 Wireshark 报告我的 HTTP/1.1 连接正在发出 HTTP/2 RESET_STREAM 命令?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25735809/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com