spring-security/rsocket/src
Josh Cummings b189e0370a
PayloadInterceptorRSocket retains all payloads
Flux#skip discards its corresponding elements, meaning that they
aren't intended for reuse. When using RSocket's ByteBufPayloads,
this means that the bytes are releaseed back into RSocket's pool.

Since the downstream request may still need the skipped payload,
we should construct the publisher in a different way so as to
avoid the preemptive release.

Deferring Spring JavaFormat to clarify what changed.

Closes gh-9345
2021-06-04 13:45:30 -06:00
..
main/java/org/springframework/security/rsocket PayloadInterceptorRSocket retains all payloads 2021-06-04 13:45:30 -06:00
test/java/org/springframework/security/rsocket PayloadInterceptorRSocket retains all payloads 2021-06-04 13:45:30 -06:00