Skip to content

Commit db92ada

Browse files
committed
Undo a change that shouldn't have been committed
1 parent 4dc06b3 commit db92ada

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/NIOHTTP2Server/main.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ let bootstrap = ServerBootstrap(group: group)
134134
try sync.addHandler(HTTP1TestServer())
135135
try sync.addHandler(ErrorHandler())
136136
}
137-
}.map { _ in }
137+
}.flatMap { _ in
138+
channel.pipeline.addHandler(ErrorHandler())
139+
}
138140
}
139141

140142
// Enable TCP_NODELAY and SO_REUSEADDR for the accepted Channels

0 commit comments

Comments
 (0)