[
https://issues.apache.org/jira/browse/AMQ-8169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17297456#comment-17297456
]
Matt Pavlovich edited comment on AMQ-8169 at 3/8/21, 3:35 PM:
--------------------------------------------------------------
Notes:
1. The secureRead() in the doInit() is needed to maintain connection cycling
and connectivity when doing network bridges w/ auto+nio+ssl and other scenarios
(see commit history on NIOSSLTransport, confirmed in chat (and his comment to
[~tetlucas]'s original PR) w/ @cshannon and unit tests run by [~tetlucas]
2. The secureRead() fail is probably due to multi-threaded access in the
not-thread-safe SSLEngine
-or-
3. The secureRead() needs improved return code checking out of SSLEngine per
the JDK 1.8 updates in item (4) (see comments above)
was (Author: mattrpav):
Notes:
1. The secureRead() in the doInit() is needed to maintain connection cycling
and connectivity when doing network bridges w/ auto+nio+ssl and other scenarios
(see commit history on NIOSSLTransport, confirmed in chat w/ @cshannon and unit
tests run by [~tetlucas]
2. The secureRead() fail is probably due to multi-threaded access in the
not-thread-safe SSLEngine
-or-
3. The secureRead() needs improved return code checking out of SSLEngine per
the JDK 1.8 updates in item (4) (see comments above)
> StompNIOSSLTest test fails with more recent JDK 8 versions
> ----------------------------------------------------------
>
> Key: AMQ-8169
> URL: https://issues.apache.org/jira/browse/AMQ-8169
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.17.0
> Reporter: Matt Pavlovich
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.17.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The StompNIOSSL test fails during CI/CD tests with certain JDK versions. This
> blocks PR's from getting a green status
> To reproduce:
> [x] Fails with jdk1.8.0_281
> [x] Passes with jdk1.8.0_211
> Suspects:
> * The test SSL cert needs to be generated with a newer cipher and/or length
> * The NIOSSLTransport has a bad byte[] read bug
--
This message was sent by Atlassian Jira
(v8.3.4#803005)