Skip to content

Commit

Permalink
apache#1238 Make BackendConnection initialize when ChannelHandler was…
Browse files Browse the repository at this point in the history
… build.
  • Loading branch information
cherrylzhao authored and maxiaoguang64 committed Nov 25, 2018
1 parent fc6a263 commit f5b6c9b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ public abstract class FrontendHandler extends ChannelInboundHandlerAdapter {

private volatile boolean authorized;

@Setter
private volatile BackendConnection backendConnection;
private volatile BackendConnection backendConnection = new BackendConnection();

@Getter
@Setter
Expand Down

0 comments on commit f5b6c9b

Please sign in to comment.