为什么tcpdump显示有效载荷的最大长度为4096字节?
我刚刚创建了一个示例Web服务器和客户端,我想在POST请求(Localhost)中观察两者之间的数据包。我在使用tcpdump时注意到的是,当我发送一个大请求主体时,tcpdump显示最大长度为4096的段。我不确定这是否与TCPDUMP或TCP有关,但是当我发现TCP包的有效载荷长度可以是65535字节,我真的不明白为什么它被切成这么多小块。不像这是一个问题,我真的很好奇,没有找到有关此的任何可用信息。
提前致谢!
I just created a sample web server and client, and I wanted to observe the packets between the two in a POST request (localhost). What I noticed while using tcpdump, is that when I send a large request body, tcpdump shows segments with length 4096 max. I'm not sure if this has something to do with tcpdump or TCP should work like this, but as I found the payload length for a TCP packet can be 65535 bytes, and I can't really understand why Is it chopped into so many little chunks. Not like It is a problem, I'm just genuinely curious and did not found any usable information about this.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论