Skip to content
New issue

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

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

Already on GitHub? # to your account

Ability to pass "--protocol http2" to cloudflared #38

Open
1 task
lephuongbg opened this issue Mar 20, 2024 · 4 comments
Open
1 task

Ability to pass "--protocol http2" to cloudflared #38

lephuongbg opened this issue Mar 20, 2024 · 4 comments

Comments

@lephuongbg
Copy link

Describe the feature

The default quic protocol that cloudflared uses doesn't work reliably.

As a workaround, we usually pass --protocol http2 to cloudflared to instruct it to use http2 for tunneling instead.

Would be great if we can do the same thing with untun CLI. It's a great wrapper and simplify thing a lot comparing to using cloudflared manually.

Additional information

  • Would you be willing to help implement this feature?
@TheAlexLichter
Copy link
Member

TheAlexLichter commented Dec 14, 2024

Let's track in #48 to support any kind of extra args

@TheAlexLichter TheAlexLichter closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2024
@pi0 pi0 reopened this Dec 15, 2024
@pi0
Copy link
Member

pi0 commented Dec 15, 2024

(reopening because while a generic 1-1 mapping might make sense as a feature, untun is still an abstraction helper. not essentially wrapper to cloudflare workers in the future)

@TheAlexLichter
Copy link
Member

@pi0 wanna close #48 then instead or allow both?

@pi0
Copy link
Member

pi0 commented Dec 16, 2024

both are valid imo :) -- like any other unjs layer, we prefer and provide abstraction (this issue) + full control (other issue) over lower layer for advanced/fine-gained custom needs abstraction might not cover.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants