diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2022-09-28 13:35:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 13:35:51 -0600 |
commit | e3e8aabbcf65d37516bb97f9dc0f77df52f8cf55 (patch) | |
tree | a7f50b045ab2b526d0f1dc83f9a8adbd502f5d14 /modules/standard | |
parent | d0556929a4a574ea67be4c1ca2a2741b0f7a52c2 (diff) |
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
Diffstat (limited to 'modules/standard')
0 files changed, 0 insertions, 0 deletions