1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 19:47:43 +02:00

rename Server => ServerHandler (#407)

This commit is contained in:
Rob Ede
2021-11-01 23:36:51 +00:00
committed by GitHub
parent 1c8fcaebbc
commit 581e599209
10 changed files with 96 additions and 81 deletions

View File

@ -170,7 +170,7 @@ async fn test_max_concurrent_connections() {
// Set a relative higher backlog.
.backlog(12)
// max connection for a worker is 3.
.maxconn(max_conn)
.max_concurrent_connections(max_conn)
.workers(1)
.disable_signals()
.bind("test", addr, move || {