第一、HTTP请求的过程介绍
1、DNS解析域名
2、请求从Clinet路由至Server,Clinet与Server建立TCP连接
3、如果使用了HTTPS,还涉及SSL连接的建立
4、server开始准备数据..., SFTP, SMB, SMBS, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT,...FTP uploading, HTTP form based upload, proxies, HTTP/2, cookies, user+password authentication (Basic...稳定版为7.55.1(截止20170817)
源代码:https://github.com/curl/curl
第三:用CURL检测Clinet侧发起的HTTP请求各阶段时间,简要说明
?...参考:
https://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
下面是我学习了上文博客,自己做的一个测试:
curl -o /dev/null -s