From 18577e1e7543545a71a0a1ca9d1f0b3fa7b74991 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Wed, 8 May 2024 11:35:06 +0100 Subject: [PATCH] Rely on NIO defaults for child maxMessagePerRead --- Sources/HummingbirdCore/Server/Server.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/HummingbirdCore/Server/Server.swift b/Sources/HummingbirdCore/Server/Server.swift index 5d9a44ec2..a3d758f7c 100644 --- a/Sources/HummingbirdCore/Server/Server.swift +++ b/Sources/HummingbirdCore/Server/Server.swift @@ -244,7 +244,6 @@ public actor Server: Service { .serverChannelOption(ChannelOptions.backlog, value: numericCast(configuration.backlog)) .serverChannelOption(ChannelOptions.socketOption(.so_reuseaddr), value: configuration.reuseAddress ? 1 : 0) .childChannelOption(ChannelOptions.socketOption(.so_reuseaddr), value: configuration.reuseAddress ? 1 : 0) - .childChannelOption(ChannelOptions.maxMessagesPerRead, value: 1) .childChannelOption(ChannelOptions.allowRemoteHalfClosure, value: true) }