File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ # Unreleased
9+
10+ ## Fixed
11+
12+ - ` on_eos ` is now called even for successful responses. ([ #580 ] )
13+
14+ [ #580 ] : https://github.com/tower-rs/tower-http/pull/580
15+
816# 0.6.6
917
1018## Fixed
Original file line number Diff line number Diff line change 8080 let res = res. map ( |body| ResponseBody {
8181 inner : body,
8282 classify_eos : None ,
83- on_eos : None ,
83+ on_eos : on_eos . zip ( Some ( Instant :: now ( ) ) ) ,
8484 on_body_chunk,
8585 on_failure : Some ( on_failure) ,
8686 start,
You can’t perform that action at this time.
0 commit comments