httpd
2019-05-28 14:51:20 0 举报
http服务流程架构三次握手等
作者其他创作
大纲/内容
3.缓存中是否存在
SYN/ACK
GET /LoginRequst login page
服务器首部
存在
服务端
Sever
ACK
Client
5.创建响应
User LoginURL
SYN
ESTABLISHED
主体
1.接收报文
6.发送响应
4.是否缓存失效
302Set auth cookie & redirect
200Send main app page
Login failed attemptthrottle next retry
客户端
User::get()bcrypt(Post Password)check hashes
GET/(with auth cookie in header)request main app page
200Send login page
200Send login page with error
Server
2.对报文进行解析
auth success
loop
缓存
POST /login(username:password)request login page
Enter user/passwordsend
else
0 条评论
下一页