Git Product home page Git Product logo

Comments (5)

dtikhonov avatar dtikhonov commented on May 18, 2024 1

By default, the client uses the highest QUIC version, which is ID-22 or ID-23, depending on the library version you have. www.google.com does not speak this version yet and there is no version negotiation between IETF and Google QUIC (at least it's not supported in the client). Using -o version=Q046 options, you select a version which the Google website does support.

from lsquic.

dtikhonov avatar dtikhonov commented on May 18, 2024 1

The errors you reported earlier:

23:16:32.478 [INFO] sendto failed: Operation not permitted
23:16:32.478 [DEBUG] cannot send: register on_write event

are likely unrelated to the version problem.

from lsquic.

dtikhonov avatar dtikhonov commented on May 18, 2024

The following works for me on Ubuntu 14:

docker run -it --rm lsquic http_client -s www.google.com -M HEAD -p / -o version=Q046

from lsquic.

centminmod avatar centminmod commented on May 18, 2024

this works

http_client -s www.google.com -M HEAD -p / -o version=Q046
HTTP/1.1 200 OK
date: Wed, 18 Sep 2019 18:09:48 GMT
expires: -1
cache-control: private, max-age=0
content-type: text/html; charset=ISO-8859-1
p3p: CP="This is not a P3P policy! See g.co/p3phelp for more info."
server: gws
x-xss-protection: 0
x-frame-options: SAMEORIGIN
set-cookie: 1P_JAR=2019-09-18-18; expires=Fri, 18-Oct-2019 18:09:48 GMT; path=/; domain=.google.com; SameSite=none
set-cookie: NID=188=IaODhxOd3qVnNei0GPaklMcSc5Ww8cDKCmBWm4APgvg6xKZzIgbt0CLIhu0J9TmfAOUCXH440qB4wqW1E0zOSM9IZ2pUVdNSVRHCzxJdv2_JPHQCfDGO38whdjbSlPYMnH1FUyRe-LWuTZOtxVONbstvAsjBoLKUP9hLTwdk0Zw; expires=Thu, 19-Mar-2020 18:09:48 GMT; path=/; domain=.google.com; HttpOnly
alt-svc: quic=":443"; ma=2592000; v="46,43,39"
accept-ranges: none
vary: Accept-Encoding

this doesn't - incorrect syntax ? as it just hangs there without returning to command prompt

http_client -s www.google.com  -p /

from lsquic.

centminmod avatar centminmod commented on May 18, 2024

thanks for the clarification :)

from lsquic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.