Skip to content

Commit 82a51c9

Browse files
vjkoskelaBrandonArp
authored andcommitted
Remove Http Server Content Length Restriction (#138)
* Lift restrictions on the Akka HTTP server content-length in the default config. * Update config.conf Reference: https://doc.akka.io/docs/akka-http/current/configuration.html
1 parent c007854 commit 82a51c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/config.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,10 @@ akkaConfiguration {
2828
stdout-loglevel="DEBUG"
2929
logging-filter="akka.event.slf4j.Slf4jLoggingFilter"
3030
actor.debug.unhandled="on"
31+
32+
# MAD is effectively a single client service and so a client sending large payloads is
33+
# only going to impact its own ability to accept and aggregate samples. However, if you
34+
# have misbehaving clients or running a multi-tenant setup, you can rachet this down.
35+
http.server.parsing.max-content-length="infinite"
3136
}
3237
}

0 commit comments

Comments
 (0)