Description
In BlockingChannel, we had the following code to log the actual socket buffer size when the socket connection is established. This can be helpful when tuning the socket buffer size for long latency network. It would be useful to add that in Selector.pollSelectionKeys when the socket is connected.
val msg = "Created socket with SO_TIMEOUT = %d (requested %d), SO_RCVBUF = %d (requested %d), SO_SNDBUF = %d (requested %d), connectTimeoutMs = %d."
debug(msg.format(channel.socket.getSoTimeout,
readTimeoutMs,
channel.socket.getReceiveBufferSize,
readBufferSize,
channel.socket.getSendBufferSize,
writeBufferSize,
connectTimeoutMs))
Attachments
Issue Links
- links to