Skip to content

Make a QUIC optout tag to build without QUIC support #8801

Open
@Jorropo

Description

@Jorropo

Checklist

  • My issue is specific & actionable.
  • I am not suggesting a protocol enhancement.
  • I have searched on the issue tracker for my issue.

Description

As some of you know the QUIC lib we use do some unsafe magic to edit private fields of structs in the crypto golang std libs.
That because the golang crypto libs are not exposing TLS details that you need to change if you do custom stuff.

To do that the quic lib (and transport by extension) are gated to specific golang versions because if the struct internally changed, the offsets or logic need to be manually updated.

I'm using the go1.19 branch from time to time and get tired to patch out the same 4 lines of code over and over.
If I could do:

go build -tags=noQUIC .

My life would be easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low: Not priority right nowkind/enhancementA net-new feature or improvement to an existing featurestatus/deferredConscious decision to pause or backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions