1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-07-01 16:55:08 +02:00

add trust-dns optional feature for actix-http and awc (#1969)

This commit is contained in:
fakeshadow
2021-02-09 02:41:20 -08:00
committed by GitHub
parent dddb623a11
commit 519d7f2b8a
8 changed files with 98 additions and 15 deletions

View File

@ -968,12 +968,6 @@ where
InternalError::new(err, StatusCode::NETWORK_AUTHENTICATION_REQUIRED).into()
}
#[cfg(feature = "actors")]
/// Returns [`StatusCode::INTERNAL_SERVER_ERROR`] for [`actix::MailboxError`].
///
/// This is only supported when the feature `actors` is enabled.
impl ResponseError for actix::MailboxError {}
#[cfg(test)]
mod tests {
use super::*;