Comments (5)
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.
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.
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.
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.
thanks for the clarification :)
from lsquic.
Related Issues (20)
- ECN mirroring can differ between mini_conn and full_conn HOT 2
- Import lsquic to cmake project
- How to resolve error in v2.8.9 ? HOT 1
- How to use the connection migration
- Compilation error
- inexplicable packet loss with loopback communication
- failed to build on windows HOT 1
- QLOG
- Support for Wordpress.com HOT 1
- Failed to build on linux
- consider building and pushing interop runner image in CI HOT 1
- `Make` Failed In Ubuntu(VMware) HOT 3
- Whether there are plans to support FEC or mutipath HOT 1
- Conan Support
- h3 do not send CONNECTION_CLOSE frame on lossy connections HOT 4
- any safeguard against http2 rapid reset? HOT 1
- fail to compile with errors inside ubuntu 22.04 docker HOT 1
- using master version of boringssl and lsquic, handshake failed (unknown library) HOT 1
- how to close http mode HOT 2
- Docker build fail with boringssl errror
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsquic.