mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-30 19:29:02 +00:00
Remove FIXME on retain in ReactorServerHttpRequest
The converters release so this is the right thing to do, not a temporary fix.
This commit is contained in:
+1
-3
@@ -89,9 +89,7 @@ public class ReactorServerHttpRequest extends AbstractServerHttpRequest {
|
||||
|
||||
@Override
|
||||
public Flux<DataBuffer> getBody() {
|
||||
return this.channel.receive()
|
||||
.retain() //FIXME Rogue reference holding
|
||||
.map(dataBufferFactory::wrap);
|
||||
return this.channel.receive().retain().map(this.dataBufferFactory::wrap);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user