Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Commit

Permalink
Removed "flood control" drain handler that doesn't work as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
oldmud0 committed Jul 23, 2017
1 parent 7afef52 commit e3f9430
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ public void handle(NetSocket socket, Buffer buffer) {
logger.trace("Registered new client with new protocol handler");
newHandler.handle(buffer);
socket.handler(newHandler);
socket.drainHandler(nil -> {
socket.write("Nice job trying to flood");
socket.close();
});
return;
case WAIT:
wait = true;
Expand Down

0 comments on commit e3f9430

Please sign in to comment.