mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
d463598c09
Prior to this commit, the `ExchangeFilterFunction` instances configured on a `WebClient` instance would be executed as soon as the `exchange` method would be called. This behavior is not consistent with the server side and can confuse filter developers as they'd need to manually `Mono.defer()` their implementations if they want to record metrics. This commit defers all `ExchangeFilterFunction` processing at subscription time. Fixes gh-22375