File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
netty/src/main/java/io/grpc/netty
xds/src/main/java/io/grpc/xds/internal/security Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ private InternalProtocolNegotiators() {}
4040 * Returns a {@link ProtocolNegotiator} that ensures the pipeline is set up so that TLS will
4141 * be negotiated, the {@code handler} is added and writes to the {@link io.netty.channel.Channel}
4242 * may happen immediately, even before the TLS Handshake is complete.
43- * @param executorPool a dedicated {@link Executor} pool for time-consuming TLS tasks
43+ * @param executorPool a dedicated {@link Executor} pool for time-consuming TLS tasks
4444 */
4545 public static InternalProtocolNegotiator .ProtocolNegotiator tls (SslContext sslContext ,
4646 ObjectPool <? extends Executor > executorPool ,
@@ -66,6 +66,7 @@ public void close() {
6666 negotiator .close ();
6767 }
6868 }
69+
6970 return new TlsNegotiator ();
7071 }
7172
Original file line number Diff line number Diff line change @@ -136,4 +136,4 @@ public void run() {
136136 protected interface SslContextGetter {
137137 AbstractMap .SimpleImmutableEntry <SslContext , TrustManager > get () throws Exception ;
138138 }
139- }
139+ }
You can’t perform that action at this time.
0 commit comments