【协议】HTTP协议、HTTPS和HTTP2.0

1. HTTP的三次握手和四次挥手
1.1 建立连接-三次握手

SYN seq=x(client -> sever)

SYN seq=y ACK=x+1(server -> client)

ACK=y+1(client -> server)

1.2 断开连接-四次挥手

FIN seq=x+2 ACK=y+1(client -> server)

ACK=x+3(server -> client)

FIN seq=y+1(server -> client)

ACK=y+2(client -> server)

你可能感兴趣的:(前端开发,http,https,网络)