Update awc/src/response.rs

Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
fakeshadow 2021-03-24 03:55:54 -07:00 committed by GitHub
parent ea0a56e74d
commit 5fab77f42c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -228,8 +228,7 @@ impl<S> fmt::Debug for ClientResponse<S> {
}
}
// Default ReadBody limit.
const BODY_LIMIT: usize = 1024 * 2 * 1024;
const DEFAULT_BODY_LIMIT: usize = 1024 * 2 * 1024;
/// Future that resolves to a complete HTTP message body.
pub struct MessageBody<S> {