Commit b9a7b5b
committed
fix(ci): resolve netty-tcnative UnsatisfiedLinkError (Round 8)
Http2ProtocolProxyHandler hard-coded SslProvider.OPENSSL which requires
netty-tcnative-boringssl-static native library. That dependency was
removed in Round 4 to fix a Bazel cycle dependency.
Apply the same fallback pattern used by MultiProtocolTlsHelper and
ProxyAndTlsProtocolNegotiator: check OpenSsl.isAvailable() and fall
back to SslProvider.JDK when the native library is not present.1 parent 806674a commit b9a7b5b
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
- proxy/src/main/java/org/apache/rocketmq/proxy/remoting/protocol/http2proxy
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
0 commit comments