Skip to content

Commit

Permalink
Clean up response extensions in response pool actix#817
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed May 3, 2019
1 parent 6e00eef commit fc19ce4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions actix-http/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changes

## [0.1.5] - 2019-05-xx

### Fixed

* Clean up response extensions in response pool #817


## [0.1.4] - 2019-04-24

### Added
Expand Down
1 change: 1 addition & 0 deletions actix-http/src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ impl BoxedResponsePool {
fn release(&self, msg: Box<ResponseHead>) {
let v = &mut self.0.borrow_mut();
if v.len() < 128 {
msg.extensions.borrow_mut().clear();
v.push(msg);
}
}
Expand Down

0 comments on commit fc19ce4

Please sign in to comment.