Skip to content

Commit

Permalink
fix 1 "may be null"
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-campos authored Jul 7, 2020
1 parent 94710fd commit 1bacc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/webbitserver/netty/NettyWebServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public ChannelPipeline getPipeline() throws Exception {
long timestamp = timestamp();
Object id = nextId();
ChannelPipeline pipeline = pipeline();
if (sslContext == null) {
if (sslContext != null) {
SSLEngine sslEngine = sslContext.createSSLEngine();
sslEngine.setUseClientMode(false);
SslHandler ssl = new SslHandler(sslEngine);
Expand Down

0 comments on commit 1bacc05

Please sign in to comment.