Matt Holt

Results 1992 comments of Matt Holt

It sounds like you are looking for the PROXY protocol _matcher_? https://github.com/mholt/caddy-l4/blob/master/modules/l4proxyprotocol/matcher.go

Thanks for breaking that down and running some experiments. Sounds like we could tweak our implementation of default_sni/fallback_sni, but yeah... otherwise I'd say the other tooling can get their act...

The problem with that is it requires expensive DNS lookups in a hot path.

That may be fine; PRs welcome.

At this very early stage in the project's development (it doesn't even have any tags yet, right?), I would just go ahead and make the changes you need to. It's...

Ah, yeah, that's tricky. Cleanup probably needs to be given a separate, [uncanceled context](https://pkg.go.dev/context#WithoutCancel), but we have to really trust that it won't take long to run. Maybe we could...

It's unexported to avoid it being changed, etc. If you have such an advanced use case that you need to remove certs from the cache, why not just make your...

I guess we could consider putting RemoveManaged() onto the Config instead of the cache... hmm, I'll look into it. > But maybe I'm doing this all wrong. In my case...

Hm, I see. I'll look into refactoring this when I have a chance :+1:

I'm sure it could be added. Thanks for the suggestion!