v10.1.5
10.1.5 is the sixth release in the 10.1.x series of Akka HTTP.
It is mainly a mitigation for the DoS vulnerability when using decodeRequest
Migration Notes
To avoid excessive memory usage we introduced two new limits that apply per default:
akka.http.routing.decode-max-size: This limit applies when you usedecodeRequestto limit the amount of decompressed data. The default limit is 8 megabytes.akka.http.parsing.max-to-strict-bytes: This limit applies when you useHttpEntity.toStrictor thetoStrictEntitydirective (and related directives). It will only collect up to the given amount data and fail otherwise. The default limit is 8 megabytes.
Depending on your application requirements, you may want to change these settings.
Changes since 10.1.4
For a full overview you can also see the 10.1.5 milestone:
- Restrict the maximum size of a request entity after uncompressing it with
decodeRequest#2137 - Restrict the maximum size of a request entity when reading it into memory with
toStrict#2186 - Correctly set a default
parallelismvalue when none is specified for HTTP/2 #2165 - Avoid matching an empty pattern when using
PathMatcher.repeat#2097 - Add
ServerSentEvent.heartbeat()to the Java DSL #2187