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:
@ -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,
|
||||
)),
|
||||
|
Reference in New Issue
Block a user