|
5#
楼主 |
发表于 2024-8-24 17:16:12
|
只看该作者
本帖最后由 cdmmye 于 2024-8-24 17:27 编辑
经过测试,这个浏览器的代理就是个错误的东西,没有正确的完整路径,代理已经写好了,路径不完整导致无法回复客户
例如我访问的是 "https://bbs.voldp.com/forum-2-1.html"
而代理收到的报文却是 报文 Host 路径不完整
CONNECT bbs.voldp.com:443 HTTP/1.1
Host: bbs.voldp.com:443
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0
就是建立的通信,也会报400 错误代表路径错误
HTTP/1.1 400 Bad Request
Server: nginx
Date: Sat, 24 Aug 2024 09:21:53 GMT
Content-Type: text/html
Content-Length: 150
Connection: close
正确报文应该是
CONNECT https://bbs.voldp.com/forum-2-1.html:443 HTTP/1.1
Host: bbs.voldp.com:443
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0
总结,这个浏览器的代理就是个多余的
|
|