[ 
https://issues.apache.org/jira/browse/IGNITE-11299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16766092#comment-16766092
 ] 

Ilya Kasnacheev commented on IGNITE-11299:
------------------------------------------

We set *key.interestOps(key.interestOps() | SelectionKey.OP_WRITE);* in 
registerWrite()

but in processWriteSsl(), we only unset *key.interestOps(key.interestOps() & 
(~SelectionKey.OP_WRITE));* after handshake is finished.

This means that until handshake is finished, processWrite will be triggered 
endlessly in processSelectedKeysOptimized() for this SelectorKey - socket is 
available for write most often, which is validated by adding logging to 
processWrite()

Fixing this might also fix SSL on Windows under Java 11. Then again, maybe not.

> During SSL Handshake GridNioServer.processWrite is invoked constantly
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-11299
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11299
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ilya Kasnacheev
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to