code: public static void enableAutoRead(Channel channel) {
      if (!channel.config().isAutoRead()) {
        channel.config().setAutoRead(true);
        channel.read();
      }
    }
docs: Enables auto read for a netty channel.
  
  @param channel the netty channel