<div dir="ltr"><div>When client uses CONNECT directive I understand that proxy establishes tunnel to destination host on specified port </div><div></div><div></div><div><br></div><div>
e.g. </div><div><a href="http://www.example.com:8888/test.php">http://www.example.com:8888/test.php</a></div><div>
<a href="https://www.example.com:8888/test.php">https://www.example.com:8888/test.php</a> <br></div><div><br></div><div></div><div>1. I don't understand if this occurs both in presence of http and https requests, The request (using CONNECT method) can be http or https ?
<br></div><div>2. if In both cases CONNECT method is invoked but how I can discover protocol (http, https) looking for inside access.log ? <br></div><div style="margin-left:40px">A.B.C.D TCP_TUNNEL/200 7085 CONNECT <a href="http://mtalk.google.com:5228">mtalk.google.com:5228</a> - HIER_DIRECT/<a href="http://142.251.18.188">142.251.18.188</a></div><div style="margin-left:40px"><br></div><div style="margin-left:40px">I see only info about destination host and port but no http/https protocol is referenced.</div><div style="margin-left:40px"><br></div><div style="margin-left:40px"><br></div></div>