mirror of https://github.com/grpc/grpc-java.git
This PR is to add one more Executor parameter when creating the SslContext. In Netty, we already have this implementation for passing Executor when creating SslContext: netty/netty#8847. This extra Executor is used to take some time-consuming tasks when doing SSL handshake. However, in current gRPC implementation, we are not using this API. In this PR, the relevant changes are: 1. get the executorPool from ChannelBuilder or ServerBuilder 2. pass the executorPool all the way down to ClientTlsHandler 3. fill executorPool in when creating SslHandler |
||
|---|---|---|
| .. | ||
| jmh/java/io/grpc/netty | ||
| main | ||
| test/java/io/grpc/netty | ||