Skip to content

bump: github.com/quic-go/quic-go to v0.53.0#312

Closed
IceCodeNew wants to merge 1 commit intomasterfrom
bump-quic-go
Closed

bump: github.com/quic-go/quic-go to v0.53.0#312
IceCodeNew wants to merge 1 commit intomasterfrom
bump-quic-go

Conversation

@IceCodeNew
Copy link
Collaborator

@IceCodeNew IceCodeNew commented Jun 30, 2025

fix #311

@mholt
Copy link
Owner

mholt commented Jun 30, 2025

Thanks for the PR -- looks like the tests might also need to be updated in order to be passing. I don't have a chance to look into it at the moment but we could probably merge this when they pass.

@IceCodeNew
Copy link
Collaborator Author

I will fix the test this weekend since I’m on holiday. 😊

@IceCodeNew IceCodeNew marked this pull request as draft July 1, 2025 04:21
@jurekl
Copy link

jurekl commented Jul 9, 2025

Hi,
Is there any serious reason preventing the implementation of this PR?
Thank you and best regards.

@mholt
Copy link
Owner

mholt commented Jul 9, 2025

Yes, a timeout during matching is a concerning test failure.

@IceCodeNew
Copy link
Collaborator Author

Sorry for taking back my words. Just did not foresee the workloads piling up while I am taking the vacation...
Hopefully, I will get this done this weekend :-(

@IceCodeNew
Copy link
Collaborator Author

I need some help here.
It seems that test cases with ALPN specified (m2, m3) will somehow fail at

qConn, err = qListener.Accept(qContext)

I tried to put the qListener.Accept() function in a loop, as the documents suggested, but no luck here.

@mholt
Copy link
Owner

mholt commented Jul 14, 2025

Still a bit swamped here -- I know @marten-seemann is too, but he might be able to help quicker since he understands the updated APIs, which I still haven't had a chance to look into 🙈

@marten-seemann
Copy link

What's the failure? All I see is a test timeout.

@marten-seemann
Copy link

You might want to try updating in smaller increments. You're going from v0.44.0 to v0.53.0. A lot has changed between these releases, and figuring out which release causes the failure would help us narrow down what could be going wrong here.

@manselmi
Copy link

FYI Caddy has since bumped quic-go to v0.54.0.

@manselmi
Copy link

Hi, how has this been going?

@jurekl
Copy link

jurekl commented Aug 1, 2025

I don't think it bothers anyone too much...

@manselmi
Copy link

manselmi commented Aug 3, 2025

I don't think it bothers anyone too much...

It's unfortunate that I can't use caddy-l4 with caddy master, which has incorporated a fix for #7109: http.request placeholders not resolved in of header directive.

@marten-seemann
Copy link

@manselmi This is an open source project, why don’t you contribute the respective code?

@manselmi
Copy link

manselmi commented Aug 3, 2025

@marten-seemann I would if I knew how. Not a Go dev.

@IceCodeNew
Copy link
Collaborator Author

I am having vacation now. I expect to do the bi-selection in the middle of the month to pinpoint the exact version that breaks the test cases.
Hopefully, I could get some insight into this problem after locating the smelly commit.

@vnxme
Copy link
Collaborator

vnxme commented Aug 6, 2025

Hi there, I've investigated the issue with l4quic matcher and quic-go dependency, and it has 2 implications:

  1. The matcher has a bug when it comes to the moment it tries to close quic.EarlyListener which makes the tests fail if we upgrade dependenices (go v1.24, caddyserver/caddy v2.10.0, quic-go v0.51.1). I will submit a fix and an upgrade PR soon.
  2. The quic-go has its syntax changed from v0.51.1 to v0.54.0: quic.EarlyListener.Accept now returns *quic.Conn instead of quic.EarlyConnection. However, we can't update the matcher and modify caddy-l4 go.mod to use the newest quic-go unless the mainline Caddy requiring this quic-go (v0.54.0) is released (since it uses quic.EarlyConnection as well). This prevents automatic builds with Caddy master.

@vnxme
Copy link
Collaborator

vnxme commented Aug 6, 2025

Actually, we can resolve the issue with building against Caddy master by means of referring to a pseudo-version. Credits to @IceCodeNew for this brilliant idea shown in this PR.

@IceCodeNew IceCodeNew closed this Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

caddy-l4 doesn't build with latest caddy master branch

6 participants