File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ public class MockHttpServer {
4242
4343 let socketBootstrap = ServerBootstrap ( group: MultiThreadedEventLoopGroup ( numberOfThreads: System . coreCount) )
4444 // Specify backlog and enable SO_REUSEADDR for the server itself
45- // .serverChannelOption(.backlog, value: 256)
45+ . serverChannelOption ( . backlog, value: 256 )
4646 . serverChannelOption ( . socketOption( . so_reuseaddr) , value: 1 )
47- // .childChannelOption(.maxMessagesPerRead, value: 1)
47+ . childChannelOption ( . maxMessagesPerRead, value: 1 )
4848
4949 // Set the handlers that are applied to the accepted Channels
5050 . childChannelInitializer { channel in
@@ -173,7 +173,7 @@ private final class HTTPHandler: ChannelInboundHandler {
173173 var responseHeaders : [ ( String , String ) ] = [ ]
174174
175175 logger. trace (
176- " Processing request for : \( requestHead) - \( String ( requestBody) ) "
176+ " Processing request for : \( requestHead) - \( String ( buffer : requestBody) ) "
177177 )
178178
179179 if requestHead. uri. hasSuffix ( " /next " ) {
You can’t perform that action at this time.
0 commit comments