Skip to content

Commit

Permalink
netty: fix NettyHandlerSettings synchronized on wrong object. (#3144)
Browse files Browse the repository at this point in the history
Bug introduced in commit 8c01733
  • Loading branch information
zhangkun83 authored Jun 27, 2017
1 parent 8c01733 commit 47e90f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static void setAutoWindow(AbstractNettyHandler handler) {
if (!enabled) {
return;
}
synchronized (InternalHandlerSettings.class) {
synchronized (NettyHandlerSettings.class) {
handler.setAutoTuneFlowControl(autoFlowControlOn);
if (handler instanceof NettyClientHandler) {
clientHandler = handler;
Expand Down

0 comments on commit 47e90f7

Please sign in to comment.