plugin/quic: fix the documented worker_pool_size default (#8658)

The README states the worker pool defaults to 512, but the server sizes it
from DefaultQUICStreamWorkers, which is 1024. Update the documented default
and the example that repeats it.

man/coredns-quic.7 is generated from this README by Makefile.doc at release
time, so it still carries the stale number.

Signed-off-by: yuwk <1729065730@qq.com>
This commit is contained in:
ump45nose
2026-10-21 09:11:46 +08:00
committed by GitHub
parent eff4aa54c1
commit 52056e5e8a

View File

@@ -22,11 +22,11 @@ quic {
* `max_streams` limits the number of concurrent QUIC streams per connection. This helps prevent DoS attacks where an attacker could open many streams on a single connection, exhausting server resources. The default value is 256 if not specified.
* `max_connections` limits the number of concurrent QUIC connections accepted by the server. The default value is 200 if not specified. Connections above the configured limit are rejected. Set to 0 to disable the CoreDNS connection limit.
* `worker_pool_size` defines the size of the worker pool for processing QUIC streams across all connections. The default value is 512 if not specified. This limits the total number of concurrent streams that can be processed across all connections.
* `worker_pool_size` defines the size of the worker pool for processing QUIC streams across all connections. The default value is 1024 if not specified. This limits the total number of concurrent streams that can be processed across all connections.
## Examples
Enable DNS-over-QUIC with default settings (256 concurrent streams per connection, 200 concurrent connections, 512 worker pool size):
Enable DNS-over-QUIC with default settings (256 concurrent streams per connection, 200 concurrent connections, 1024 worker pool size):
```
quic://.:8853 {