Compare commits

...

2 Commits

Author SHA1 Message Date
LBS 2117d062b7
Merge branch 'main' into feat-files-array-support 2026-03-28 19:41:05 +08:00
Romain Roffé 25c5b5c4cf
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>
2026-03-27 11:05:18 +00:00
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 {