mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-28 02:49:02 +02:00
simplify write buffer
This commit is contained in:
@ -363,11 +363,7 @@ impl<H: HttpHandler + 'static> Entry<H> {
|
||||
EntryPipe::Error(Pipeline::error(HttpResponse::NotFound()))
|
||||
}),
|
||||
payload: psender,
|
||||
stream: H2Writer::new(
|
||||
resp,
|
||||
settings.get_shared_bytes(),
|
||||
Rc::clone(settings),
|
||||
),
|
||||
stream: H2Writer::new(resp, Rc::clone(settings)),
|
||||
flags: EntryFlags::empty(),
|
||||
recv,
|
||||
}
|
||||
|
Reference in New Issue
Block a user