Skip to content

Commit

Permalink
Merge pull request #96 from pushkarnk/remove-dummy-delegate
Browse files Browse the repository at this point in the history
Do not store the HTTPDummyServerDelegate object
  • Loading branch information
Pushkar N Kulkarni authored Sep 25, 2018
2 parents 8bac94c + 0d91164 commit 60f6d18
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/KituraNet/HTTP/HTTPServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@ public class HTTPServer : Server {
upgraders.append(upgrader)
}

if self.delegate == nil {
self.delegate = HTTPDummyServerDelegate()
}

let bootstrap = ServerBootstrap(group: eventLoopGroup)
.serverChannelOption(ChannelOptions.backlog, value: BacklogOption.OptionType(self.maxPendingConnections))
.serverChannelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
Expand Down

0 comments on commit 60f6d18

Please sign in to comment.