diff --git a/core/src/main/scala/com.snowplowanalytics.snowplow.collector.core/HttpServer.scala b/core/src/main/scala/com.snowplowanalytics.snowplow.collector.core/HttpServer.scala index fe9cb9f7d..8d35d2562 100644 --- a/core/src/main/scala/com.snowplowanalytics.snowplow.collector.core/HttpServer.scala +++ b/core/src/main/scala/com.snowplowanalytics.snowplow.collector.core/HttpServer.scala @@ -61,10 +61,6 @@ object HttpServer { .withHttpApp(httpApp) .withIdleTimeout(networking.idleTimeout) .withMaxConnections(networking.maxConnections) - .withLengthLimits( - maxRequestLineLen = networking.maxRequestLineLength, - maxHeadersLen = networking.maxHeadersLength - ) .cond(secure, _.withSslContext(SSLContext.getDefault)) .resource