Skip to content

Commit

Permalink
Rely on NIO defaults for child maxMessagePerRead
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored May 8, 2024
1 parent 3531f5c commit 18577e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/HummingbirdCore/Server/Server.swift
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ public actor Server<ChildChannel: ServerChildChannel>: 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)
}

Expand Down

0 comments on commit 18577e1

Please sign in to comment.