caddy/modules
Matt Holt e3e8aabbcf
core: Refactor and improve listener logic (#5089)
* core: Refactor, improve listener logic

Deprecate:
- caddy.Listen
- caddy.ListenTimeout
- caddy.ListenPacket

Prefer caddy.NetworkAddress.Listen() instead.

Change:
- caddy.ListenQUIC (hopefully to remove later)
- caddy.ListenerFunc signature (add context and ListenConfig)

- Don't emit Alt-Svc header advertising h3 over HTTP/3

- Use quic.ListenEarly instead of quic.ListenEarlyAddr; this gives us
more flexibility (e.g. possibility of HTTP/3 over UDS) but also
introduces a new issue:
https://github.com/lucas-clemente/quic-go/issues/3560#issuecomment-1258959608

- Unlink unix socket before and after use

* Appease the linter

* Keep ListenAll
2022-09-28 13:35:51 -06:00
..
caddyevents events: Make event data exported 2022-09-19 16:20:58 -06:00
caddyhttp core: Refactor and improve listener logic (#5089) 2022-09-28 13:35:51 -06:00
caddypki core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00
caddytls core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00
filestorage httpcaddyfile: Minor fixes to parsing storage options 2020-05-01 09:34:32 -06:00
logging logging: Fix cookie filter (#4943) 2022-08-08 19:11:02 -06:00
metrics core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00
standard events: Implement event system (#4912) 2022-08-31 15:01:30 -06:00