jilen
jilen
There is a property `io.netty.allocator.useCacheForAllThreads` which is default true. You might take a look at it.
It is done automatically, you could test it against https://httpbin.org/#/Response_formats/get_gzip
I suggest rename `statefulMap` to `mapAccumulate`. `Stateful` in `akka-stream` seems indicates param is not a pure function, which is not very like the `State` in this pr.
Might related to #10936, service will be unavailable if (response)payload gets more larger.
@mkurz That setting has nothing to do with body parser. But both body parser and result simply depens on `Accumulator`. So I suspect the two issue might be related.
@Centaur I think I could do this. Because I use `sbt-native-packager` heavily in our private `play` projects
Those fibers exists even no http request has been sent, don't know what those fibers are.
Or at lease keep the last stack trace element
@tbinna `Circe` trait is basically for `Controller`, `BodyWritable` instances seems should be also available somewhere else
@romanskie I think it would be better not casting to `StandaloneAhcWSResponse` but relies on `WSResponse`.