mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-20 04:35:38 +02:00
listen method has different signature
This commit is contained in:
@@ -67,7 +67,7 @@ impl TestServer {
|
|||||||
let local_addr = tcp.local_addr().unwrap();
|
let local_addr = tcp.local_addr().unwrap();
|
||||||
|
|
||||||
Server::build()
|
Server::build()
|
||||||
.listen("test", tcp, factory)
|
.listen("test", tcp, factory)?
|
||||||
.workers(1)
|
.workers(1)
|
||||||
.disable_signals()
|
.disable_signals()
|
||||||
.start();
|
.start();
|
||||||
|
Reference in New Issue
Block a user