mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 17:07:01 +02:00
Fix Client Request with custom Body Stream halting on certain size requests #176
This commit is contained in:
@@ -61,6 +61,10 @@ impl HttpClientWriter {
|
||||
self.buffer.take();
|
||||
}
|
||||
|
||||
pub fn is_completed(&mut self) -> bool {
|
||||
self.buffer.is_empty()
|
||||
}
|
||||
|
||||
// pub fn keepalive(&self) -> bool {
|
||||
// self.flags.contains(Flags::KEEPALIVE) &&
|
||||
// !self.flags.contains(Flags::UPGRADE) }
|
||||
|
Reference in New Issue
Block a user