grpc 1.15.0 → 1.16.0.pre1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of grpc might be problematic. Click here for more details.

Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +158 -80
  3. data/etc/roots.pem +23 -0
  4. data/include/grpc/grpc.h +13 -1
  5. data/include/grpc/grpc_security.h +2 -2
  6. data/include/grpc/grpc_security_constants.h +24 -19
  7. data/include/grpc/impl/codegen/grpc_types.h +23 -5
  8. data/include/grpc/impl/codegen/port_platform.h +1 -0
  9. data/src/core/ext/filters/client_channel/client_channel.cc +95 -10
  10. data/src/core/ext/filters/client_channel/client_channel_channelz.cc +71 -0
  11. data/src/core/ext/filters/client_channel/client_channel_channelz.h +45 -11
  12. data/src/core/ext/filters/client_channel/connector.h +3 -0
  13. data/src/core/ext/filters/client_channel/http_connect_handshaker.cc +1 -1
  14. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +5 -3
  15. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +12 -32
  16. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +6 -5
  17. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +20 -15
  18. data/src/core/ext/filters/client_channel/lb_policy_factory.h +2 -4
  19. data/src/core/ext/filters/client_channel/parse_address.cc +27 -4
  20. data/src/core/ext/filters/client_channel/parse_address.h +3 -0
  21. data/src/core/ext/filters/client_channel/resolver.h +1 -12
  22. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +1 -11
  23. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +80 -19
  24. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +9 -3
  25. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +5 -0
  26. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +70 -0
  27. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +1 -11
  28. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +2 -16
  29. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +2 -1
  30. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +0 -7
  31. data/src/core/ext/filters/client_channel/subchannel.cc +45 -7
  32. data/src/core/ext/filters/client_channel/subchannel.h +16 -1
  33. data/src/core/ext/filters/client_channel/subchannel_index.cc +2 -1
  34. data/src/core/ext/filters/client_channel/subchannel_index.h +1 -4
  35. data/src/core/ext/filters/http/client/http_client_filter.cc +32 -3
  36. data/src/core/ext/filters/http/server/http_server_filter.cc +59 -1
  37. data/src/core/ext/filters/max_age/max_age_filter.cc +1 -2
  38. data/src/core/ext/filters/message_size/message_size_filter.cc +59 -3
  39. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +2 -0
  40. data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc +1 -1
  41. data/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc +1 -1
  42. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +286 -228
  43. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +2 -0
  44. data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -0
  45. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +14 -3
  46. data/src/core/ext/transport/chttp2/transport/hpack_table.cc +29 -0
  47. data/src/core/ext/transport/chttp2/transport/hpack_table.h +9 -0
  48. data/src/core/ext/transport/chttp2/transport/internal.h +10 -0
  49. data/src/core/ext/transport/chttp2/transport/parsing.cc +85 -54
  50. data/src/core/ext/transport/chttp2/transport/writing.cc +6 -0
  51. data/src/core/lib/channel/channel_trace.cc +51 -56
  52. data/src/core/lib/channel/channel_trace.h +30 -25
  53. data/src/core/lib/channel/channelz.cc +235 -61
  54. data/src/core/lib/channel/channelz.h +179 -48
  55. data/src/core/lib/channel/channelz_registry.cc +95 -23
  56. data/src/core/lib/channel/channelz_registry.h +15 -42
  57. data/src/core/lib/gpr/sync_posix.cc +42 -0
  58. data/src/core/lib/http/httpcli.cc +1 -1
  59. data/src/core/lib/iomgr/buffer_list.cc +134 -0
  60. data/src/core/lib/iomgr/buffer_list.h +96 -0
  61. data/src/core/lib/iomgr/endpoint.cc +2 -2
  62. data/src/core/lib/iomgr/endpoint.h +6 -2
  63. data/src/core/lib/iomgr/endpoint_pair_posix.cc +2 -2
  64. data/src/core/lib/iomgr/error.cc +29 -18
  65. data/src/core/lib/iomgr/error.h +8 -0
  66. data/src/core/lib/iomgr/ev_epoll1_linux.cc +4 -0
  67. data/src/core/lib/iomgr/ev_epollex_linux.cc +4 -0
  68. data/src/core/lib/iomgr/ev_posix.cc +16 -10
  69. data/src/core/lib/iomgr/exec_ctx.h +0 -7
  70. data/src/core/lib/iomgr/{ev_epollsig_linux.h → internal_errqueue.cc} +13 -12
  71. data/src/core/lib/iomgr/internal_errqueue.h +83 -0
  72. data/src/core/lib/iomgr/port.h +11 -2
  73. data/src/core/lib/iomgr/socket_utils_common_posix.cc +90 -0
  74. data/src/core/lib/iomgr/socket_utils_posix.h +7 -0
  75. data/src/core/lib/iomgr/tcp_client_posix.cc +4 -1
  76. data/src/core/lib/iomgr/tcp_custom.cc +1 -1
  77. data/src/core/lib/iomgr/tcp_posix.cc +306 -13
  78. data/src/core/lib/iomgr/tcp_posix.h +3 -0
  79. data/src/core/lib/iomgr/tcp_server_posix.cc +2 -2
  80. data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +4 -1
  81. data/src/core/lib/iomgr/tcp_windows.cc +1 -1
  82. data/src/core/lib/iomgr/timer_generic.cc +13 -12
  83. data/src/core/lib/iomgr/timer_heap.cc +2 -2
  84. data/src/core/lib/iomgr/timer_heap.h +3 -3
  85. data/src/core/lib/iomgr/timer_manager.cc +28 -3
  86. data/src/core/lib/iomgr/timer_manager.h +2 -2
  87. data/src/core/lib/iomgr/udp_server.cc +1 -1
  88. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +2 -1
  89. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc +2 -1
  90. data/src/core/lib/security/security_connector/security_connector.cc +7 -7
  91. data/src/core/lib/security/transport/secure_endpoint.cc +2 -2
  92. data/src/core/lib/security/transport/security_handshaker.cc +1 -1
  93. data/src/core/lib/security/transport/server_auth_filter.cc +53 -4
  94. data/src/core/lib/slice/slice.cc +8 -0
  95. data/src/core/lib/slice/slice_internal.h +5 -0
  96. data/src/core/lib/surface/call.cc +149 -253
  97. data/src/core/lib/surface/call.h +1 -0
  98. data/src/core/lib/surface/channel.cc +17 -13
  99. data/src/core/lib/surface/completion_queue.cc +21 -17
  100. data/src/core/lib/surface/completion_queue.h +1 -18
  101. data/src/core/lib/surface/completion_queue_factory.cc +3 -3
  102. data/src/core/lib/surface/init_secure.cc +1 -1
  103. data/src/core/lib/surface/server.cc +77 -4
  104. data/src/core/lib/surface/server.h +4 -0
  105. data/src/core/lib/surface/version.cc +2 -2
  106. data/src/core/lib/transport/metadata.cc +0 -18
  107. data/src/core/lib/transport/metadata.h +0 -3
  108. data/src/core/lib/transport/metadata_batch.cc +2 -2
  109. data/src/core/lib/transport/metadata_batch.h +2 -0
  110. data/src/core/lib/transport/static_metadata.cc +220 -249
  111. data/src/core/lib/transport/static_metadata.h +189 -191
  112. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +5 -4
  113. data/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc +3 -1
  114. data/src/core/tsi/alts/handshaker/alts_tsi_event.cc +4 -2
  115. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +6 -5
  116. data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +3 -1
  117. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +2 -2
  118. data/src/core/tsi/alts_transport_security.cc +3 -1
  119. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +2 -1
  120. data/src/ruby/ext/grpc/rb_call.c +1 -0
  121. data/src/ruby/ext/grpc/rb_channel.c +3 -0
  122. data/src/ruby/ext/grpc/rb_grpc.c +31 -1
  123. data/src/ruby/ext/grpc/rb_grpc.h +2 -0
  124. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +6 -0
  125. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +12 -3
  126. data/src/ruby/ext/grpc/rb_server.c +2 -0
  127. data/src/ruby/lib/grpc/errors.rb +0 -1
  128. data/src/ruby/lib/grpc/generic/rpc_desc.rb +3 -3
  129. data/src/ruby/lib/grpc/generic/rpc_server.rb +1 -1
  130. data/src/ruby/lib/grpc/version.rb +1 -1
  131. data/src/ruby/spec/channel_spec.rb +44 -0
  132. data/src/ruby/spec/client_auth_spec.rb +5 -5
  133. data/src/ruby/spec/generic/client_stub_spec.rb +13 -9
  134. data/src/ruby/spec/generic/rpc_server_spec.rb +3 -3
  135. data/src/ruby/spec/pb/codegen/package_option_spec.rb +53 -0
  136. data/src/ruby/spec/support/services.rb +28 -22
  137. metadata +35 -31
  138. data/src/core/lib/iomgr/ev_epollsig_linux.cc +0 -1743
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 861906c9cbe0319f8609db76393f563c3cf484187692aae2842c36aa5adc95ba
4
- data.tar.gz: 59e11900b3cf5505c42ce62b3ca31bb3a4db69fdb436639404bf18ecc4277ac8
3
+ metadata.gz: 235d007e88d27e131ebcf9d4dd40fa7c8a95beefb7ecf0bc1257429e8a3f3c82
4
+ data.tar.gz: 3f8538f0de9eee5e710e24deca9a4478e2c285ee40fb296ab18305eaec9856dc
5
5
  SHA512:
6
- metadata.gz: 84216c602f0cab9b24360b7f109eceb01dd0432bd3a75eb0cd885ee05134bb1bd41da1a63f90b01f544ffe4c064fe501eb5335ad9af30d148eb4cedc222ab3c5
7
- data.tar.gz: e8c791a67a7cced5a2f40f8d625b7bda1fed547bebbe77bb215211a6e1894dd00ea4725cb87ae9e7b2ce097cd1b7fb32a009c897e63a7ea54ccb6d6cba9d8609
6
+ metadata.gz: b4105739aaafcb5194a9ec997a79eef9467d7800645b2fbb8130b19e49229d5e92185d5516a1e081f077a272d4103ee4b9cab52c0699c1d3a7d4742187a5fa6f
7
+ data.tar.gz: 9f6715561ba02c0e75a4e8ee695fa6c6b69db5185fbb3d45b5c0196084658017157bddc83e5898855ac45b5b8eb720db0af2f9781dabb6009d475db8be08c5d7
data/Makefile CHANGED
@@ -352,6 +352,7 @@ CXXFLAGS += -std=c++11
352
352
  ifeq ($(SYSTEM),Darwin)
353
353
  CXXFLAGS += -stdlib=libc++
354
354
  endif
355
+ CXXFLAGS += -Wnon-virtual-dtor
355
356
  CPPFLAGS += -g -Wall -Wextra -Werror -Wno-long-long -Wno-unused-parameter -DOSATOMIC_USE_INLINED=1 -Wno-deprecated-declarations -Ithird_party/nanopb -DPB_FIELD_32BIT
356
357
  COREFLAGS += -fno-rtti -fno-exceptions
357
358
  LDFLAGS += -g
@@ -436,9 +437,9 @@ E = @echo
436
437
  Q = @
437
438
  endif
438
439
 
439
- CORE_VERSION = 6.0.0
440
- CPP_VERSION = 1.15.0
441
- CSHARP_VERSION = 1.15.0
440
+ CORE_VERSION = 6.0.0-pre1
441
+ CPP_VERSION = 1.16.0-pre1
442
+ CSHARP_VERSION = 1.16.0-pre1
442
443
 
443
444
  CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
444
445
  CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
@@ -791,7 +792,7 @@ PC_DESCRIPTION = high performance general RPC framework without SSL
791
792
  PC_CFLAGS =
792
793
  PC_REQUIRES_PRIVATE = gpr $(PC_REQUIRES_GRPC)
793
794
  PC_LIBS_PRIVATE = $(PC_LIBS_GRPC)
794
- PC_LIB = -lgrpc
795
+ PC_LIB = -lgrpc_unsecure
795
796
  GRPC_UNSECURE_PC_FILE := $(CORE_PC_TEMPLATE)
796
797
 
797
798
  PROTOBUF_PKG_CONFIG = false
@@ -862,7 +863,7 @@ PC_DESCRIPTION = C++ wrapper for gRPC without SSL
862
863
  PC_CFLAGS =
863
864
  PC_REQUIRES_PRIVATE = grpc_unsecure $(PC_REQUIRES_GRPCXX)
864
865
  PC_LIBS_PRIVATE = $(PC_LIBS_GRPCXX)
865
- PC_LIB = -lgrpc++
866
+ PC_LIB = -lgrpc++_unsecure
866
867
  GRPCXX_UNSECURE_PC_FILE := $(CPP_PC_TEMPLATE)
867
868
 
868
869
  ifeq ($(MAKECMDGOALS),clean)
@@ -978,6 +979,7 @@ avl_test: $(BINDIR)/$(CONFIG)/avl_test
978
979
  bad_server_response_test: $(BINDIR)/$(CONFIG)/bad_server_response_test
979
980
  bin_decoder_test: $(BINDIR)/$(CONFIG)/bin_decoder_test
980
981
  bin_encoder_test: $(BINDIR)/$(CONFIG)/bin_encoder_test
982
+ buffer_list_test: $(BINDIR)/$(CONFIG)/buffer_list_test
981
983
  channel_create_test: $(BINDIR)/$(CONFIG)/channel_create_test
982
984
  check_epollexclusive: $(BINDIR)/$(CONFIG)/check_epollexclusive
983
985
  chttp2_hpack_encoder_test: $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test
@@ -996,7 +998,6 @@ dualstack_socket_test: $(BINDIR)/$(CONFIG)/dualstack_socket_test
996
998
  endpoint_pair_test: $(BINDIR)/$(CONFIG)/endpoint_pair_test
997
999
  error_test: $(BINDIR)/$(CONFIG)/error_test
998
1000
  ev_epollex_linux_test: $(BINDIR)/$(CONFIG)/ev_epollex_linux_test
999
- ev_epollsig_linux_test: $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test
1000
1001
  fake_resolver_test: $(BINDIR)/$(CONFIG)/fake_resolver_test
1001
1002
  fake_transport_security_test: $(BINDIR)/$(CONFIG)/fake_transport_security_test
1002
1003
  fd_conservation_posix_test: $(BINDIR)/$(CONFIG)/fd_conservation_posix_test
@@ -1078,9 +1079,9 @@ parse_address_test: $(BINDIR)/$(CONFIG)/parse_address_test
1078
1079
  percent_decode_fuzzer: $(BINDIR)/$(CONFIG)/percent_decode_fuzzer
1079
1080
  percent_encode_fuzzer: $(BINDIR)/$(CONFIG)/percent_encode_fuzzer
1080
1081
  percent_encoding_test: $(BINDIR)/$(CONFIG)/percent_encoding_test
1081
- pollset_set_test: $(BINDIR)/$(CONFIG)/pollset_set_test
1082
1082
  resolve_address_posix_test: $(BINDIR)/$(CONFIG)/resolve_address_posix_test
1083
- resolve_address_test: $(BINDIR)/$(CONFIG)/resolve_address_test
1083
+ resolve_address_using_ares_resolver_test: $(BINDIR)/$(CONFIG)/resolve_address_using_ares_resolver_test
1084
+ resolve_address_using_native_resolver_test: $(BINDIR)/$(CONFIG)/resolve_address_using_native_resolver_test
1084
1085
  resource_quota_test: $(BINDIR)/$(CONFIG)/resource_quota_test
1085
1086
  secure_channel_create_test: $(BINDIR)/$(CONFIG)/secure_channel_create_test
1086
1087
  secure_endpoint_test: $(BINDIR)/$(CONFIG)/secure_endpoint_test
@@ -1159,6 +1160,7 @@ check_gcp_environment_linux_test: $(BINDIR)/$(CONFIG)/check_gcp_environment_linu
1159
1160
  check_gcp_environment_windows_test: $(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test
1160
1161
  chttp2_settings_timeout_test: $(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test
1161
1162
  cli_call_test: $(BINDIR)/$(CONFIG)/cli_call_test
1163
+ client_callback_end2end_test: $(BINDIR)/$(CONFIG)/client_callback_end2end_test
1162
1164
  client_channel_stress_test: $(BINDIR)/$(CONFIG)/client_channel_stress_test
1163
1165
  client_crash_test: $(BINDIR)/$(CONFIG)/client_crash_test
1164
1166
  client_crash_test_server: $(BINDIR)/$(CONFIG)/client_crash_test_server
@@ -1434,6 +1436,7 @@ buildtests_c: privatelibs_c \
1434
1436
  $(BINDIR)/$(CONFIG)/bad_server_response_test \
1435
1437
  $(BINDIR)/$(CONFIG)/bin_decoder_test \
1436
1438
  $(BINDIR)/$(CONFIG)/bin_encoder_test \
1439
+ $(BINDIR)/$(CONFIG)/buffer_list_test \
1437
1440
  $(BINDIR)/$(CONFIG)/channel_create_test \
1438
1441
  $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test \
1439
1442
  $(BINDIR)/$(CONFIG)/chttp2_stream_map_test \
@@ -1450,7 +1453,6 @@ buildtests_c: privatelibs_c \
1450
1453
  $(BINDIR)/$(CONFIG)/endpoint_pair_test \
1451
1454
  $(BINDIR)/$(CONFIG)/error_test \
1452
1455
  $(BINDIR)/$(CONFIG)/ev_epollex_linux_test \
1453
- $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test \
1454
1456
  $(BINDIR)/$(CONFIG)/fake_resolver_test \
1455
1457
  $(BINDIR)/$(CONFIG)/fake_transport_security_test \
1456
1458
  $(BINDIR)/$(CONFIG)/fd_conservation_posix_test \
@@ -1520,9 +1522,9 @@ buildtests_c: privatelibs_c \
1520
1522
  $(BINDIR)/$(CONFIG)/num_external_connectivity_watchers_test \
1521
1523
  $(BINDIR)/$(CONFIG)/parse_address_test \
1522
1524
  $(BINDIR)/$(CONFIG)/percent_encoding_test \
1523
- $(BINDIR)/$(CONFIG)/pollset_set_test \
1524
1525
  $(BINDIR)/$(CONFIG)/resolve_address_posix_test \
1525
- $(BINDIR)/$(CONFIG)/resolve_address_test \
1526
+ $(BINDIR)/$(CONFIG)/resolve_address_using_ares_resolver_test \
1527
+ $(BINDIR)/$(CONFIG)/resolve_address_using_native_resolver_test \
1526
1528
  $(BINDIR)/$(CONFIG)/resource_quota_test \
1527
1529
  $(BINDIR)/$(CONFIG)/secure_channel_create_test \
1528
1530
  $(BINDIR)/$(CONFIG)/secure_endpoint_test \
@@ -1663,6 +1665,7 @@ buildtests_cxx: privatelibs_cxx \
1663
1665
  $(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test \
1664
1666
  $(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test \
1665
1667
  $(BINDIR)/$(CONFIG)/cli_call_test \
1668
+ $(BINDIR)/$(CONFIG)/client_callback_end2end_test \
1666
1669
  $(BINDIR)/$(CONFIG)/client_channel_stress_test \
1667
1670
  $(BINDIR)/$(CONFIG)/client_crash_test \
1668
1671
  $(BINDIR)/$(CONFIG)/client_crash_test_server \
@@ -1843,6 +1846,7 @@ buildtests_cxx: privatelibs_cxx \
1843
1846
  $(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test \
1844
1847
  $(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test \
1845
1848
  $(BINDIR)/$(CONFIG)/cli_call_test \
1849
+ $(BINDIR)/$(CONFIG)/client_callback_end2end_test \
1846
1850
  $(BINDIR)/$(CONFIG)/client_channel_stress_test \
1847
1851
  $(BINDIR)/$(CONFIG)/client_crash_test \
1848
1852
  $(BINDIR)/$(CONFIG)/client_crash_test_server \
@@ -1950,6 +1954,8 @@ test_c: buildtests_c
1950
1954
  $(Q) $(BINDIR)/$(CONFIG)/bin_decoder_test || ( echo test bin_decoder_test failed ; exit 1 )
1951
1955
  $(E) "[RUN] Testing bin_encoder_test"
1952
1956
  $(Q) $(BINDIR)/$(CONFIG)/bin_encoder_test || ( echo test bin_encoder_test failed ; exit 1 )
1957
+ $(E) "[RUN] Testing buffer_list_test"
1958
+ $(Q) $(BINDIR)/$(CONFIG)/buffer_list_test || ( echo test buffer_list_test failed ; exit 1 )
1953
1959
  $(E) "[RUN] Testing channel_create_test"
1954
1960
  $(Q) $(BINDIR)/$(CONFIG)/channel_create_test || ( echo test channel_create_test failed ; exit 1 )
1955
1961
  $(E) "[RUN] Testing chttp2_hpack_encoder_test"
@@ -1982,8 +1988,6 @@ test_c: buildtests_c
1982
1988
  $(Q) $(BINDIR)/$(CONFIG)/error_test || ( echo test error_test failed ; exit 1 )
1983
1989
  $(E) "[RUN] Testing ev_epollex_linux_test"
1984
1990
  $(Q) $(BINDIR)/$(CONFIG)/ev_epollex_linux_test || ( echo test ev_epollex_linux_test failed ; exit 1 )
1985
- $(E) "[RUN] Testing ev_epollsig_linux_test"
1986
- $(Q) $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test || ( echo test ev_epollsig_linux_test failed ; exit 1 )
1987
1991
  $(E) "[RUN] Testing fake_resolver_test"
1988
1992
  $(Q) $(BINDIR)/$(CONFIG)/fake_resolver_test || ( echo test fake_resolver_test failed ; exit 1 )
1989
1993
  $(E) "[RUN] Testing fake_transport_security_test"
@@ -2110,12 +2114,12 @@ test_c: buildtests_c
2110
2114
  $(Q) $(BINDIR)/$(CONFIG)/parse_address_test || ( echo test parse_address_test failed ; exit 1 )
2111
2115
  $(E) "[RUN] Testing percent_encoding_test"
2112
2116
  $(Q) $(BINDIR)/$(CONFIG)/percent_encoding_test || ( echo test percent_encoding_test failed ; exit 1 )
2113
- $(E) "[RUN] Testing pollset_set_test"
2114
- $(Q) $(BINDIR)/$(CONFIG)/pollset_set_test || ( echo test pollset_set_test failed ; exit 1 )
2115
2117
  $(E) "[RUN] Testing resolve_address_posix_test"
2116
2118
  $(Q) $(BINDIR)/$(CONFIG)/resolve_address_posix_test || ( echo test resolve_address_posix_test failed ; exit 1 )
2117
- $(E) "[RUN] Testing resolve_address_test"
2118
- $(Q) $(BINDIR)/$(CONFIG)/resolve_address_test || ( echo test resolve_address_test failed ; exit 1 )
2119
+ $(E) "[RUN] Testing resolve_address_using_ares_resolver_test"
2120
+ $(Q) $(BINDIR)/$(CONFIG)/resolve_address_using_ares_resolver_test || ( echo test resolve_address_using_ares_resolver_test failed ; exit 1 )
2121
+ $(E) "[RUN] Testing resolve_address_using_native_resolver_test"
2122
+ $(Q) $(BINDIR)/$(CONFIG)/resolve_address_using_native_resolver_test || ( echo test resolve_address_using_native_resolver_test failed ; exit 1 )
2119
2123
  $(E) "[RUN] Testing resource_quota_test"
2120
2124
  $(Q) $(BINDIR)/$(CONFIG)/resource_quota_test || ( echo test resource_quota_test failed ; exit 1 )
2121
2125
  $(E) "[RUN] Testing secure_channel_create_test"
@@ -2298,6 +2302,8 @@ test_cxx: buildtests_cxx
2298
2302
  $(Q) $(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test || ( echo test chttp2_settings_timeout_test failed ; exit 1 )
2299
2303
  $(E) "[RUN] Testing cli_call_test"
2300
2304
  $(Q) $(BINDIR)/$(CONFIG)/cli_call_test || ( echo test cli_call_test failed ; exit 1 )
2305
+ $(E) "[RUN] Testing client_callback_end2end_test"
2306
+ $(Q) $(BINDIR)/$(CONFIG)/client_callback_end2end_test || ( echo test client_callback_end2end_test failed ; exit 1 )
2301
2307
  $(E) "[RUN] Testing client_channel_stress_test"
2302
2308
  $(Q) $(BINDIR)/$(CONFIG)/client_channel_stress_test || ( echo test client_channel_stress_test failed ; exit 1 )
2303
2309
  $(E) "[RUN] Testing client_crash_test"
@@ -3460,6 +3466,7 @@ LIBGRPC_SRC = \
3460
3466
  src/core/lib/http/format_request.cc \
3461
3467
  src/core/lib/http/httpcli.cc \
3462
3468
  src/core/lib/http/parser.cc \
3469
+ src/core/lib/iomgr/buffer_list.cc \
3463
3470
  src/core/lib/iomgr/call_combiner.cc \
3464
3471
  src/core/lib/iomgr/combiner.cc \
3465
3472
  src/core/lib/iomgr/endpoint.cc \
@@ -3469,7 +3476,6 @@ LIBGRPC_SRC = \
3469
3476
  src/core/lib/iomgr/error.cc \
3470
3477
  src/core/lib/iomgr/ev_epoll1_linux.cc \
3471
3478
  src/core/lib/iomgr/ev_epollex_linux.cc \
3472
- src/core/lib/iomgr/ev_epollsig_linux.cc \
3473
3479
  src/core/lib/iomgr/ev_poll_posix.cc \
3474
3480
  src/core/lib/iomgr/ev_posix.cc \
3475
3481
  src/core/lib/iomgr/ev_windows.cc \
@@ -3480,6 +3486,7 @@ LIBGRPC_SRC = \
3480
3486
  src/core/lib/iomgr/gethostname_fallback.cc \
3481
3487
  src/core/lib/iomgr/gethostname_host_name_max.cc \
3482
3488
  src/core/lib/iomgr/gethostname_sysconf.cc \
3489
+ src/core/lib/iomgr/internal_errqueue.cc \
3483
3490
  src/core/lib/iomgr/iocp_windows.cc \
3484
3491
  src/core/lib/iomgr/iomgr.cc \
3485
3492
  src/core/lib/iomgr/iomgr_custom.cc \
@@ -3865,6 +3872,7 @@ LIBGRPC_CRONET_SRC = \
3865
3872
  src/core/lib/http/format_request.cc \
3866
3873
  src/core/lib/http/httpcli.cc \
3867
3874
  src/core/lib/http/parser.cc \
3875
+ src/core/lib/iomgr/buffer_list.cc \
3868
3876
  src/core/lib/iomgr/call_combiner.cc \
3869
3877
  src/core/lib/iomgr/combiner.cc \
3870
3878
  src/core/lib/iomgr/endpoint.cc \
@@ -3874,7 +3882,6 @@ LIBGRPC_CRONET_SRC = \
3874
3882
  src/core/lib/iomgr/error.cc \
3875
3883
  src/core/lib/iomgr/ev_epoll1_linux.cc \
3876
3884
  src/core/lib/iomgr/ev_epollex_linux.cc \
3877
- src/core/lib/iomgr/ev_epollsig_linux.cc \
3878
3885
  src/core/lib/iomgr/ev_poll_posix.cc \
3879
3886
  src/core/lib/iomgr/ev_posix.cc \
3880
3887
  src/core/lib/iomgr/ev_windows.cc \
@@ -3885,6 +3892,7 @@ LIBGRPC_CRONET_SRC = \
3885
3892
  src/core/lib/iomgr/gethostname_fallback.cc \
3886
3893
  src/core/lib/iomgr/gethostname_host_name_max.cc \
3887
3894
  src/core/lib/iomgr/gethostname_sysconf.cc \
3895
+ src/core/lib/iomgr/internal_errqueue.cc \
3888
3896
  src/core/lib/iomgr/iocp_windows.cc \
3889
3897
  src/core/lib/iomgr/iomgr.cc \
3890
3898
  src/core/lib/iomgr/iomgr_custom.cc \
@@ -4255,6 +4263,7 @@ LIBGRPC_TEST_UTIL_SRC = \
4255
4263
  src/core/lib/http/format_request.cc \
4256
4264
  src/core/lib/http/httpcli.cc \
4257
4265
  src/core/lib/http/parser.cc \
4266
+ src/core/lib/iomgr/buffer_list.cc \
4258
4267
  src/core/lib/iomgr/call_combiner.cc \
4259
4268
  src/core/lib/iomgr/combiner.cc \
4260
4269
  src/core/lib/iomgr/endpoint.cc \
@@ -4264,7 +4273,6 @@ LIBGRPC_TEST_UTIL_SRC = \
4264
4273
  src/core/lib/iomgr/error.cc \
4265
4274
  src/core/lib/iomgr/ev_epoll1_linux.cc \
4266
4275
  src/core/lib/iomgr/ev_epollex_linux.cc \
4267
- src/core/lib/iomgr/ev_epollsig_linux.cc \
4268
4276
  src/core/lib/iomgr/ev_poll_posix.cc \
4269
4277
  src/core/lib/iomgr/ev_posix.cc \
4270
4278
  src/core/lib/iomgr/ev_windows.cc \
@@ -4275,6 +4283,7 @@ LIBGRPC_TEST_UTIL_SRC = \
4275
4283
  src/core/lib/iomgr/gethostname_fallback.cc \
4276
4284
  src/core/lib/iomgr/gethostname_host_name_max.cc \
4277
4285
  src/core/lib/iomgr/gethostname_sysconf.cc \
4286
+ src/core/lib/iomgr/internal_errqueue.cc \
4278
4287
  src/core/lib/iomgr/iocp_windows.cc \
4279
4288
  src/core/lib/iomgr/iomgr.cc \
4280
4289
  src/core/lib/iomgr/iomgr_custom.cc \
@@ -4554,6 +4563,7 @@ LIBGRPC_TEST_UTIL_UNSECURE_SRC = \
4554
4563
  src/core/lib/http/format_request.cc \
4555
4564
  src/core/lib/http/httpcli.cc \
4556
4565
  src/core/lib/http/parser.cc \
4566
+ src/core/lib/iomgr/buffer_list.cc \
4557
4567
  src/core/lib/iomgr/call_combiner.cc \
4558
4568
  src/core/lib/iomgr/combiner.cc \
4559
4569
  src/core/lib/iomgr/endpoint.cc \
@@ -4563,7 +4573,6 @@ LIBGRPC_TEST_UTIL_UNSECURE_SRC = \
4563
4573
  src/core/lib/iomgr/error.cc \
4564
4574
  src/core/lib/iomgr/ev_epoll1_linux.cc \
4565
4575
  src/core/lib/iomgr/ev_epollex_linux.cc \
4566
- src/core/lib/iomgr/ev_epollsig_linux.cc \
4567
4576
  src/core/lib/iomgr/ev_poll_posix.cc \
4568
4577
  src/core/lib/iomgr/ev_posix.cc \
4569
4578
  src/core/lib/iomgr/ev_windows.cc \
@@ -4574,6 +4583,7 @@ LIBGRPC_TEST_UTIL_UNSECURE_SRC = \
4574
4583
  src/core/lib/iomgr/gethostname_fallback.cc \
4575
4584
  src/core/lib/iomgr/gethostname_host_name_max.cc \
4576
4585
  src/core/lib/iomgr/gethostname_sysconf.cc \
4586
+ src/core/lib/iomgr/internal_errqueue.cc \
4577
4587
  src/core/lib/iomgr/iocp_windows.cc \
4578
4588
  src/core/lib/iomgr/iomgr.cc \
4579
4589
  src/core/lib/iomgr/iomgr_custom.cc \
@@ -4819,6 +4829,7 @@ LIBGRPC_UNSECURE_SRC = \
4819
4829
  src/core/lib/http/format_request.cc \
4820
4830
  src/core/lib/http/httpcli.cc \
4821
4831
  src/core/lib/http/parser.cc \
4832
+ src/core/lib/iomgr/buffer_list.cc \
4822
4833
  src/core/lib/iomgr/call_combiner.cc \
4823
4834
  src/core/lib/iomgr/combiner.cc \
4824
4835
  src/core/lib/iomgr/endpoint.cc \
@@ -4828,7 +4839,6 @@ LIBGRPC_UNSECURE_SRC = \
4828
4839
  src/core/lib/iomgr/error.cc \
4829
4840
  src/core/lib/iomgr/ev_epoll1_linux.cc \
4830
4841
  src/core/lib/iomgr/ev_epollex_linux.cc \
4831
- src/core/lib/iomgr/ev_epollsig_linux.cc \
4832
4842
  src/core/lib/iomgr/ev_poll_posix.cc \
4833
4843
  src/core/lib/iomgr/ev_posix.cc \
4834
4844
  src/core/lib/iomgr/ev_windows.cc \
@@ -4839,6 +4849,7 @@ LIBGRPC_UNSECURE_SRC = \
4839
4849
  src/core/lib/iomgr/gethostname_fallback.cc \
4840
4850
  src/core/lib/iomgr/gethostname_host_name_max.cc \
4841
4851
  src/core/lib/iomgr/gethostname_sysconf.cc \
4852
+ src/core/lib/iomgr/internal_errqueue.cc \
4842
4853
  src/core/lib/iomgr/iocp_windows.cc \
4843
4854
  src/core/lib/iomgr/iomgr.cc \
4844
4855
  src/core/lib/iomgr/iomgr_custom.cc \
@@ -5315,6 +5326,7 @@ PUBLIC_HEADERS_CXX += \
5315
5326
  include/grpcpp/support/async_unary_call.h \
5316
5327
  include/grpcpp/support/byte_buffer.h \
5317
5328
  include/grpcpp/support/channel_arguments.h \
5329
+ include/grpcpp/support/client_callback.h \
5318
5330
  include/grpcpp/support/config.h \
5319
5331
  include/grpcpp/support/proto_buffer_reader.h \
5320
5332
  include/grpcpp/support/proto_buffer_writer.h \
@@ -5412,8 +5424,11 @@ PUBLIC_HEADERS_CXX += \
5412
5424
  include/grpcpp/impl/codegen/byte_buffer.h \
5413
5425
  include/grpcpp/impl/codegen/call.h \
5414
5426
  include/grpcpp/impl/codegen/call_hook.h \
5427
+ include/grpcpp/impl/codegen/callback_common.h \
5415
5428
  include/grpcpp/impl/codegen/channel_interface.h \
5429
+ include/grpcpp/impl/codegen/client_callback.h \
5416
5430
  include/grpcpp/impl/codegen/client_context.h \
5431
+ include/grpcpp/impl/codegen/client_interceptor.h \
5417
5432
  include/grpcpp/impl/codegen/client_unary_call.h \
5418
5433
  include/grpcpp/impl/codegen/completion_queue.h \
5419
5434
  include/grpcpp/impl/codegen/completion_queue_tag.h \
@@ -5421,6 +5436,7 @@ PUBLIC_HEADERS_CXX += \
5421
5436
  include/grpcpp/impl/codegen/core_codegen_interface.h \
5422
5437
  include/grpcpp/impl/codegen/create_auth_context.h \
5423
5438
  include/grpcpp/impl/codegen/grpc_library.h \
5439
+ include/grpcpp/impl/codegen/interceptor.h \
5424
5440
  include/grpcpp/impl/codegen/metadata_map.h \
5425
5441
  include/grpcpp/impl/codegen/method_handler_impl.h \
5426
5442
  include/grpcpp/impl/codegen/rpc_method.h \
@@ -5647,6 +5663,7 @@ LIBGRPC++_CRONET_SRC = \
5647
5663
  src/core/lib/http/format_request.cc \
5648
5664
  src/core/lib/http/httpcli.cc \
5649
5665
  src/core/lib/http/parser.cc \
5666
+ src/core/lib/iomgr/buffer_list.cc \
5650
5667
  src/core/lib/iomgr/call_combiner.cc \
5651
5668
  src/core/lib/iomgr/combiner.cc \
5652
5669
  src/core/lib/iomgr/endpoint.cc \
@@ -5656,7 +5673,6 @@ LIBGRPC++_CRONET_SRC = \
5656
5673
  src/core/lib/iomgr/error.cc \
5657
5674
  src/core/lib/iomgr/ev_epoll1_linux.cc \
5658
5675
  src/core/lib/iomgr/ev_epollex_linux.cc \
5659
- src/core/lib/iomgr/ev_epollsig_linux.cc \
5660
5676
  src/core/lib/iomgr/ev_poll_posix.cc \
5661
5677
  src/core/lib/iomgr/ev_posix.cc \
5662
5678
  src/core/lib/iomgr/ev_windows.cc \
@@ -5667,6 +5683,7 @@ LIBGRPC++_CRONET_SRC = \
5667
5683
  src/core/lib/iomgr/gethostname_fallback.cc \
5668
5684
  src/core/lib/iomgr/gethostname_host_name_max.cc \
5669
5685
  src/core/lib/iomgr/gethostname_sysconf.cc \
5686
+ src/core/lib/iomgr/internal_errqueue.cc \
5670
5687
  src/core/lib/iomgr/iocp_windows.cc \
5671
5688
  src/core/lib/iomgr/iomgr.cc \
5672
5689
  src/core/lib/iomgr/iomgr_custom.cc \
@@ -5889,6 +5906,7 @@ PUBLIC_HEADERS_CXX += \
5889
5906
  include/grpcpp/support/async_unary_call.h \
5890
5907
  include/grpcpp/support/byte_buffer.h \
5891
5908
  include/grpcpp/support/channel_arguments.h \
5909
+ include/grpcpp/support/client_callback.h \
5892
5910
  include/grpcpp/support/config.h \
5893
5911
  include/grpcpp/support/proto_buffer_reader.h \
5894
5912
  include/grpcpp/support/proto_buffer_writer.h \
@@ -5986,8 +6004,11 @@ PUBLIC_HEADERS_CXX += \
5986
6004
  include/grpcpp/impl/codegen/byte_buffer.h \
5987
6005
  include/grpcpp/impl/codegen/call.h \
5988
6006
  include/grpcpp/impl/codegen/call_hook.h \
6007
+ include/grpcpp/impl/codegen/callback_common.h \
5989
6008
  include/grpcpp/impl/codegen/channel_interface.h \
6009
+ include/grpcpp/impl/codegen/client_callback.h \
5990
6010
  include/grpcpp/impl/codegen/client_context.h \
6011
+ include/grpcpp/impl/codegen/client_interceptor.h \
5991
6012
  include/grpcpp/impl/codegen/client_unary_call.h \
5992
6013
  include/grpcpp/impl/codegen/completion_queue.h \
5993
6014
  include/grpcpp/impl/codegen/completion_queue_tag.h \
@@ -5995,6 +6016,7 @@ PUBLIC_HEADERS_CXX += \
5995
6016
  include/grpcpp/impl/codegen/core_codegen_interface.h \
5996
6017
  include/grpcpp/impl/codegen/create_auth_context.h \
5997
6018
  include/grpcpp/impl/codegen/grpc_library.h \
6019
+ include/grpcpp/impl/codegen/interceptor.h \
5998
6020
  include/grpcpp/impl/codegen/metadata_map.h \
5999
6021
  include/grpcpp/impl/codegen/method_handler_impl.h \
6000
6022
  include/grpcpp/impl/codegen/rpc_method.h \
@@ -6376,8 +6398,11 @@ PUBLIC_HEADERS_CXX += \
6376
6398
  include/grpcpp/impl/codegen/byte_buffer.h \
6377
6399
  include/grpcpp/impl/codegen/call.h \
6378
6400
  include/grpcpp/impl/codegen/call_hook.h \
6401
+ include/grpcpp/impl/codegen/callback_common.h \
6379
6402
  include/grpcpp/impl/codegen/channel_interface.h \
6403
+ include/grpcpp/impl/codegen/client_callback.h \
6380
6404
  include/grpcpp/impl/codegen/client_context.h \
6405
+ include/grpcpp/impl/codegen/client_interceptor.h \
6381
6406
  include/grpcpp/impl/codegen/client_unary_call.h \
6382
6407
  include/grpcpp/impl/codegen/completion_queue.h \
6383
6408
  include/grpcpp/impl/codegen/completion_queue_tag.h \
@@ -6385,6 +6410,7 @@ PUBLIC_HEADERS_CXX += \
6385
6410
  include/grpcpp/impl/codegen/core_codegen_interface.h \
6386
6411
  include/grpcpp/impl/codegen/create_auth_context.h \
6387
6412
  include/grpcpp/impl/codegen/grpc_library.h \
6413
+ include/grpcpp/impl/codegen/interceptor.h \
6388
6414
  include/grpcpp/impl/codegen/metadata_map.h \
6389
6415
  include/grpcpp/impl/codegen/method_handler_impl.h \
6390
6416
  include/grpcpp/impl/codegen/rpc_method.h \
@@ -6530,8 +6556,11 @@ PUBLIC_HEADERS_CXX += \
6530
6556
  include/grpcpp/impl/codegen/byte_buffer.h \
6531
6557
  include/grpcpp/impl/codegen/call.h \
6532
6558
  include/grpcpp/impl/codegen/call_hook.h \
6559
+ include/grpcpp/impl/codegen/callback_common.h \
6533
6560
  include/grpcpp/impl/codegen/channel_interface.h \
6561
+ include/grpcpp/impl/codegen/client_callback.h \
6534
6562
  include/grpcpp/impl/codegen/client_context.h \
6563
+ include/grpcpp/impl/codegen/client_interceptor.h \
6535
6564
  include/grpcpp/impl/codegen/client_unary_call.h \
6536
6565
  include/grpcpp/impl/codegen/completion_queue.h \
6537
6566
  include/grpcpp/impl/codegen/completion_queue_tag.h \
@@ -6539,6 +6568,7 @@ PUBLIC_HEADERS_CXX += \
6539
6568
  include/grpcpp/impl/codegen/core_codegen_interface.h \
6540
6569
  include/grpcpp/impl/codegen/create_auth_context.h \
6541
6570
  include/grpcpp/impl/codegen/grpc_library.h \
6571
+ include/grpcpp/impl/codegen/interceptor.h \
6542
6572
  include/grpcpp/impl/codegen/metadata_map.h \
6543
6573
  include/grpcpp/impl/codegen/method_handler_impl.h \
6544
6574
  include/grpcpp/impl/codegen/rpc_method.h \
@@ -6755,6 +6785,7 @@ PUBLIC_HEADERS_CXX += \
6755
6785
  include/grpcpp/support/async_unary_call.h \
6756
6786
  include/grpcpp/support/byte_buffer.h \
6757
6787
  include/grpcpp/support/channel_arguments.h \
6788
+ include/grpcpp/support/client_callback.h \
6758
6789
  include/grpcpp/support/config.h \
6759
6790
  include/grpcpp/support/proto_buffer_reader.h \
6760
6791
  include/grpcpp/support/proto_buffer_writer.h \
@@ -6852,8 +6883,11 @@ PUBLIC_HEADERS_CXX += \
6852
6883
  include/grpcpp/impl/codegen/byte_buffer.h \
6853
6884
  include/grpcpp/impl/codegen/call.h \
6854
6885
  include/grpcpp/impl/codegen/call_hook.h \
6886
+ include/grpcpp/impl/codegen/callback_common.h \
6855
6887
  include/grpcpp/impl/codegen/channel_interface.h \
6888
+ include/grpcpp/impl/codegen/client_callback.h \
6856
6889
  include/grpcpp/impl/codegen/client_context.h \
6890
+ include/grpcpp/impl/codegen/client_interceptor.h \
6857
6891
  include/grpcpp/impl/codegen/client_unary_call.h \
6858
6892
  include/grpcpp/impl/codegen/completion_queue.h \
6859
6893
  include/grpcpp/impl/codegen/completion_queue_tag.h \
@@ -6861,6 +6895,7 @@ PUBLIC_HEADERS_CXX += \
6861
6895
  include/grpcpp/impl/codegen/core_codegen_interface.h \
6862
6896
  include/grpcpp/impl/codegen/create_auth_context.h \
6863
6897
  include/grpcpp/impl/codegen/grpc_library.h \
6898
+ include/grpcpp/impl/codegen/interceptor.h \
6864
6899
  include/grpcpp/impl/codegen/metadata_map.h \
6865
6900
  include/grpcpp/impl/codegen/method_handler_impl.h \
6866
6901
  include/grpcpp/impl/codegen/rpc_method.h \
@@ -10701,6 +10736,38 @@ endif
10701
10736
  endif
10702
10737
 
10703
10738
 
10739
+ BUFFER_LIST_TEST_SRC = \
10740
+ test/core/iomgr/buffer_list_test.cc \
10741
+
10742
+ BUFFER_LIST_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(BUFFER_LIST_TEST_SRC))))
10743
+ ifeq ($(NO_SECURE),true)
10744
+
10745
+ # You can't build secure targets if you don't have OpenSSL.
10746
+
10747
+ $(BINDIR)/$(CONFIG)/buffer_list_test: openssl_dep_error
10748
+
10749
+ else
10750
+
10751
+
10752
+
10753
+ $(BINDIR)/$(CONFIG)/buffer_list_test: $(BUFFER_LIST_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10754
+ $(E) "[LD] Linking $@"
10755
+ $(Q) mkdir -p `dirname $@`
10756
+ $(Q) $(LD) $(LDFLAGS) $(BUFFER_LIST_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/buffer_list_test
10757
+
10758
+ endif
10759
+
10760
+ $(OBJDIR)/$(CONFIG)/test/core/iomgr/buffer_list_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
10761
+
10762
+ deps_buffer_list_test: $(BUFFER_LIST_TEST_OBJS:.o=.dep)
10763
+
10764
+ ifneq ($(NO_SECURE),true)
10765
+ ifneq ($(NO_DEPS),true)
10766
+ -include $(BUFFER_LIST_TEST_OBJS:.o=.dep)
10767
+ endif
10768
+ endif
10769
+
10770
+
10704
10771
  CHANNEL_CREATE_TEST_SRC = \
10705
10772
  test/core/surface/channel_create_test.cc \
10706
10773
 
@@ -11277,38 +11344,6 @@ endif
11277
11344
  endif
11278
11345
 
11279
11346
 
11280
- EV_EPOLLSIG_LINUX_TEST_SRC = \
11281
- test/core/iomgr/ev_epollsig_linux_test.cc \
11282
-
11283
- EV_EPOLLSIG_LINUX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(EV_EPOLLSIG_LINUX_TEST_SRC))))
11284
- ifeq ($(NO_SECURE),true)
11285
-
11286
- # You can't build secure targets if you don't have OpenSSL.
11287
-
11288
- $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test: openssl_dep_error
11289
-
11290
- else
11291
-
11292
-
11293
-
11294
- $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test: $(EV_EPOLLSIG_LINUX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
11295
- $(E) "[LD] Linking $@"
11296
- $(Q) mkdir -p `dirname $@`
11297
- $(Q) $(LD) $(LDFLAGS) $(EV_EPOLLSIG_LINUX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/ev_epollsig_linux_test
11298
-
11299
- endif
11300
-
11301
- $(OBJDIR)/$(CONFIG)/test/core/iomgr/ev_epollsig_linux_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
11302
-
11303
- deps_ev_epollsig_linux_test: $(EV_EPOLLSIG_LINUX_TEST_OBJS:.o=.dep)
11304
-
11305
- ifneq ($(NO_SECURE),true)
11306
- ifneq ($(NO_DEPS),true)
11307
- -include $(EV_EPOLLSIG_LINUX_TEST_OBJS:.o=.dep)
11308
- endif
11309
- endif
11310
-
11311
-
11312
11347
  FAKE_RESOLVER_TEST_SRC = \
11313
11348
  test/core/client_channel/resolvers/fake_resolver_test.cc \
11314
11349
 
@@ -13919,98 +13954,98 @@ endif
13919
13954
  endif
13920
13955
 
13921
13956
 
13922
- POLLSET_SET_TEST_SRC = \
13923
- test/core/iomgr/pollset_set_test.cc \
13957
+ RESOLVE_ADDRESS_POSIX_TEST_SRC = \
13958
+ test/core/iomgr/resolve_address_posix_test.cc \
13924
13959
 
13925
- POLLSET_SET_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(POLLSET_SET_TEST_SRC))))
13960
+ RESOLVE_ADDRESS_POSIX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_POSIX_TEST_SRC))))
13926
13961
  ifeq ($(NO_SECURE),true)
13927
13962
 
13928
13963
  # You can't build secure targets if you don't have OpenSSL.
13929
13964
 
13930
- $(BINDIR)/$(CONFIG)/pollset_set_test: openssl_dep_error
13965
+ $(BINDIR)/$(CONFIG)/resolve_address_posix_test: openssl_dep_error
13931
13966
 
13932
13967
  else
13933
13968
 
13934
13969
 
13935
13970
 
13936
- $(BINDIR)/$(CONFIG)/pollset_set_test: $(POLLSET_SET_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
13971
+ $(BINDIR)/$(CONFIG)/resolve_address_posix_test: $(RESOLVE_ADDRESS_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
13937
13972
  $(E) "[LD] Linking $@"
13938
13973
  $(Q) mkdir -p `dirname $@`
13939
- $(Q) $(LD) $(LDFLAGS) $(POLLSET_SET_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/pollset_set_test
13974
+ $(Q) $(LD) $(LDFLAGS) $(RESOLVE_ADDRESS_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/resolve_address_posix_test
13940
13975
 
13941
13976
  endif
13942
13977
 
13943
- $(OBJDIR)/$(CONFIG)/test/core/iomgr/pollset_set_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
13978
+ $(OBJDIR)/$(CONFIG)/test/core/iomgr/resolve_address_posix_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
13944
13979
 
13945
- deps_pollset_set_test: $(POLLSET_SET_TEST_OBJS:.o=.dep)
13980
+ deps_resolve_address_posix_test: $(RESOLVE_ADDRESS_POSIX_TEST_OBJS:.o=.dep)
13946
13981
 
13947
13982
  ifneq ($(NO_SECURE),true)
13948
13983
  ifneq ($(NO_DEPS),true)
13949
- -include $(POLLSET_SET_TEST_OBJS:.o=.dep)
13984
+ -include $(RESOLVE_ADDRESS_POSIX_TEST_OBJS:.o=.dep)
13950
13985
  endif
13951
13986
  endif
13952
13987
 
13953
13988
 
13954
- RESOLVE_ADDRESS_POSIX_TEST_SRC = \
13955
- test/core/iomgr/resolve_address_posix_test.cc \
13989
+ RESOLVE_ADDRESS_USING_ARES_RESOLVER_TEST_SRC = \
13990
+ test/core/iomgr/resolve_address_test.cc \
13956
13991
 
13957
- RESOLVE_ADDRESS_POSIX_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_POSIX_TEST_SRC))))
13992
+ RESOLVE_ADDRESS_USING_ARES_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_USING_ARES_RESOLVER_TEST_SRC))))
13958
13993
  ifeq ($(NO_SECURE),true)
13959
13994
 
13960
13995
  # You can't build secure targets if you don't have OpenSSL.
13961
13996
 
13962
- $(BINDIR)/$(CONFIG)/resolve_address_posix_test: openssl_dep_error
13997
+ $(BINDIR)/$(CONFIG)/resolve_address_using_ares_resolver_test: openssl_dep_error
13963
13998
 
13964
13999
  else
13965
14000
 
13966
14001
 
13967
14002
 
13968
- $(BINDIR)/$(CONFIG)/resolve_address_posix_test: $(RESOLVE_ADDRESS_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
14003
+ $(BINDIR)/$(CONFIG)/resolve_address_using_ares_resolver_test: $(RESOLVE_ADDRESS_USING_ARES_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
13969
14004
  $(E) "[LD] Linking $@"
13970
14005
  $(Q) mkdir -p `dirname $@`
13971
- $(Q) $(LD) $(LDFLAGS) $(RESOLVE_ADDRESS_POSIX_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/resolve_address_posix_test
14006
+ $(Q) $(LD) $(LDFLAGS) $(RESOLVE_ADDRESS_USING_ARES_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/resolve_address_using_ares_resolver_test
13972
14007
 
13973
14008
  endif
13974
14009
 
13975
- $(OBJDIR)/$(CONFIG)/test/core/iomgr/resolve_address_posix_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
14010
+ $(OBJDIR)/$(CONFIG)/test/core/iomgr/resolve_address_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
13976
14011
 
13977
- deps_resolve_address_posix_test: $(RESOLVE_ADDRESS_POSIX_TEST_OBJS:.o=.dep)
14012
+ deps_resolve_address_using_ares_resolver_test: $(RESOLVE_ADDRESS_USING_ARES_RESOLVER_TEST_OBJS:.o=.dep)
13978
14013
 
13979
14014
  ifneq ($(NO_SECURE),true)
13980
14015
  ifneq ($(NO_DEPS),true)
13981
- -include $(RESOLVE_ADDRESS_POSIX_TEST_OBJS:.o=.dep)
14016
+ -include $(RESOLVE_ADDRESS_USING_ARES_RESOLVER_TEST_OBJS:.o=.dep)
13982
14017
  endif
13983
14018
  endif
13984
14019
 
13985
14020
 
13986
- RESOLVE_ADDRESS_TEST_SRC = \
14021
+ RESOLVE_ADDRESS_USING_NATIVE_RESOLVER_TEST_SRC = \
13987
14022
  test/core/iomgr/resolve_address_test.cc \
13988
14023
 
13989
- RESOLVE_ADDRESS_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_TEST_SRC))))
14024
+ RESOLVE_ADDRESS_USING_NATIVE_RESOLVER_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(RESOLVE_ADDRESS_USING_NATIVE_RESOLVER_TEST_SRC))))
13990
14025
  ifeq ($(NO_SECURE),true)
13991
14026
 
13992
14027
  # You can't build secure targets if you don't have OpenSSL.
13993
14028
 
13994
- $(BINDIR)/$(CONFIG)/resolve_address_test: openssl_dep_error
14029
+ $(BINDIR)/$(CONFIG)/resolve_address_using_native_resolver_test: openssl_dep_error
13995
14030
 
13996
14031
  else
13997
14032
 
13998
14033
 
13999
14034
 
14000
- $(BINDIR)/$(CONFIG)/resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
14035
+ $(BINDIR)/$(CONFIG)/resolve_address_using_native_resolver_test: $(RESOLVE_ADDRESS_USING_NATIVE_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
14001
14036
  $(E) "[LD] Linking $@"
14002
14037
  $(Q) mkdir -p `dirname $@`
14003
- $(Q) $(LD) $(LDFLAGS) $(RESOLVE_ADDRESS_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/resolve_address_test
14038
+ $(Q) $(LD) $(LDFLAGS) $(RESOLVE_ADDRESS_USING_NATIVE_RESOLVER_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/resolve_address_using_native_resolver_test
14004
14039
 
14005
14040
  endif
14006
14041
 
14007
14042
  $(OBJDIR)/$(CONFIG)/test/core/iomgr/resolve_address_test.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
14008
14043
 
14009
- deps_resolve_address_test: $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
14044
+ deps_resolve_address_using_native_resolver_test: $(RESOLVE_ADDRESS_USING_NATIVE_RESOLVER_TEST_OBJS:.o=.dep)
14010
14045
 
14011
14046
  ifneq ($(NO_SECURE),true)
14012
14047
  ifneq ($(NO_DEPS),true)
14013
- -include $(RESOLVE_ADDRESS_TEST_OBJS:.o=.dep)
14048
+ -include $(RESOLVE_ADDRESS_USING_NATIVE_RESOLVER_TEST_OBJS:.o=.dep)
14014
14049
  endif
14015
14050
  endif
14016
14051
 
@@ -17028,6 +17063,49 @@ endif
17028
17063
  endif
17029
17064
 
17030
17065
 
17066
+ CLIENT_CALLBACK_END2END_TEST_SRC = \
17067
+ test/cpp/end2end/client_callback_end2end_test.cc \
17068
+
17069
+ CLIENT_CALLBACK_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLIENT_CALLBACK_END2END_TEST_SRC))))
17070
+ ifeq ($(NO_SECURE),true)
17071
+
17072
+ # You can't build secure targets if you don't have OpenSSL.
17073
+
17074
+ $(BINDIR)/$(CONFIG)/client_callback_end2end_test: openssl_dep_error
17075
+
17076
+ else
17077
+
17078
+
17079
+
17080
+
17081
+ ifeq ($(NO_PROTOBUF),true)
17082
+
17083
+ # You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.5.0+.
17084
+
17085
+ $(BINDIR)/$(CONFIG)/client_callback_end2end_test: protobuf_dep_error
17086
+
17087
+ else
17088
+
17089
+ $(BINDIR)/$(CONFIG)/client_callback_end2end_test: $(PROTOBUF_DEP) $(CLIENT_CALLBACK_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
17090
+ $(E) "[LD] Linking $@"
17091
+ $(Q) mkdir -p `dirname $@`
17092
+ $(Q) $(LDXX) $(LDFLAGS) $(CLIENT_CALLBACK_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/client_callback_end2end_test
17093
+
17094
+ endif
17095
+
17096
+ endif
17097
+
17098
+ $(OBJDIR)/$(CONFIG)/test/cpp/end2end/client_callback_end2end_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
17099
+
17100
+ deps_client_callback_end2end_test: $(CLIENT_CALLBACK_END2END_TEST_OBJS:.o=.dep)
17101
+
17102
+ ifneq ($(NO_SECURE),true)
17103
+ ifneq ($(NO_DEPS),true)
17104
+ -include $(CLIENT_CALLBACK_END2END_TEST_OBJS:.o=.dep)
17105
+ endif
17106
+ endif
17107
+
17108
+
17031
17109
  CLIENT_CHANNEL_STRESS_TEST_SRC = \
17032
17110
  $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc \
17033
17111
  test/cpp/client/client_channel_stress_test.cc \