Valentin Kulichenko created IGNITE-4110: -------------------------------------------
Summary: BlockingSslHandler does not properly handle BUFFER_UNDERFLOW after unwrap Key: IGNITE-4110 URL: https://issues.apache.org/jira/browse/IGNITE-4110 Project: Ignite Issue Type: Bug Components: general Affects Versions: 1.7 Reporter: Valentin Kulichenko Assignee: Valentin Kulichenko Priority: Critical Fix For: 1.8 {{BlockingSslHandler.unwrapHandshake()}} method ignores the case when {{BUFFER_UNDERFLOW}} status is returned from the {{unwrap}} method. Under different circumstances this can cause infinite loop of this exception: {noformat} Failed to read from channel: javax.net.ssl.SSLException: Unsupported record version Unknown-70.97 {noformat} To reproduce the issue: # Change {{BlockingSslHandler.inNetBuf}} initial capacity to 1000. # Run {{GridTcpCommunicationSpiSslSelfTest}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)