在PSH之前很久,收到ACK

时间:2015-05-14 19:58:23

标签: google-chrome http tcp package handshake

我有一个客户端和一个服务器,并且存在一个问题,我将在数据包交换后指定。

注意:服务器提供带有图像的html文件

> SYN
< SYN, ACK
> ACK
> PSH, ACK (request of html file)
< PSH, ACK (html file)
> ACK
< FIN, ACK

这一切都很好,但现在客户端想要html文件中的图像,所以它启动一个新的TCP握手:

> SYN
< SYN, ACK
> ACK
delay of over 4 seconds here
> PSH, ACK (request of image)
< PSH, ACK (image)
> ACK
< FIN, ACK

客户端正在使用谷歌浏览器。由于客户端等待很长时间发送PSH,ACK,html页面的请求需要1400ms,然而图像的请求最多需要8000ms。

为什么需要这么长时间?是由于铬还是外部的东西?

0 个答案:

没有答案
相关问题