diff --git a/transport/src/main/java/io/netty/channel/socket/oio/DefaultOioSocketChannelConfig.java b/transport/src/main/java/io/netty/channel/socket/oio/DefaultOioSocketChannelConfig.java index f7179d6994..b4ec89bed7 100644 --- a/transport/src/main/java/io/netty/channel/socket/oio/DefaultOioSocketChannelConfig.java +++ b/transport/src/main/java/io/netty/channel/socket/oio/DefaultOioSocketChannelConfig.java @@ -134,7 +134,7 @@ public class DefaultOioSocketChannelConfig extends DefaultSocketChannelConfig im @Override public OioSocketChannelConfig setAllowHalfClosure(boolean allowHalfClosure) { - super.setAllowHalfClosure(true); + super.setAllowHalfClosure(allowHalfClosure); return this; }