Unknown channel option Warning from Server Bootstrap
daneshk opened this issue · comments
Description:
Observe below warning when server startup. This is because SO_KEEPALIVE and SO_SNDBUF are not channel options for ServerSocketChannels. According to the java docs[1], ServerSocketChannel below options,
Option Name | Description |
---|---|
SO_RCVBUF | The size of the socket receive buffer |
SO_REUSEADDR | Re-use address |
WARN Message
2017-12-07 12:32:57 WARN ServerBootstrap:146 - Unknown channel option 'SO_KEEPALIVE' for channel '[id: 0xac0fb464]'
2017-12-07 12:33:03 WARN ServerBootstrap:146 - Unknown channel option 'SO_SNDBUF' for channel '[id: 0xac0fb464]'
Need to remove setting those options in ServerConnectorBootstrap class.
Suggested Labels:
Bug
Suggested Assignees:
@shafreenAnfar
Affected Product Version:
6.0.51
OS, DB, other environment details and versions:
environment independent issue.
Steps to reproduce:
warning message appears when server startup.
Related Issues:
N/A