docs: Fix default value for HttpServer backlog (#3987)

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

The default value has been changed from 2048 to 1024 in
eae48f9612.

Co-authored-by: Romain Roffé <r2@kyber.media>
This commit is contained in:
Romain Roffé 2026-03-27 12:05:18 +01:00 committed by GitHub
parent b9d3adfa4d
commit 25c5b5c4cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 {