Netty ChannelRead method is not getting invoked

后端 未结 1 1713
一整个雨季
一整个雨季 2021-01-23 20:55

Hi In my netty sample if I configure my ServerBootstrap with AUTO_READ option as false. Then in my corresponding handler ChannelRead method is never getting invoked, only Channe

相关标签:
1条回答
  • 2021-01-23 21:41

    When AUTO_READ is set to false, no read operation occurs until you explicitely call channel.read();

    When you set it to true, then read are automatically allowed and passed up to the handlers.

    See here

    0 讨论(0)
提交回复
热议问题