Browse Source

Add a TODO comment.

Mark D. Roth 8 năm trước cách đây
mục cha
commit
f1926c048a
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/core/lib/http/httpcli_security_connector.c

+ 4 - 1
src/core/lib/http/httpcli_security_connector.c

@@ -52,7 +52,10 @@ typedef struct {
 } grpc_httpcli_ssl_channel_security_connector;
 
 static void httpcli_ssl_destroy(grpc_security_connector *sc) {
-  grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;  // FIXME
+  // TODO(roth, ctiller): Once https://github.com/grpc/grpc/pull/8705 is
+  // merged, change this to use the passed-in exec_ctx instead of creating
+  // its own.
+  grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
   grpc_httpcli_ssl_channel_security_connector *c =
       (grpc_httpcli_ssl_channel_security_connector *)sc;
   if (c->handshaker_factory != NULL) {