1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-28 02:49:02 +02:00

separate mod for HttpHandler; add HttpHandler impl for Vec<H>

This commit is contained in:
Nikolay Kim
2018-09-09 18:06:00 -07:00
parent 6f3e70a92a
commit dbb4fab4f7
6 changed files with 204 additions and 93 deletions

View File

@ -370,7 +370,7 @@ impl<H: HttpHandler + 'static> Entry<H> {
// start request processing
let task = match settings.handler().handle(msg) {
Ok(task) => EntryPipe::Task(task),
Err(msg) => EntryPipe::Error(ServerError::err(
Err(_) => EntryPipe::Error(ServerError::err(
Version::HTTP_2,
StatusCode::NOT_FOUND,
)),