Remove proxy method on request (#220)
This commit is contained in:
committed by
GitHub
parent
d6f31ebb52
commit
920eccf37a
@@ -330,7 +330,7 @@ impl<R: Read + Sized + Into<Stream>> PoolReturnRead<R> {
|
||||
stream.reset()?;
|
||||
|
||||
// insert back into pool
|
||||
let key = PoolKey::new(&unit.url, unit.req.proxy());
|
||||
let key = PoolKey::new(&unit.url, unit.req.agent.config.proxy.clone());
|
||||
unit.req.agent.state.pool.add(key, stream);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user