Merge pull request #19 from Kait0/master

Added a Note to EXAMPLES.txt that tells users that google has differe…
This commit is contained in:
LiteSpeed Tech 2018-04-23 11:16:01 -04:00 committed by GitHub
commit f5f72ede17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,9 @@ Fetch Google's home page:
./http_client -H www.google.co.uk -s 2a00:1450:4009:80c::2003:443 -p / ./http_client -H www.google.co.uk -s 2a00:1450:4009:80c::2003:443 -p /
NOTE: If you do not get a response from the google server the ip-adress might be wrong. Google.com has different ip-adresses in different regions and if you are using an ip adress from a wrong region the server won't respond.
You can find out the correct ip-adress by visiting google.com in your browser using an add-on that shows you the ip-adress for example.
In the example above, -H specifies the domain; it is also used as the value In the example above, -H specifies the domain; it is also used as the value
of SNI paramater in the handshake. of SNI paramater in the handshake.