1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +01:00

set tcp-keepalive for test as well

This commit is contained in:
Nikolay Kim 2018-10-01 22:25:53 -07:00
parent c674ea9126
commit 368f73513a

View File

@ -1039,6 +1039,7 @@ fn test_custom_pipeline() {
StreamConfiguration::new() StreamConfiguration::new()
.nodelay(true) .nodelay(true)
.tcp_keepalive(Some(time::Duration::from_secs(10)))
.and_then(HttpService::new(settings)) .and_then(HttpService::new(settings))
}).unwrap() }).unwrap()
.run(); .run();