Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention GODEBUG usage to enforce HTTP/1 #664

Open
mstoykov opened this issue May 10, 2022 · 0 comments
Open

Mention GODEBUG usage to enforce HTTP/1 #664

mstoykov opened this issue May 10, 2022 · 0 comments
Assignees
Labels
Area: OSS Content Improvements or additions to community/oss documentation

Comments

@mstoykov
Copy link
Contributor

mstoykov commented May 10, 2022

After grafana/k6#2222 k6 now supports a way to enforce HTTP/1 using GODEBUG=http2client=0 k6 run script.js or the corresponding way for windows.

This isn't documented anywhere and we do get questions about it and it's also sometimes requires for people using NTLM and servers who let them upgrade to HTTP2 but require NTLM 🤦

I am not certain to what extent we also don't want to mark this with a warning that we might break it for future APIs.

edit: this does not work in the cloud as you can not set GODEBUG for the whole process. And that is unlikely to change.
Support for cloud will need to wait for the new HTTP API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: OSS Content Improvements or additions to community/oss documentation
Projects
None yet
Development

No branches or pull requests

3 participants