mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 00:50:20 +02:00
optimize Request handling
This commit is contained in:
@@ -212,8 +212,8 @@ impl<H> WorkerSettings<H> {
|
||||
self.bytes.release_bytes(bytes)
|
||||
}
|
||||
|
||||
pub fn get_request_context(&self) -> Request {
|
||||
self.messages.get()
|
||||
pub fn get_request(&self) -> Request {
|
||||
RequestPool::get(self.messages)
|
||||
}
|
||||
|
||||
pub fn add_channel(&self) {
|
||||
|
Reference in New Issue
Block a user