Skip to content

Commit

Permalink
ZOOKEEPER-2785: Server inappropriately throttles connections under loa…
Browse files Browse the repository at this point in the history
…d before SASL completes

Author: Abhishek Singh Chouhan <[email protected]>

Reviewers: Michael Han <[email protected]>

Closes apache#256 from abhishek-chouhan/ZOOKEEPER-2785
  • Loading branch information
Abhishek Singh Chouhan authored and hanm committed May 18, 2017
1 parent a680655 commit 0a3e2d1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,7 @@ public void processPacket(ServerCnxn cnxn, ByteBuffer incomingBuffer) throws IOE
Record rsp = processSasl(incomingBuffer,cnxn);
ReplyHeader rh = new ReplyHeader(h.getXid(), 0, KeeperException.Code.OK.intValue());
cnxn.sendResponse(rh,rsp, "response"); // not sure about 3rd arg..what is it?
return;
}
else {
Request si = new Request(cnxn, cnxn.getSessionId(), h.getXid(),
Expand Down

0 comments on commit 0a3e2d1

Please sign in to comment.