Closed mdegat01 closed 2 years ago
Oh, yeah. @sylloger, we can't use a module replacement, because module replacements are not looked at when another module is the main module. https://github.com/mholt/caddy-ratelimit/pull/8 introduced an issue.
Updated go.mod and tested with xcaddy that it builds for me successfully :+1:
Just built successfully as well. Thanks!
Made a clean container from the image
golang:1.18.1-alpine3.15
and added xcaddy 0.3.0 to it. Then I tried to run the following command:It errors out with the following:
The complete output of this command can be found here.
One thing I notice looking through it is that it appears getting this package forces an upgrade of
github.com/lucas-clemente/quic-go
tov0.27.0
. And I don't see a downgrade back tov0.26.0
later as this line suggests should happen. I'm not sure why that would be but I know from https://github.com/caddyserver/xcaddy/issues/99 that Caddy v2.5.0 is not compatible with quic v0.27.0 so that seems to be the problem.