docs: Fix default value for HttpServer backlog

HttpServer::new() initialize backlog to 1024 instead of 2048.

The default value has been changed from 2048 to 1024 in
eae48f9612.
This commit is contained in:
Romain Roffé 2026-03-27 09:37:21 +01:00
parent b9d3adfa4d
commit 0b3e4b8267
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ where
/// results in the client getting an error when attempting to connect. It should only affect
/// servers under significant load.
///
/// Generally set in the 642048 range. Default value is 2048.
/// Generally set in the 642048 range. Default value is 1024.
///
/// This method will have no effect if called after a `bind()`.
pub fn backlog(mut self, backlog: u32) -> Self {