mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-05-14 17:02:43 +08:00
format
This commit is contained in:
parent
c07bf58fda
commit
c2cc2957a5
@ -98,7 +98,9 @@ private func runServer() throws {
|
||||
.serverChannelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
|
||||
.serverChannelInitializer { channel in
|
||||
channel.eventLoop.makeCompletedFuture {
|
||||
try channel.pipeline.syncOperations.addHandler(quiesce.makeServerChannelHandler(channel: channel))
|
||||
try channel.pipeline.syncOperations.addHandler(
|
||||
quiesce.makeServerChannelHandler(channel: channel)
|
||||
)
|
||||
}
|
||||
}
|
||||
.childChannelOption(ChannelOptions.socket(IPPROTO_TCP, TCP_NODELAY), value: 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user