grpc 1.10.0 → 1.11.0.pre2

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 (762) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +2098 -501
  3. data/include/grpc/byte_buffer.h +2 -0
  4. data/include/grpc/byte_buffer_reader.h +2 -0
  5. data/include/grpc/census.h +2 -0
  6. data/include/grpc/fork.h +2 -0
  7. data/include/grpc/grpc.h +10 -0
  8. data/include/grpc/grpc_cronet.h +2 -0
  9. data/include/grpc/grpc_posix.h +2 -1
  10. data/include/grpc/grpc_security.h +21 -0
  11. data/include/grpc/grpc_security_constants.h +1 -0
  12. data/include/grpc/impl/codegen/byte_buffer.h +2 -0
  13. data/include/grpc/impl/codegen/grpc_types.h +24 -0
  14. data/include/grpc/impl/codegen/slice.h +1 -1
  15. data/include/grpc/impl/codegen/sync.h +1 -0
  16. data/include/grpc/impl/codegen/sync_custom.h +2 -0
  17. data/include/grpc/impl/codegen/sync_generic.h +2 -0
  18. data/include/grpc/impl/codegen/sync_posix.h +2 -0
  19. data/include/grpc/impl/codegen/sync_windows.h +2 -0
  20. data/include/grpc/slice.h +2 -0
  21. data/include/grpc/slice_buffer.h +2 -0
  22. data/include/grpc/status.h +2 -0
  23. data/include/grpc/support/alloc.h +2 -2
  24. data/include/grpc/support/atm.h +2 -0
  25. data/include/grpc/support/atm_gcc_atomic.h +2 -0
  26. data/include/grpc/support/atm_gcc_sync.h +2 -0
  27. data/include/grpc/support/atm_windows.h +2 -0
  28. data/include/grpc/support/log.h +1 -1
  29. data/include/grpc/support/sync.h +2 -0
  30. data/include/grpc/support/sync_custom.h +2 -0
  31. data/include/grpc/support/sync_generic.h +2 -0
  32. data/include/grpc/support/sync_posix.h +2 -0
  33. data/include/grpc/support/sync_windows.h +2 -0
  34. data/include/grpc/support/time.h +2 -0
  35. data/src/boringssl/err_data.c +444 -438
  36. data/src/core/ext/census/grpc_context.cc +2 -0
  37. data/src/core/ext/filters/client_channel/backup_poller.cc +13 -8
  38. data/src/core/ext/filters/client_channel/backup_poller.h +3 -2
  39. data/src/core/ext/filters/client_channel/channel_connectivity.cc +2 -0
  40. data/src/core/ext/filters/client_channel/client_channel.cc +1988 -433
  41. data/src/core/ext/filters/client_channel/client_channel.h +2 -0
  42. data/src/core/ext/filters/client_channel/client_channel_factory.cc +2 -0
  43. data/src/core/ext/filters/client_channel/client_channel_factory.h +2 -0
  44. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +2 -27
  45. data/src/core/ext/filters/client_channel/connector.cc +2 -0
  46. data/src/core/ext/filters/client_channel/connector.h +2 -0
  47. data/src/core/ext/filters/client_channel/http_connect_handshaker.cc +2 -0
  48. data/src/core/ext/filters/client_channel/http_proxy.cc +2 -0
  49. data/src/core/ext/filters/client_channel/lb_policy.cc +2 -0
  50. data/src/core/ext/filters/client_channel/lb_policy.h +2 -0
  51. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +2 -0
  52. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +2 -0
  53. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +96 -78
  54. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h +9 -17
  55. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc +70 -62
  56. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +2 -0
  57. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +2 -0
  58. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +2 -0
  59. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +2 -0
  60. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +4 -2
  61. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +4 -2
  62. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc +2 -0
  63. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +2 -0
  64. data/src/core/ext/filters/client_channel/lb_policy_factory.cc +3 -1
  65. data/src/core/ext/filters/client_channel/lb_policy_factory.h +2 -1
  66. data/src/core/ext/filters/client_channel/lb_policy_registry.cc +2 -0
  67. data/src/core/ext/filters/client_channel/lb_policy_registry.h +2 -1
  68. data/src/core/ext/filters/client_channel/method_params.cc +178 -0
  69. data/src/core/ext/filters/client_channel/method_params.h +74 -0
  70. data/src/core/ext/filters/client_channel/parse_address.cc +17 -13
  71. data/src/core/ext/filters/client_channel/parse_address.h +2 -0
  72. data/src/core/ext/filters/client_channel/proxy_mapper.cc +2 -0
  73. data/src/core/ext/filters/client_channel/proxy_mapper.h +2 -0
  74. data/src/core/ext/filters/client_channel/proxy_mapper_registry.cc +2 -0
  75. data/src/core/ext/filters/client_channel/proxy_mapper_registry.h +2 -0
  76. data/src/core/ext/filters/client_channel/resolver.cc +2 -0
  77. data/src/core/ext/filters/client_channel/resolver.h +6 -0
  78. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +24 -5
  79. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +2 -1
  80. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +1 -0
  81. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +55 -1
  82. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +8 -1
  83. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc +1 -0
  84. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +30 -3
  85. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +7 -0
  86. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +2 -1
  87. data/src/core/ext/filters/client_channel/resolver_factory.h +2 -0
  88. data/src/core/ext/filters/client_channel/resolver_registry.cc +2 -0
  89. data/src/core/ext/filters/client_channel/resolver_registry.h +2 -0
  90. data/src/core/ext/filters/client_channel/retry_throttle.cc +102 -120
  91. data/src/core/ext/filters/client_channel/retry_throttle.h +52 -25
  92. data/src/core/ext/filters/client_channel/subchannel.cc +14 -4
  93. data/src/core/ext/filters/client_channel/subchannel.h +10 -1
  94. data/src/core/ext/filters/client_channel/subchannel_index.cc +2 -0
  95. data/src/core/ext/filters/client_channel/subchannel_index.h +2 -0
  96. data/src/core/ext/filters/client_channel/uri_parser.cc +2 -1
  97. data/src/core/ext/filters/client_channel/uri_parser.h +2 -1
  98. data/src/core/ext/filters/deadline/deadline_filter.cc +2 -1
  99. data/src/core/ext/filters/deadline/deadline_filter.h +2 -0
  100. data/src/core/ext/filters/http/client/http_client_filter.cc +27 -25
  101. data/src/core/ext/filters/http/client/http_client_filter.h +2 -0
  102. data/src/core/ext/filters/http/client_authority_filter.cc +156 -0
  103. data/src/core/ext/filters/http/client_authority_filter.h +34 -0
  104. data/src/core/ext/filters/http/http_filters_plugin.cc +2 -0
  105. data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +21 -22
  106. data/src/core/ext/filters/http/message_compress/message_compress_filter.h +2 -0
  107. data/src/core/ext/filters/http/server/http_server_filter.cc +11 -8
  108. data/src/core/ext/filters/http/server/http_server_filter.h +2 -0
  109. data/src/core/ext/filters/load_reporting/server_load_reporting_filter.cc +2 -0
  110. data/src/core/ext/filters/load_reporting/server_load_reporting_filter.h +2 -0
  111. data/src/core/ext/filters/load_reporting/server_load_reporting_plugin.h +2 -0
  112. data/src/core/ext/filters/max_age/max_age_filter.cc +2 -0
  113. data/src/core/ext/filters/max_age/max_age_filter.h +2 -0
  114. data/src/core/ext/filters/message_size/message_size_filter.cc +52 -49
  115. data/src/core/ext/filters/message_size/message_size_filter.h +2 -0
  116. data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc +5 -1
  117. data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h +2 -0
  118. data/src/core/ext/filters/workarounds/workaround_utils.cc +2 -0
  119. data/src/core/ext/filters/workarounds/workaround_utils.h +2 -0
  120. data/src/core/ext/transport/chttp2/alpn/alpn.cc +3 -1
  121. data/src/core/ext/transport/chttp2/alpn/alpn.h +2 -0
  122. data/src/core/ext/transport/chttp2/client/authority.cc +42 -0
  123. data/src/core/ext/transport/chttp2/client/authority.h +36 -0
  124. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +2 -0
  125. data/src/core/ext/transport/chttp2/client/chttp2_connector.h +2 -0
  126. data/src/core/ext/transport/chttp2/client/insecure/channel_create.cc +10 -3
  127. data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc +2 -2
  128. data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc +37 -25
  129. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +2 -0
  130. data/src/core/ext/transport/chttp2/server/chttp2_server.h +3 -1
  131. data/src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc +2 -1
  132. data/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc +2 -1
  133. data/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc +2 -0
  134. data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +3 -1
  135. data/src/core/ext/transport/chttp2/transport/bin_decoder.h +2 -0
  136. data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +2 -0
  137. data/src/core/ext/transport/chttp2/transport/bin_encoder.h +2 -0
  138. data/src/core/ext/transport/chttp2/transport/chttp2_plugin.cc +2 -0
  139. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +152 -182
  140. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +2 -0
  141. data/src/core/ext/transport/chttp2/transport/flow_control.cc +2 -0
  142. data/src/core/ext/transport/chttp2/transport/flow_control.h +1 -0
  143. data/src/core/ext/transport/chttp2/transport/frame.h +2 -1
  144. data/src/core/ext/transport/chttp2/transport/frame_data.cc +15 -19
  145. data/src/core/ext/transport/chttp2/transport/frame_data.h +7 -5
  146. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +2 -0
  147. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +2 -2
  148. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +2 -0
  149. data/src/core/ext/transport/chttp2/transport/frame_ping.h +2 -1
  150. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +2 -0
  151. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +2 -1
  152. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +2 -0
  153. data/src/core/ext/transport/chttp2/transport/frame_settings.h +2 -2
  154. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +2 -0
  155. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +2 -1
  156. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +2 -0
  157. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +2 -1
  158. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +2 -1
  159. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +2 -2
  160. data/src/core/ext/transport/chttp2/transport/hpack_table.cc +2 -0
  161. data/src/core/ext/transport/chttp2/transport/hpack_table.h +2 -1
  162. data/src/core/ext/transport/chttp2/transport/http2_settings.cc +2 -0
  163. data/src/core/ext/transport/chttp2/transport/http2_settings.h +2 -0
  164. data/src/core/ext/transport/chttp2/transport/huffsyms.cc +2 -0
  165. data/src/core/ext/transport/chttp2/transport/incoming_metadata.cc +3 -2
  166. data/src/core/ext/transport/chttp2/transport/incoming_metadata.h +2 -0
  167. data/src/core/ext/transport/chttp2/transport/internal.h +60 -24
  168. data/src/core/ext/transport/chttp2/transport/parsing.cc +2 -4
  169. data/src/core/ext/transport/chttp2/transport/stream_lists.cc +2 -0
  170. data/src/core/ext/transport/chttp2/transport/stream_map.cc +2 -0
  171. data/src/core/ext/transport/chttp2/transport/varint.cc +2 -0
  172. data/src/core/ext/transport/chttp2/transport/writing.cc +10 -6
  173. data/src/core/ext/transport/inproc/inproc_plugin.cc +2 -0
  174. data/src/core/ext/transport/inproc/inproc_transport.cc +20 -23
  175. data/src/core/ext/transport/inproc/inproc_transport.h +2 -0
  176. data/src/core/lib/avl/avl.cc +2 -0
  177. data/src/core/lib/avl/avl.h +2 -0
  178. data/src/core/lib/backoff/backoff.cc +2 -0
  179. data/src/core/lib/backoff/backoff.h +2 -0
  180. data/src/core/lib/channel/channel_args.h +2 -0
  181. data/src/core/lib/channel/channel_stack.cc +3 -1
  182. data/src/core/lib/channel/channel_stack.h +2 -0
  183. data/src/core/lib/channel/channel_stack_builder.cc +2 -0
  184. data/src/core/lib/channel/channel_stack_builder.h +2 -0
  185. data/src/core/lib/channel/channel_trace.cc +239 -0
  186. data/src/core/lib/channel/channel_trace.h +133 -0
  187. data/src/core/lib/channel/channel_trace_registry.cc +80 -0
  188. data/src/core/lib/channel/channel_trace_registry.h +43 -0
  189. data/src/core/lib/channel/connected_channel.cc +2 -0
  190. data/src/core/lib/channel/connected_channel.h +2 -0
  191. data/src/core/lib/channel/handshaker.cc +2 -0
  192. data/src/core/lib/channel/handshaker.h +2 -0
  193. data/src/core/lib/channel/handshaker_factory.cc +2 -0
  194. data/src/core/lib/channel/handshaker_factory.h +2 -1
  195. data/src/core/lib/channel/handshaker_registry.cc +2 -0
  196. data/src/core/lib/channel/handshaker_registry.h +2 -1
  197. data/src/core/lib/channel/status_util.cc +100 -0
  198. data/src/core/lib/channel/status_util.h +58 -0
  199. data/src/core/lib/compression/algorithm_metadata.h +2 -0
  200. data/src/core/lib/compression/compression.cc +2 -0
  201. data/src/core/lib/compression/compression_internal.cc +2 -0
  202. data/src/core/lib/compression/compression_internal.h +2 -0
  203. data/src/core/lib/compression/message_compress.cc +2 -0
  204. data/src/core/lib/compression/message_compress.h +2 -0
  205. data/src/core/lib/compression/stream_compression.cc +2 -0
  206. data/src/core/lib/compression/stream_compression.h +2 -0
  207. data/src/core/lib/compression/stream_compression_gzip.cc +2 -0
  208. data/src/core/lib/compression/stream_compression_gzip.h +2 -0
  209. data/src/core/lib/compression/stream_compression_identity.cc +2 -1
  210. data/src/core/lib/compression/stream_compression_identity.h +2 -0
  211. data/src/core/lib/debug/stats.cc +2 -0
  212. data/src/core/lib/debug/stats.h +2 -0
  213. data/src/core/lib/debug/stats_data.cc +3 -1
  214. data/src/core/lib/debug/stats_data.h +2 -0
  215. data/src/core/lib/debug/trace.cc +2 -0
  216. data/src/core/lib/debug/trace.h +2 -1
  217. data/src/core/lib/gpr/alloc.cc +2 -1
  218. data/src/core/lib/gpr/arena.cc +47 -0
  219. data/src/core/lib/gpr/arena.h +2 -0
  220. data/src/core/lib/gpr/atm.cc +2 -0
  221. data/src/core/lib/gpr/cpu_linux.cc +5 -1
  222. data/src/core/lib/gpr/cpu_posix.cc +1 -1
  223. data/src/core/lib/gpr/env.h +2 -0
  224. data/src/core/lib/gpr/fork.cc +2 -0
  225. data/src/core/lib/gpr/host_port.cc +2 -0
  226. data/src/core/lib/gpr/log.cc +2 -1
  227. data/src/core/lib/gpr/log_linux.cc +1 -0
  228. data/src/core/lib/gpr/mpscq.cc +2 -0
  229. data/src/core/lib/gpr/mpscq.h +2 -0
  230. data/src/core/lib/gpr/murmur_hash.cc +2 -0
  231. data/src/core/lib/gpr/spinlock.h +2 -0
  232. data/src/core/lib/gpr/string.cc +2 -1
  233. data/src/core/lib/gpr/string.h +2 -2
  234. data/src/core/lib/gpr/sync.cc +2 -0
  235. data/src/core/lib/gpr/time.cc +2 -0
  236. data/src/core/lib/gpr/time_posix.cc +1 -0
  237. data/src/core/lib/gpr/time_precise.cc +2 -0
  238. data/src/core/lib/gpr/time_precise.h +2 -0
  239. data/src/core/lib/gpr/tls_gcc.h +2 -0
  240. data/src/core/lib/gpr/tls_msvc.h +2 -0
  241. data/src/core/lib/gpr/tls_pthread.h +2 -0
  242. data/src/core/lib/gpr/tmpfile.h +2 -0
  243. data/src/core/lib/gprpp/atomic_with_atm.h +2 -0
  244. data/src/core/lib/gprpp/atomic_with_std.h +2 -0
  245. data/src/core/lib/gprpp/inlined_vector.h +2 -0
  246. data/src/core/lib/gprpp/manual_constructor.h +3 -1
  247. data/src/core/lib/gprpp/memory.h +5 -3
  248. data/src/core/lib/gprpp/orphanable.h +3 -0
  249. data/src/core/lib/gprpp/ref_counted.h +4 -0
  250. data/src/core/lib/gprpp/ref_counted_ptr.h +3 -0
  251. data/src/core/lib/gprpp/thd.h +135 -0
  252. data/src/core/lib/gprpp/thd_posix.cc +209 -0
  253. data/src/core/lib/gprpp/thd_windows.cc +162 -0
  254. data/src/core/lib/http/format_request.cc +2 -0
  255. data/src/core/lib/http/format_request.h +2 -0
  256. data/src/core/lib/http/httpcli.cc +2 -0
  257. data/src/core/lib/http/httpcli.h +2 -0
  258. data/src/core/lib/http/httpcli_security_connector.cc +16 -7
  259. data/src/core/lib/http/parser.cc +2 -0
  260. data/src/core/lib/http/parser.h +2 -1
  261. data/src/core/lib/iomgr/call_combiner.cc +2 -0
  262. data/src/core/lib/iomgr/call_combiner.h +2 -1
  263. data/src/core/lib/iomgr/combiner.cc +2 -0
  264. data/src/core/lib/iomgr/combiner.h +2 -0
  265. data/src/core/lib/iomgr/endpoint.cc +4 -0
  266. data/src/core/lib/iomgr/endpoint.h +2 -0
  267. data/src/core/lib/iomgr/endpoint_pair.h +2 -0
  268. data/src/core/lib/iomgr/endpoint_pair_posix.cc +2 -0
  269. data/src/core/lib/iomgr/endpoint_pair_uv.cc +2 -0
  270. data/src/core/lib/iomgr/endpoint_pair_windows.cc +7 -4
  271. data/src/core/lib/iomgr/error.h +2 -0
  272. data/src/core/lib/iomgr/error_internal.h +2 -0
  273. data/src/core/lib/iomgr/ev_epoll1_linux.cc +2 -0
  274. data/src/core/lib/iomgr/ev_epoll1_linux.h +2 -0
  275. data/src/core/lib/iomgr/ev_epollex_linux.cc +4 -18
  276. data/src/core/lib/iomgr/ev_epollex_linux.h +2 -0
  277. data/src/core/lib/iomgr/ev_epollsig_linux.cc +2 -0
  278. data/src/core/lib/iomgr/ev_epollsig_linux.h +2 -0
  279. data/src/core/lib/iomgr/ev_poll_posix.cc +61 -31
  280. data/src/core/lib/iomgr/ev_poll_posix.h +2 -0
  281. data/src/core/lib/iomgr/ev_posix.cc +35 -19
  282. data/src/core/lib/iomgr/ev_posix.h +2 -0
  283. data/src/core/lib/iomgr/ev_windows.cc +2 -0
  284. data/src/core/lib/iomgr/exec_ctx.cc +3 -1
  285. data/src/core/lib/iomgr/exec_ctx.h +21 -9
  286. data/src/core/lib/iomgr/executor.cc +13 -11
  287. data/src/core/lib/iomgr/executor.h +2 -0
  288. data/src/core/lib/iomgr/fork_posix.cc +4 -2
  289. data/src/core/lib/iomgr/fork_windows.cc +2 -0
  290. data/src/core/lib/iomgr/gethostname_fallback.cc +2 -0
  291. data/src/core/lib/iomgr/gethostname_host_name_max.cc +2 -0
  292. data/src/core/lib/iomgr/gethostname_sysconf.cc +2 -0
  293. data/src/core/lib/iomgr/iocp_windows.cc +3 -1
  294. data/src/core/lib/iomgr/iocp_windows.h +3 -0
  295. data/src/core/lib/iomgr/iomgr.cc +2 -1
  296. data/src/core/lib/iomgr/iomgr.h +2 -0
  297. data/src/core/lib/iomgr/iomgr_custom.cc +63 -0
  298. data/src/core/lib/iomgr/iomgr_custom.h +47 -0
  299. data/src/core/lib/iomgr/iomgr_internal.cc +43 -0
  300. data/src/core/lib/iomgr/iomgr_internal.h +14 -0
  301. data/src/core/lib/iomgr/iomgr_posix.cc +30 -3
  302. data/src/core/lib/iomgr/iomgr_posix.h +2 -0
  303. data/src/core/lib/iomgr/iomgr_uv.cc +17 -20
  304. data/src/core/lib/iomgr/iomgr_windows.cc +29 -3
  305. data/src/core/lib/iomgr/is_epollexclusive_available.cc +2 -0
  306. data/src/core/lib/iomgr/is_epollexclusive_available.h +2 -0
  307. data/src/core/lib/iomgr/load_file.cc +2 -0
  308. data/src/core/lib/iomgr/load_file.h +2 -0
  309. data/src/core/lib/iomgr/lockfree_event.cc +2 -0
  310. data/src/core/lib/iomgr/lockfree_event.h +14 -1
  311. data/src/core/lib/iomgr/nameser.h +2 -0
  312. data/src/core/lib/iomgr/network_status_tracker.cc +3 -1
  313. data/src/core/lib/iomgr/network_status_tracker.h +2 -0
  314. data/src/core/lib/iomgr/polling_entity.cc +2 -0
  315. data/src/core/lib/iomgr/polling_entity.h +2 -0
  316. data/src/core/lib/iomgr/pollset.cc +56 -0
  317. data/src/core/lib/iomgr/pollset.h +19 -0
  318. data/src/core/lib/iomgr/pollset_custom.cc +106 -0
  319. data/src/core/lib/iomgr/{timer_generic.h → pollset_custom.h} +15 -17
  320. data/src/core/lib/iomgr/pollset_set.cc +55 -0
  321. data/src/core/lib/iomgr/pollset_set.h +13 -0
  322. data/src/core/lib/iomgr/pollset_set_custom.cc +48 -0
  323. data/src/core/lib/iomgr/{pollset_uv.h → pollset_set_custom.h} +6 -7
  324. data/src/core/lib/iomgr/pollset_set_windows.cc +17 -10
  325. data/src/core/lib/iomgr/pollset_set_windows.h +2 -0
  326. data/src/core/lib/iomgr/pollset_uv.cc +42 -105
  327. data/src/core/lib/iomgr/pollset_windows.cc +20 -12
  328. data/src/core/lib/iomgr/pollset_windows.h +2 -0
  329. data/src/core/lib/iomgr/port.h +10 -19
  330. data/src/core/lib/iomgr/resolve_address.cc +50 -0
  331. data/src/core/lib/iomgr/resolve_address.h +39 -10
  332. data/src/core/lib/iomgr/resolve_address_custom.cc +187 -0
  333. data/src/core/lib/iomgr/resolve_address_custom.h +43 -0
  334. data/src/core/lib/iomgr/resolve_address_posix.cc +10 -22
  335. data/src/core/lib/iomgr/resolve_address_windows.cc +10 -22
  336. data/src/core/lib/iomgr/resource_quota.cc +2 -0
  337. data/src/core/lib/iomgr/resource_quota.h +3 -5
  338. data/src/core/lib/iomgr/sockaddr.h +3 -11
  339. data/src/core/lib/iomgr/sockaddr_custom.h +54 -0
  340. data/src/core/lib/iomgr/sockaddr_posix.h +26 -0
  341. data/src/core/lib/iomgr/sockaddr_utils.cc +91 -71
  342. data/src/core/lib/iomgr/sockaddr_utils.h +4 -0
  343. data/src/core/lib/iomgr/sockaddr_windows.h +21 -0
  344. data/src/core/lib/iomgr/socket_factory_posix.cc +2 -0
  345. data/src/core/lib/iomgr/socket_factory_posix.h +2 -0
  346. data/src/core/lib/iomgr/socket_mutator.cc +2 -0
  347. data/src/core/lib/iomgr/socket_mutator.h +2 -0
  348. data/src/core/lib/iomgr/socket_utils.h +11 -0
  349. data/src/core/lib/iomgr/socket_utils_common_posix.cc +15 -6
  350. data/src/core/lib/iomgr/socket_utils_linux.cc +4 -4
  351. data/src/core/lib/iomgr/socket_utils_posix.cc +3 -2
  352. data/src/core/lib/iomgr/socket_utils_posix.h +2 -0
  353. data/src/core/lib/iomgr/socket_utils_uv.cc +13 -2
  354. data/src/core/lib/iomgr/socket_utils_windows.cc +10 -0
  355. data/src/core/lib/iomgr/socket_windows.cc +2 -0
  356. data/src/core/lib/iomgr/socket_windows.h +2 -1
  357. data/src/core/lib/iomgr/sys_epoll_wrapper.h +2 -0
  358. data/src/core/lib/iomgr/tcp_client.cc +36 -0
  359. data/src/core/lib/iomgr/tcp_client.h +13 -0
  360. data/src/core/lib/iomgr/tcp_client_custom.cc +151 -0
  361. data/src/core/lib/iomgr/tcp_client_posix.cc +11 -24
  362. data/src/core/lib/iomgr/tcp_client_posix.h +2 -0
  363. data/src/core/lib/iomgr/tcp_client_windows.cc +10 -23
  364. data/src/core/lib/iomgr/tcp_custom.cc +365 -0
  365. data/src/core/lib/iomgr/tcp_custom.h +81 -0
  366. data/src/core/lib/iomgr/tcp_posix.cc +3 -1
  367. data/src/core/lib/iomgr/tcp_posix.h +2 -0
  368. data/src/core/lib/iomgr/tcp_server.cc +73 -0
  369. data/src/core/lib/iomgr/tcp_server.h +24 -0
  370. data/src/core/lib/iomgr/tcp_server_custom.cc +472 -0
  371. data/src/core/lib/iomgr/tcp_server_posix.cc +41 -23
  372. data/src/core/lib/iomgr/tcp_server_utils_posix.h +2 -0
  373. data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +7 -7
  374. data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +8 -6
  375. data/src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc +2 -0
  376. data/src/core/lib/iomgr/tcp_server_windows.cc +43 -21
  377. data/src/core/lib/iomgr/tcp_uv.cc +308 -314
  378. data/src/core/lib/iomgr/tcp_windows.cc +3 -1
  379. data/src/core/lib/iomgr/tcp_windows.h +2 -0
  380. data/src/core/lib/iomgr/time_averaged_stats.cc +2 -0
  381. data/src/core/lib/iomgr/timer.cc +45 -0
  382. data/src/core/lib/iomgr/timer.h +36 -15
  383. data/src/core/lib/iomgr/timer_custom.cc +93 -0
  384. data/src/core/lib/iomgr/timer_custom.h +43 -0
  385. data/src/core/lib/iomgr/timer_generic.cc +12 -10
  386. data/src/core/lib/iomgr/timer_heap.cc +2 -4
  387. data/src/core/lib/iomgr/timer_heap.h +2 -0
  388. data/src/core/lib/iomgr/timer_manager.cc +12 -20
  389. data/src/core/lib/iomgr/timer_manager.h +2 -0
  390. data/src/core/lib/iomgr/timer_uv.cc +15 -49
  391. data/src/core/lib/iomgr/udp_server.cc +271 -230
  392. data/src/core/lib/iomgr/udp_server.h +44 -20
  393. data/src/core/lib/iomgr/unix_sockets_posix.cc +10 -7
  394. data/src/core/lib/iomgr/unix_sockets_posix.h +2 -0
  395. data/src/core/lib/iomgr/unix_sockets_posix_noop.cc +2 -0
  396. data/src/core/lib/iomgr/wakeup_fd_cv.cc +3 -1
  397. data/src/core/lib/iomgr/wakeup_fd_cv.h +2 -0
  398. data/src/core/lib/iomgr/wakeup_fd_eventfd.cc +2 -0
  399. data/src/core/lib/iomgr/wakeup_fd_nospecial.cc +2 -0
  400. data/src/core/lib/iomgr/wakeup_fd_pipe.cc +2 -0
  401. data/src/core/lib/iomgr/wakeup_fd_pipe.h +2 -0
  402. data/src/core/lib/iomgr/wakeup_fd_posix.cc +2 -0
  403. data/src/core/lib/iomgr/wakeup_fd_posix.h +2 -0
  404. data/src/core/lib/json/json.cc +38 -0
  405. data/src/core/lib/json/json.h +22 -1
  406. data/src/core/lib/json/json_reader.cc +2 -2
  407. data/src/core/lib/json/json_reader.h +1 -0
  408. data/src/core/lib/json/json_string.cc +2 -0
  409. data/src/core/lib/json/json_writer.cc +2 -2
  410. data/src/core/lib/json/json_writer.h +2 -0
  411. data/src/core/lib/profiling/basic_timers.cc +11 -9
  412. data/src/core/lib/profiling/timers.h +6 -3
  413. data/src/core/lib/security/context/security_context.cc +2 -0
  414. data/src/core/lib/security/context/security_context.h +2 -0
  415. data/src/core/lib/security/credentials/alts/alts_credentials.cc +119 -0
  416. data/src/core/lib/security/credentials/alts/alts_credentials.h +102 -0
  417. data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +72 -0
  418. data/src/core/lib/security/credentials/alts/check_gcp_environment.h +57 -0
  419. data/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc +67 -0
  420. data/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc +33 -0
  421. data/src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc +114 -0
  422. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +126 -0
  423. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc +46 -0
  424. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h +112 -0
  425. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc +58 -0
  426. data/src/core/lib/security/credentials/composite/composite_credentials.cc +2 -0
  427. data/src/core/lib/security/credentials/composite/composite_credentials.h +2 -0
  428. data/src/core/lib/security/credentials/credentials.cc +2 -0
  429. data/src/core/lib/security/credentials/credentials.h +2 -0
  430. data/src/core/lib/security/credentials/credentials_metadata.cc +2 -0
  431. data/src/core/lib/security/credentials/fake/fake_credentials.cc +2 -3
  432. data/src/core/lib/security/credentials/fake/fake_credentials.h +5 -0
  433. data/src/core/lib/security/credentials/google_default/credentials_generic.cc +2 -0
  434. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +2 -0
  435. data/src/core/lib/security/credentials/iam/iam_credentials.cc +2 -0
  436. data/src/core/lib/security/credentials/iam/iam_credentials.h +2 -0
  437. data/src/core/lib/security/credentials/jwt/json_token.cc +2 -0
  438. data/src/core/lib/security/credentials/jwt/json_token.h +2 -0
  439. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +2 -0
  440. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +2 -0
  441. data/src/core/lib/security/credentials/jwt/jwt_verifier.h +2 -0
  442. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +2 -0
  443. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +2 -0
  444. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +2 -0
  445. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +2 -0
  446. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +11 -2
  447. data/src/core/lib/security/credentials/ssl/ssl_credentials.h +2 -0
  448. data/src/core/lib/security/security_connector/alts_security_connector.cc +287 -0
  449. data/src/core/lib/security/security_connector/alts_security_connector.h +69 -0
  450. data/src/core/lib/security/security_connector/security_connector.cc +174 -74
  451. data/src/core/lib/security/security_connector/security_connector.h +41 -7
  452. data/src/core/lib/security/transport/auth_filters.h +2 -0
  453. data/src/core/lib/security/transport/client_auth_filter.cc +14 -28
  454. data/src/core/lib/security/transport/secure_endpoint.cc +2 -0
  455. data/src/core/lib/security/transport/secure_endpoint.h +2 -0
  456. data/src/core/lib/security/transport/security_handshaker.cc +2 -0
  457. data/src/core/lib/security/transport/security_handshaker.h +2 -1
  458. data/src/core/lib/security/transport/server_auth_filter.cc +2 -0
  459. data/src/core/lib/security/transport/target_authority_table.cc +75 -0
  460. data/src/core/lib/security/transport/{lb_targets_info.h → target_authority_table.h} +16 -8
  461. data/src/core/lib/security/transport/tsi_error.cc +2 -0
  462. data/src/core/lib/security/transport/tsi_error.h +2 -0
  463. data/src/core/lib/security/util/json_util.cc +2 -0
  464. data/src/core/lib/security/util/json_util.h +2 -0
  465. data/src/core/lib/slice/b64.cc +2 -0
  466. data/src/core/lib/slice/b64.h +2 -0
  467. data/src/core/lib/slice/percent_encoding.cc +2 -0
  468. data/src/core/lib/slice/percent_encoding.h +2 -0
  469. data/src/core/lib/slice/slice.cc +2 -0
  470. data/src/core/lib/slice/slice_buffer.cc +3 -1
  471. data/src/core/lib/slice/slice_hash_table.h +178 -45
  472. data/src/core/lib/slice/slice_intern.cc +2 -0
  473. data/src/core/lib/slice/slice_internal.h +2 -2
  474. data/src/core/lib/slice/slice_string_helpers.cc +2 -0
  475. data/src/core/lib/slice/slice_string_helpers.h +2 -1
  476. data/src/core/lib/slice/slice_weak_hash_table.h +105 -0
  477. data/src/core/lib/surface/api_trace.cc +3 -1
  478. data/src/core/lib/surface/api_trace.h +2 -0
  479. data/src/core/lib/surface/byte_buffer.cc +3 -0
  480. data/src/core/lib/surface/byte_buffer_reader.cc +3 -0
  481. data/src/core/lib/surface/call.cc +46 -80
  482. data/src/core/lib/surface/call.h +2 -0
  483. data/src/core/lib/surface/call_details.cc +2 -0
  484. data/src/core/lib/surface/call_log_batch.cc +2 -0
  485. data/src/core/lib/surface/call_test_only.h +2 -0
  486. data/src/core/lib/surface/channel.cc +72 -41
  487. data/src/core/lib/surface/channel.h +2 -0
  488. data/src/core/lib/surface/channel_init.cc +2 -0
  489. data/src/core/lib/surface/channel_init.h +2 -0
  490. data/src/core/lib/surface/channel_ping.cc +2 -0
  491. data/src/core/lib/surface/channel_stack_type.cc +3 -2
  492. data/src/core/lib/surface/channel_stack_type.h +2 -0
  493. data/src/core/lib/surface/completion_queue.h +2 -0
  494. data/src/core/lib/surface/completion_queue_factory.cc +3 -1
  495. data/src/core/lib/surface/completion_queue_factory.h +2 -0
  496. data/src/core/lib/surface/event_string.cc +2 -0
  497. data/src/core/lib/surface/event_string.h +2 -0
  498. data/src/core/lib/surface/init.cc +5 -2
  499. data/src/core/lib/surface/init_secure.cc +5 -2
  500. data/src/core/lib/surface/lame_client.cc +7 -5
  501. data/src/core/lib/surface/lame_client.h +2 -0
  502. data/src/core/lib/surface/metadata_array.cc +2 -0
  503. data/src/core/lib/surface/server.cc +2 -0
  504. data/src/core/lib/surface/server.h +2 -0
  505. data/src/core/lib/surface/validate_metadata.cc +2 -1
  506. data/src/core/lib/surface/validate_metadata.h +2 -0
  507. data/src/core/lib/surface/version.cc +4 -2
  508. data/src/core/lib/transport/bdp_estimator.cc +2 -0
  509. data/src/core/lib/transport/byte_stream.cc +94 -116
  510. data/src/core/lib/transport/byte_stream.h +111 -78
  511. data/src/core/lib/transport/connectivity_state.cc +2 -0
  512. data/src/core/lib/transport/connectivity_state.h +3 -1
  513. data/src/core/lib/transport/error_utils.cc +2 -0
  514. data/src/core/lib/transport/error_utils.h +2 -0
  515. data/src/core/lib/transport/metadata.cc +2 -0
  516. data/src/core/lib/transport/metadata.h +3 -1
  517. data/src/core/lib/transport/metadata_batch.cc +26 -0
  518. data/src/core/lib/transport/metadata_batch.h +12 -1
  519. data/src/core/lib/transport/pid_controller.cc +2 -0
  520. data/src/core/lib/transport/pid_controller.h +2 -0
  521. data/src/core/lib/transport/service_config.cc +21 -175
  522. data/src/core/lib/transport/service_config.h +223 -35
  523. data/src/core/lib/transport/static_metadata.cc +310 -294
  524. data/src/core/lib/transport/static_metadata.h +96 -82
  525. data/src/core/lib/transport/status_conversion.cc +2 -0
  526. data/src/core/lib/transport/status_conversion.h +3 -0
  527. data/src/core/lib/transport/status_metadata.cc +54 -0
  528. data/src/core/lib/{iomgr/timer_uv.h → transport/status_metadata.h} +10 -12
  529. data/src/core/lib/transport/timeout_encoding.cc +2 -1
  530. data/src/core/lib/transport/timeout_encoding.h +2 -0
  531. data/src/core/lib/transport/transport.cc +3 -1
  532. data/src/core/lib/transport/transport.h +33 -7
  533. data/src/core/lib/transport/transport_impl.h +2 -0
  534. data/src/core/lib/transport/transport_op_string.cc +10 -3
  535. data/src/core/plugin_registry/grpc_plugin_registry.cc +10 -4
  536. data/src/core/tsi/alts/crypt/aes_gcm.cc +687 -0
  537. data/src/core/tsi/alts/crypt/gsec.cc +189 -0
  538. data/src/core/tsi/alts/crypt/gsec.h +454 -0
  539. data/src/core/tsi/alts/frame_protector/alts_counter.cc +118 -0
  540. data/src/core/tsi/alts/frame_protector/alts_counter.h +98 -0
  541. data/src/core/tsi/alts/frame_protector/alts_crypter.cc +66 -0
  542. data/src/core/tsi/alts/frame_protector/alts_crypter.h +255 -0
  543. data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +407 -0
  544. data/src/core/tsi/alts/frame_protector/alts_frame_protector.h +55 -0
  545. data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc +114 -0
  546. data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h +114 -0
  547. data/src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc +105 -0
  548. data/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc +103 -0
  549. data/src/core/tsi/alts/frame_protector/frame_handler.cc +218 -0
  550. data/src/core/tsi/alts/frame_protector/frame_handler.h +236 -0
  551. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +316 -0
  552. data/src/core/tsi/alts/handshaker/alts_handshaker_client.h +137 -0
  553. data/src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc +520 -0
  554. data/src/core/tsi/alts/handshaker/alts_handshaker_service_api.h +323 -0
  555. data/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc +143 -0
  556. data/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.h +149 -0
  557. data/src/core/tsi/alts/handshaker/alts_tsi_event.cc +73 -0
  558. data/src/core/tsi/alts/handshaker/alts_tsi_event.h +93 -0
  559. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +483 -0
  560. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +83 -0
  561. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h +52 -0
  562. data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +58 -0
  563. data/src/core/tsi/alts/handshaker/alts_tsi_utils.h +52 -0
  564. data/src/core/tsi/alts/handshaker/altscontext.pb.c +48 -0
  565. data/src/core/tsi/alts/handshaker/altscontext.pb.h +64 -0
  566. data/src/core/tsi/alts/handshaker/handshaker.pb.c +123 -0
  567. data/src/core/tsi/alts/handshaker/handshaker.pb.h +255 -0
  568. data/src/core/tsi/alts/handshaker/transport_security_common.pb.c +50 -0
  569. data/src/core/tsi/alts/handshaker/transport_security_common.pb.h +78 -0
  570. data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +196 -0
  571. data/src/core/tsi/alts/handshaker/transport_security_common_api.h +163 -0
  572. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +180 -0
  573. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +52 -0
  574. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +144 -0
  575. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h +49 -0
  576. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h +91 -0
  577. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +174 -0
  578. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.h +100 -0
  579. data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc +476 -0
  580. data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h +199 -0
  581. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +296 -0
  582. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +52 -0
  583. data/src/core/tsi/alts_transport_security.cc +3 -1
  584. data/src/core/tsi/alts_transport_security.h +4 -2
  585. data/src/core/tsi/fake_transport_security.cc +2 -1
  586. data/src/core/tsi/fake_transport_security.h +2 -0
  587. data/src/core/tsi/ssl/session_cache/ssl_session.h +73 -0
  588. data/src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc +58 -0
  589. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +211 -0
  590. data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +93 -0
  591. data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +76 -0
  592. data/src/core/tsi/ssl_transport_security.cc +266 -62
  593. data/src/core/tsi/ssl_transport_security.h +128 -6
  594. data/src/core/tsi/ssl_types.h +2 -0
  595. data/src/core/tsi/transport_security.cc +2 -0
  596. data/src/core/tsi/transport_security.h +2 -0
  597. data/src/core/tsi/transport_security_adapter.cc +2 -0
  598. data/src/core/tsi/transport_security_adapter.h +2 -0
  599. data/src/core/tsi/transport_security_grpc.cc +2 -0
  600. data/src/core/tsi/transport_security_grpc.h +2 -0
  601. data/src/core/tsi/transport_security_interface.h +2 -0
  602. data/src/ruby/ext/grpc/extconf.rb +1 -2
  603. data/src/ruby/ext/grpc/rb_call.c +1 -13
  604. data/src/ruby/ext/grpc/rb_channel.c +6 -6
  605. data/src/ruby/ext/grpc/rb_compression_options.c +1 -1
  606. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +10 -0
  607. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +15 -0
  608. data/src/ruby/lib/grpc/core/time_consts.rb +1 -1
  609. data/src/ruby/lib/grpc/generic/bidi_call.rb +19 -8
  610. data/src/ruby/lib/grpc/generic/client_stub.rb +6 -10
  611. data/src/ruby/lib/grpc/generic/interceptors.rb +1 -1
  612. data/src/ruby/lib/grpc/generic/rpc_server.rb +2 -2
  613. data/src/ruby/lib/grpc/version.rb +1 -1
  614. data/src/ruby/spec/generic/client_stub_spec.rb +133 -0
  615. data/src/ruby/spec/pb/package_with_underscore/checker_spec.rb +54 -0
  616. data/src/ruby/spec/pb/package_with_underscore/data.proto +23 -0
  617. data/src/ruby/spec/pb/package_with_underscore/service.proto +23 -0
  618. data/third_party/address_sorting/address_sorting.c +369 -0
  619. data/third_party/address_sorting/address_sorting_internal.h +70 -0
  620. data/third_party/address_sorting/address_sorting_posix.c +97 -0
  621. data/third_party/address_sorting/address_sorting_windows.c +55 -0
  622. data/third_party/address_sorting/include/address_sorting/address_sorting.h +110 -0
  623. data/third_party/boringssl/crypto/asn1/a_enum.c +20 -9
  624. data/third_party/boringssl/crypto/asn1/a_i2d_fp.c +3 -0
  625. data/third_party/boringssl/crypto/asn1/a_int.c +19 -8
  626. data/third_party/boringssl/crypto/asn1/a_object.c +0 -128
  627. data/third_party/boringssl/crypto/asn1/asn1_locl.h +3 -0
  628. data/third_party/boringssl/crypto/asn1/tasn_fre.c +2 -4
  629. data/third_party/boringssl/crypto/asn1/tasn_new.c +3 -2
  630. data/third_party/boringssl/crypto/bn_extra/bn_asn1.c +0 -16
  631. data/third_party/boringssl/crypto/buf/buf.c +14 -0
  632. data/third_party/boringssl/crypto/bytestring/cbb.c +93 -0
  633. data/third_party/boringssl/crypto/conf/conf.c +2 -2
  634. data/third_party/boringssl/crypto/cpu-intel.c +17 -17
  635. data/third_party/boringssl/crypto/crypto.c +16 -4
  636. data/third_party/boringssl/crypto/curve25519/spake25519.c +11 -11
  637. data/third_party/boringssl/crypto/curve25519/x25519-x86_64.c +1 -1
  638. data/third_party/boringssl/crypto/dsa/dsa.c +9 -21
  639. data/third_party/boringssl/crypto/ec_extra/ec_asn1.c +2 -2
  640. data/third_party/boringssl/crypto/ecdsa_extra/ecdsa_asn1.c +1 -8
  641. data/third_party/boringssl/crypto/evp/p_rsa_asn1.c +2 -23
  642. data/third_party/boringssl/crypto/ex_data.c +0 -1
  643. data/third_party/boringssl/crypto/fipsmodule/bn/add.c +7 -11
  644. data/third_party/boringssl/crypto/fipsmodule/bn/asm/x86_64-gcc.c +19 -16
  645. data/third_party/boringssl/crypto/fipsmodule/bn/cmp.c +15 -0
  646. data/third_party/boringssl/crypto/fipsmodule/bn/div.c +53 -46
  647. data/third_party/boringssl/crypto/fipsmodule/bn/exponentiation.c +242 -85
  648. data/third_party/boringssl/crypto/fipsmodule/bn/generic.c +42 -47
  649. data/third_party/boringssl/crypto/fipsmodule/bn/internal.h +176 -34
  650. data/third_party/boringssl/crypto/fipsmodule/bn/montgomery.c +118 -65
  651. data/third_party/boringssl/crypto/fipsmodule/bn/mul.c +94 -61
  652. data/third_party/boringssl/crypto/fipsmodule/bn/random.c +79 -63
  653. data/third_party/boringssl/crypto/fipsmodule/bn/shift.c +26 -28
  654. data/third_party/boringssl/crypto/fipsmodule/cipher/cipher.c +2 -0
  655. data/third_party/boringssl/crypto/fipsmodule/ec/ec.c +250 -149
  656. data/third_party/boringssl/crypto/fipsmodule/ec/ec_montgomery.c +0 -27
  657. data/third_party/boringssl/crypto/fipsmodule/ec/internal.h +54 -20
  658. data/third_party/boringssl/crypto/fipsmodule/ec/oct.c +3 -3
  659. data/third_party/boringssl/crypto/fipsmodule/ec/p224-64.c +7 -41
  660. data/third_party/boringssl/crypto/fipsmodule/ec/p256-64.c +6 -40
  661. data/third_party/boringssl/crypto/fipsmodule/ec/p256-x86_64.c +17 -122
  662. data/third_party/boringssl/crypto/fipsmodule/ec/simple.c +3 -64
  663. data/third_party/boringssl/crypto/fipsmodule/ec/wnaf.c +27 -9
  664. data/third_party/boringssl/crypto/fipsmodule/ecdsa/ecdsa.c +203 -205
  665. data/third_party/boringssl/crypto/fipsmodule/modes/cbc.c +14 -15
  666. data/third_party/boringssl/crypto/fipsmodule/modes/cfb.c +12 -8
  667. data/third_party/boringssl/crypto/fipsmodule/modes/ctr.c +4 -3
  668. data/third_party/boringssl/crypto/fipsmodule/modes/gcm.c +25 -36
  669. data/third_party/boringssl/crypto/fipsmodule/modes/internal.h +10 -0
  670. data/third_party/boringssl/crypto/fipsmodule/rsa/internal.h +0 -4
  671. data/third_party/boringssl/crypto/fipsmodule/rsa/rsa.c +2 -0
  672. data/third_party/boringssl/crypto/fipsmodule/rsa/rsa_impl.c +9 -19
  673. data/third_party/boringssl/crypto/lhash/lhash.c +19 -0
  674. data/third_party/boringssl/crypto/obj/obj.c +29 -69
  675. data/third_party/boringssl/crypto/pem/pem_lib.c +2 -2
  676. data/third_party/boringssl/crypto/poly1305/poly1305_vec.c +4 -55
  677. data/third_party/boringssl/crypto/rsa_extra/rsa_asn1.c +3 -22
  678. data/third_party/boringssl/crypto/x509/by_dir.c +1 -3
  679. data/third_party/boringssl/crypto/x509/by_file.c +0 -1
  680. data/third_party/boringssl/crypto/x509/x509_lu.c +0 -1
  681. data/third_party/boringssl/crypto/x509/x509_obj.c +1 -3
  682. data/third_party/boringssl/crypto/x509/x509_txt.c +0 -6
  683. data/third_party/boringssl/crypto/x509/x509_vfy.c +0 -1
  684. data/third_party/boringssl/crypto/x509/x509_vpm.c +0 -1
  685. data/third_party/boringssl/crypto/x509/x_algor.c +2 -2
  686. data/third_party/boringssl/crypto/x509v3/v3_alt.c +3 -4
  687. data/third_party/boringssl/crypto/x509v3/v3_genn.c +1 -0
  688. data/third_party/boringssl/crypto/x509v3/v3_info.c +1 -2
  689. data/third_party/boringssl/crypto/x509v3/v3_lib.c +15 -7
  690. data/third_party/boringssl/crypto/x509v3/v3_utl.c +41 -2
  691. data/third_party/boringssl/include/openssl/asn1.h +0 -1
  692. data/third_party/boringssl/include/openssl/base.h +1 -1
  693. data/third_party/boringssl/include/openssl/bio.h +5 -2
  694. data/third_party/boringssl/include/openssl/bn.h +2 -17
  695. data/third_party/boringssl/include/openssl/buf.h +4 -0
  696. data/third_party/boringssl/include/openssl/bytestring.h +11 -0
  697. data/third_party/boringssl/include/openssl/chacha.h +5 -1
  698. data/third_party/boringssl/include/openssl/cipher.h +10 -0
  699. data/third_party/boringssl/include/openssl/conf.h +4 -8
  700. data/third_party/boringssl/include/openssl/dsa.h +2 -18
  701. data/third_party/boringssl/include/openssl/ec.h +5 -5
  702. data/third_party/boringssl/include/openssl/ecdsa.h +10 -28
  703. data/third_party/boringssl/include/openssl/evp.h +0 -4
  704. data/third_party/boringssl/include/openssl/lhash.h +1 -18
  705. data/third_party/boringssl/include/openssl/obj.h +1 -0
  706. data/third_party/boringssl/include/openssl/rsa.h +3 -4
  707. data/third_party/boringssl/include/openssl/ssl.h +35 -54
  708. data/third_party/boringssl/include/openssl/ssl3.h +2 -0
  709. data/third_party/boringssl/include/openssl/stack.h +1 -1
  710. data/third_party/boringssl/include/openssl/tls1.h +1 -16
  711. data/third_party/boringssl/include/openssl/x509.h +3 -2
  712. data/third_party/boringssl/include/openssl/x509_vfy.h +0 -2
  713. data/third_party/boringssl/include/openssl/x509v3.h +1 -0
  714. data/third_party/boringssl/ssl/custom_extensions.cc +1 -1
  715. data/third_party/boringssl/ssl/d1_both.cc +120 -129
  716. data/third_party/boringssl/ssl/d1_lib.cc +23 -21
  717. data/third_party/boringssl/ssl/d1_pkt.cc +39 -143
  718. data/third_party/boringssl/ssl/dtls_method.cc +16 -23
  719. data/third_party/boringssl/ssl/dtls_record.cc +11 -4
  720. data/third_party/boringssl/ssl/handshake.cc +109 -40
  721. data/third_party/boringssl/ssl/handshake_client.cc +104 -96
  722. data/third_party/boringssl/ssl/handshake_server.cc +62 -72
  723. data/third_party/boringssl/ssl/internal.h +397 -318
  724. data/third_party/boringssl/ssl/s3_both.cc +173 -191
  725. data/third_party/boringssl/ssl/s3_lib.cc +26 -34
  726. data/third_party/boringssl/ssl/s3_pkt.cc +105 -247
  727. data/third_party/boringssl/ssl/ssl_asn1.cc +22 -22
  728. data/third_party/boringssl/ssl/ssl_buffer.cc +98 -108
  729. data/third_party/boringssl/ssl/ssl_cert.cc +12 -1
  730. data/third_party/boringssl/ssl/ssl_cipher.cc +23 -28
  731. data/third_party/boringssl/ssl/ssl_key_share.cc +11 -6
  732. data/third_party/boringssl/ssl/ssl_lib.cc +190 -113
  733. data/third_party/boringssl/ssl/ssl_privkey.cc +76 -106
  734. data/third_party/boringssl/ssl/ssl_session.cc +3 -3
  735. data/third_party/boringssl/ssl/ssl_stat.cc +3 -3
  736. data/third_party/boringssl/ssl/ssl_transcript.cc +38 -22
  737. data/third_party/boringssl/ssl/ssl_versions.cc +64 -31
  738. data/third_party/boringssl/ssl/t1_enc.cc +137 -154
  739. data/third_party/boringssl/ssl/t1_lib.cc +463 -478
  740. data/third_party/boringssl/ssl/tls13_both.cc +57 -58
  741. data/third_party/boringssl/ssl/tls13_client.cc +256 -121
  742. data/third_party/boringssl/ssl/tls13_enc.cc +187 -72
  743. data/third_party/boringssl/ssl/tls13_server.cc +187 -86
  744. data/third_party/boringssl/ssl/tls_method.cc +20 -30
  745. data/third_party/boringssl/ssl/tls_record.cc +77 -40
  746. data/third_party/boringssl/third_party/fiat/curve25519.c +5062 -0
  747. data/third_party/boringssl/{crypto/curve25519 → third_party/fiat}/internal.h +40 -27
  748. data/third_party/nanopb/pb.h +1 -1
  749. metadata +147 -45
  750. data/src/core/lib/gpr/thd.cc +0 -49
  751. data/src/core/lib/gpr/thd.h +0 -71
  752. data/src/core/lib/gpr/thd_posix.cc +0 -154
  753. data/src/core/lib/gpr/thd_windows.cc +0 -107
  754. data/src/core/lib/iomgr/iomgr_uv.h +0 -37
  755. data/src/core/lib/iomgr/pollset_set_uv.cc +0 -43
  756. data/src/core/lib/iomgr/resolve_address_uv.cc +0 -284
  757. data/src/core/lib/iomgr/tcp_client_uv.cc +0 -175
  758. data/src/core/lib/iomgr/tcp_server_uv.cc +0 -471
  759. data/src/core/lib/iomgr/tcp_uv.h +0 -51
  760. data/src/core/lib/security/transport/lb_targets_info.cc +0 -59
  761. data/src/core/lib/slice/slice_hash_table.cc +0 -145
  762. data/third_party/boringssl/crypto/curve25519/curve25519.c +0 -4938
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_BYTE_BUFFER_H
20
20
  #define GRPC_BYTE_BUFFER_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/byte_buffer.h>
23
25
  #include <grpc/slice_buffer.h>
24
26
 
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_BYTE_BUFFER_READER_H
20
20
  #define GRPC_BYTE_BUFFER_READER_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/byte_buffer_reader.h>
23
25
 
24
26
  #endif /* GRPC_BYTE_BUFFER_READER_H */
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_CENSUS_H
20
20
  #define GRPC_CENSUS_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/grpc.h>
23
25
 
24
26
  #ifdef __cplusplus
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_FORK_H
20
20
  #define GRPC_FORK_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/fork.h>
23
25
 
24
26
  #endif /* GRPC_FORK_H */
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_GRPC_H
20
20
  #define GRPC_GRPC_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/status.h>
23
25
 
24
26
  #include <grpc/byte_buffer.h>
@@ -284,6 +286,14 @@ GRPCAPI grpc_channel* grpc_lame_client_channel_create(
284
286
  /** Close and destroy a grpc channel */
285
287
  GRPCAPI void grpc_channel_destroy(grpc_channel* channel);
286
288
 
289
+ /** Returns the JSON formatted channel trace for this channel. The caller
290
+ owns the returned string and is responsible for freeing it. */
291
+ GRPCAPI char* grpc_channel_get_trace(grpc_channel* channel);
292
+
293
+ /** Returns the channel uuid, which can be used to look up its trace at a
294
+ later time. */
295
+ GRPCAPI intptr_t grpc_channel_get_uuid(grpc_channel* channel);
296
+
287
297
  /** Error handling for grpc_call
288
298
  Most grpc_call functions return a grpc_error. If the error is not GRPC_OK
289
299
  then the operation failed due to some unsatisfied precondition.
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_GRPC_CRONET_H
20
20
  #define GRPC_GRPC_CRONET_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/grpc.h>
23
25
 
24
26
  #ifdef __cplusplus
@@ -19,9 +19,10 @@
19
19
  #ifndef GRPC_GRPC_POSIX_H
20
20
  #define GRPC_GRPC_POSIX_H
21
21
 
22
- #include <grpc/impl/codegen/grpc_types.h>
23
22
  #include <grpc/support/port_platform.h>
24
23
 
24
+ #include <grpc/impl/codegen/grpc_types.h>
25
+
25
26
  #include <stddef.h>
26
27
 
27
28
  #ifdef __cplusplus
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_GRPC_SECURITY_H
20
20
  #define GRPC_GRPC_SECURITY_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/grpc.h>
23
25
  #include <grpc/grpc_security_constants.h>
24
26
  #include <grpc/status.h>
@@ -98,6 +100,25 @@ GRPCAPI void grpc_auth_context_add_cstring_property(grpc_auth_context* ctx,
98
100
  GRPCAPI int grpc_auth_context_set_peer_identity_property_name(
99
101
  grpc_auth_context* ctx, const char* name);
100
102
 
103
+ /** --- SSL Session Cache. ---
104
+
105
+ A SSL session cache object represents a way to cache client sessions
106
+ between connections. Only ticket-based resumption is supported. */
107
+
108
+ typedef struct grpc_ssl_session_cache grpc_ssl_session_cache;
109
+
110
+ /** Create LRU cache for client-side SSL sessions with the given capacity.
111
+ If capacity is < 1, a default capacity is used instead. */
112
+ GRPCAPI grpc_ssl_session_cache* grpc_ssl_session_cache_create_lru(
113
+ size_t capacity);
114
+
115
+ /** Destroy SSL session cache. */
116
+ GRPCAPI void grpc_ssl_session_cache_destroy(grpc_ssl_session_cache* cache);
117
+
118
+ /** Create a channel arg with the given cache object. */
119
+ GRPCAPI grpc_arg
120
+ grpc_ssl_session_cache_create_channel_arg(grpc_ssl_session_cache* cache);
121
+
101
122
  /** --- grpc_channel_credentials object. ---
102
123
 
103
124
  A channel credentials object represents a way to authenticate a client on a
@@ -29,6 +29,7 @@ extern "C" {
29
29
  #define GRPC_X509_CN_PROPERTY_NAME "x509_common_name"
30
30
  #define GRPC_X509_SAN_PROPERTY_NAME "x509_subject_alternative_name"
31
31
  #define GRPC_X509_PEM_CERT_PROPERTY_NAME "x509_pem_cert"
32
+ #define GRPC_SSL_SESSION_REUSED_PROPERTY "ssl_session_reused"
32
33
 
33
34
  /** Environment variable that points to the default SSL roots file. This file
34
35
  must be a PEM encoded file with all the roots such as the one that can be
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_IMPL_CODEGEN_BYTE_BUFFER_H
20
20
  #define GRPC_IMPL_CODEGEN_BYTE_BUFFER_H
21
21
 
22
+ #include <grpc/impl/codegen/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/grpc_types.h>
23
25
 
24
26
  #ifdef __cplusplus
@@ -258,6 +258,10 @@ typedef struct {
258
258
  secure channel is an SSL channel). If this parameter is specified and the
259
259
  underlying is not an SSL channel, it will just be ignored. */
260
260
  #define GRPC_SSL_TARGET_NAME_OVERRIDE_ARG "grpc.ssl_target_name_override"
261
+ /** If non-zero, a pointer to a session cache (a pointer of type
262
+ grpc_ssl_session_cache*). (use grpc_ssl_session_cache_arg_vtable() to fetch
263
+ an appropriate pointer arg vtable) */
264
+ #define GRPC_SSL_SESSION_CACHE_ARG "grpc.ssl_session_cache"
261
265
  /** Maximum metadata size, in bytes. Note this limit applies to the max sum of
262
266
  all metadata key-value entries in a batch of headers. */
263
267
  #define GRPC_ARG_MAX_METADATA_SIZE "grpc.max_metadata_size"
@@ -281,6 +285,10 @@ typedef struct {
281
285
  #define GRPC_ARG_SOCKET_MUTATOR "grpc.socket_mutator"
282
286
  /** The grpc_socket_factory instance to create and bind sockets. A pointer. */
283
287
  #define GRPC_ARG_SOCKET_FACTORY "grpc.socket_factory"
288
+ /** The maximum number of trace events to keep in the tracer for each channel or
289
+ * subchannel. The default is 10. If set to 0, channel tracing is disabled. */
290
+ #define GRPC_ARG_MAX_CHANNEL_TRACE_EVENTS_PER_NODE \
291
+ "grpc.max_channel_trace_events_per_node"
284
292
  /** If non-zero, Cronet transport will coalesce packets to fewer frames
285
293
  * when possible. */
286
294
  #define GRPC_ARG_USE_CRONET_PACKET_COALESCING \
@@ -314,6 +322,20 @@ typedef struct {
314
322
  Defaults to "blend". In the current implementation "blend" is equivalent to
315
323
  "latency". */
316
324
  #define GRPC_ARG_OPTIMIZATION_TARGET "grpc.optimization_target"
325
+ /** If set to zero, disables retry behavior. Otherwise, transparent retries
326
+ are enabled for all RPCs, and configurable retries are enabled when they
327
+ are configured via the service config. For details, see:
328
+ https://github.com/grpc/proposal/blob/master/A6-client-retries.md
329
+ */
330
+ #define GRPC_ARG_ENABLE_RETRIES "grpc.enable_retries"
331
+ /** Per-RPC retry buffer size, in bytes. Default is 256 KiB. */
332
+ #define GRPC_ARG_PER_RPC_RETRY_BUFFER_SIZE "grpc.per_rpc_retry_buffer_size"
333
+ /** Channel arg that carries the bridged objective c object for custom metrics
334
+ * logging filter. */
335
+ #define GRPC_ARG_MOBILE_LOG_CONFIG "grpc.mobile_log_config"
336
+ /** If non-zero, client authority filter is disabled for the channel */
337
+ #define GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER \
338
+ "grpc.disable_client_authority_filter"
317
339
  /** \} */
318
340
 
319
341
  /** Result of a grpc call. If the caller satisfies the prerequisites of a
@@ -551,6 +573,8 @@ typedef struct grpc_op {
551
573
  } recv_initial_metadata;
552
574
  /** ownership of the byte buffer is moved to the caller; the caller must
553
575
  call grpc_byte_buffer_destroy on this value, or reuse it in a future op.
576
+ The returned byte buffer will be NULL if trailing metadata was
577
+ received instead of a message.
554
578
  */
555
579
  struct grpc_op_recv_message {
556
580
  struct grpc_byte_buffer** recv_message;
@@ -95,7 +95,7 @@ struct grpc_slice {
95
95
 
96
96
  /** Represents an expandable array of slices, to be interpreted as a
97
97
  single item. */
98
- typedef struct {
98
+ typedef struct grpc_slice_buffer {
99
99
  /** This is for internal use only. External users (i.e any code outside grpc
100
100
  * core) MUST NOT use this field */
101
101
  grpc_slice* base_slices;
@@ -43,6 +43,7 @@ extern "C" {
43
43
 
44
44
  /* Platform-specific type declarations of gpr_mu and gpr_cv. */
45
45
  #include <grpc/impl/codegen/port_platform.h>
46
+
46
47
  #include <grpc/impl/codegen/sync_generic.h>
47
48
 
48
49
  #if defined(GPR_POSIX_SYNC)
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_IMPL_CODEGEN_SYNC_CUSTOM_H
20
20
  #define GRPC_IMPL_CODEGEN_SYNC_CUSTOM_H
21
21
 
22
+ #include <grpc/impl/codegen/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/sync_generic.h>
23
25
 
24
26
  /* Users defining GPR_CUSTOM_SYNC need to define the following macros. */
@@ -20,6 +20,8 @@
20
20
  #define GRPC_IMPL_CODEGEN_SYNC_GENERIC_H
21
21
  /* Generic type defintions for gpr_sync. */
22
22
 
23
+ #include <grpc/impl/codegen/port_platform.h>
24
+
23
25
  #include <grpc/impl/codegen/atm.h>
24
26
 
25
27
  /* gpr_event */
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_IMPL_CODEGEN_SYNC_POSIX_H
20
20
  #define GRPC_IMPL_CODEGEN_SYNC_POSIX_H
21
21
 
22
+ #include <grpc/impl/codegen/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/sync_generic.h>
23
25
 
24
26
  #include <pthread.h>
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_IMPL_CODEGEN_SYNC_WINDOWS_H
20
20
  #define GRPC_IMPL_CODEGEN_SYNC_WINDOWS_H
21
21
 
22
+ #include <grpc/impl/codegen/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/sync_generic.h>
23
25
 
24
26
  typedef struct {
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SLICE_H
20
20
  #define GRPC_SLICE_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/slice.h>
23
25
  #include <grpc/support/sync.h>
24
26
 
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SLICE_BUFFER_H
20
20
  #define GRPC_SLICE_BUFFER_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/slice.h>
23
25
 
24
26
  #ifdef __cplusplus
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_STATUS_H
20
20
  #define GRPC_STATUS_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/status.h>
23
25
 
24
26
  #endif /* GRPC_STATUS_H */
@@ -19,9 +19,9 @@
19
19
  #ifndef GRPC_SUPPORT_ALLOC_H
20
20
  #define GRPC_SUPPORT_ALLOC_H
21
21
 
22
- #include <stddef.h>
22
+ #include <grpc/support/port_platform.h>
23
23
 
24
- #include <grpc/impl/codegen/port_platform.h>
24
+ #include <stddef.h>
25
25
 
26
26
  #ifdef __cplusplus
27
27
  extern "C" {
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_ATM_H
20
20
  #define GRPC_SUPPORT_ATM_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/atm.h>
23
25
 
24
26
  #endif /* GRPC_SUPPORT_ATM_H */
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_ATM_GCC_ATOMIC_H
20
20
  #define GRPC_SUPPORT_ATM_GCC_ATOMIC_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/atm_gcc_atomic.h>
23
25
 
24
26
  #endif /* GRPC_SUPPORT_ATM_GCC_ATOMIC_H */
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_ATM_GCC_SYNC_H
20
20
  #define GRPC_SUPPORT_ATM_GCC_SYNC_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/atm_gcc_sync.h>
23
25
 
24
26
  #endif /* GRPC_SUPPORT_ATM_GCC_SYNC_H */
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_ATM_WINDOWS_H
20
20
  #define GRPC_SUPPORT_ATM_WINDOWS_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/atm_windows.h>
23
25
 
24
26
  #endif /* GRPC_SUPPORT_ATM_WINDOWS_H */
@@ -20,7 +20,7 @@
20
20
  #define GRPC_SUPPORT_LOG_H
21
21
 
22
22
  #include <grpc/impl/codegen/port_platform.h>
23
- #include <inttypes.h>
23
+
24
24
  #include <stdarg.h>
25
25
  #include <stdlib.h> /* for abort() */
26
26
 
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_SYNC_H
20
20
  #define GRPC_SUPPORT_SYNC_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/gpr_types.h> /* for gpr_timespec */
23
25
  #include <grpc/impl/codegen/sync.h>
24
26
 
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_SYNC_CUSTOM_H
20
20
  #define GRPC_SUPPORT_SYNC_CUSTOM_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/sync_custom.h>
23
25
 
24
26
  #endif /* GRPC_SUPPORT_SYNC_CUSTOM_H */
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_SYNC_GENERIC_H
20
20
  #define GRPC_SUPPORT_SYNC_GENERIC_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/sync_generic.h>
23
25
 
24
26
  #endif /* GRPC_SUPPORT_SYNC_GENERIC_H */
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_SYNC_POSIX_H
20
20
  #define GRPC_SUPPORT_SYNC_POSIX_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/sync_posix.h>
23
25
 
24
26
  #endif /* GRPC_SUPPORT_SYNC_POSIX_H */
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_SYNC_WINDOWS_H
20
20
  #define GRPC_SUPPORT_SYNC_WINDOWS_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/sync_windows.h>
23
25
 
24
26
  #endif /* GRPC_SUPPORT_SYNC_WINDOWS_H */
@@ -19,6 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_TIME_H
20
20
  #define GRPC_SUPPORT_TIME_H
21
21
 
22
+ #include <grpc/support/port_platform.h>
23
+
22
24
  #include <grpc/impl/codegen/gpr_types.h>
23
25
 
24
26
  #include <stddef.h>
@@ -75,52 +75,52 @@ const uint32_t kOpenSSLReasonValues[] = {
75
75
  0xc3b00ea,
76
76
  0xc3b88d4,
77
77
  0x10320845,
78
- 0x10329513,
79
- 0x1033151f,
80
- 0x10339538,
81
- 0x1034154b,
82
- 0x10348eed,
78
+ 0x10329535,
79
+ 0x10331541,
80
+ 0x1033955a,
81
+ 0x1034156d,
82
+ 0x10348efc,
83
83
  0x10350c5e,
84
- 0x1035955e,
85
- 0x10361573,
86
- 0x10369586,
87
- 0x103715a5,
88
- 0x103795be,
89
- 0x103815d3,
90
- 0x103895f1,
91
- 0x10391600,
92
- 0x1039961c,
93
- 0x103a1637,
94
- 0x103a9646,
95
- 0x103b1662,
96
- 0x103b967d,
97
- 0x103c1694,
84
+ 0x10359580,
85
+ 0x10361595,
86
+ 0x103695a8,
87
+ 0x103715c7,
88
+ 0x103795e0,
89
+ 0x103815f5,
90
+ 0x10389613,
91
+ 0x10391622,
92
+ 0x1039963e,
93
+ 0x103a1659,
94
+ 0x103a9668,
95
+ 0x103b1684,
96
+ 0x103b969f,
97
+ 0x103c16b6,
98
98
  0x103c80ea,
99
- 0x103d16a5,
100
- 0x103d96b9,
101
- 0x103e16d8,
102
- 0x103e96e7,
103
- 0x103f16fe,
104
- 0x103f9711,
99
+ 0x103d16c7,
100
+ 0x103d96db,
101
+ 0x103e16fa,
102
+ 0x103e9709,
103
+ 0x103f1720,
104
+ 0x103f9733,
105
105
  0x10400c22,
106
- 0x10409724,
107
- 0x10411742,
108
- 0x10419755,
109
- 0x1042176f,
110
- 0x1042977f,
111
- 0x10431793,
112
- 0x104397a9,
113
- 0x104417c1,
114
- 0x104497d6,
115
- 0x104517ea,
116
- 0x104597fc,
106
+ 0x10409746,
107
+ 0x10411764,
108
+ 0x10419777,
109
+ 0x10421791,
110
+ 0x104297a1,
111
+ 0x104317b5,
112
+ 0x104397cb,
113
+ 0x104417e3,
114
+ 0x104497f8,
115
+ 0x1045180c,
116
+ 0x1045981e,
117
117
  0x104605fb,
118
118
  0x1046894d,
119
- 0x10471811,
120
- 0x10479828,
121
- 0x1048183d,
122
- 0x1048984b,
123
- 0x10490e4f,
119
+ 0x10471833,
120
+ 0x1047984a,
121
+ 0x1048185f,
122
+ 0x1048986d,
123
+ 0x10490e5e,
124
124
  0x14320c05,
125
125
  0x14328c13,
126
126
  0x14330c22,
@@ -128,55 +128,56 @@ const uint32_t kOpenSSLReasonValues[] = {
128
128
  0x143400ac,
129
129
  0x143480ea,
130
130
  0x18320083,
131
- 0x18328f43,
131
+ 0x18328f52,
132
132
  0x183300ac,
133
- 0x18338f59,
134
- 0x18340f6d,
133
+ 0x18338f68,
134
+ 0x18340f7c,
135
135
  0x183480ea,
136
- 0x18350f82,
137
- 0x18358f9a,
138
- 0x18360faf,
139
- 0x18368fc3,
140
- 0x18370fe7,
141
- 0x18378ffd,
142
- 0x18381011,
143
- 0x18389021,
136
+ 0x18350f91,
137
+ 0x18358fa9,
138
+ 0x18360fbe,
139
+ 0x18368fd2,
140
+ 0x18370ff6,
141
+ 0x1837900c,
142
+ 0x18381020,
143
+ 0x18389030,
144
144
  0x18390a73,
145
- 0x18399031,
146
- 0x183a1059,
147
- 0x183a907f,
145
+ 0x18399040,
146
+ 0x183a1068,
147
+ 0x183a908e,
148
148
  0x183b0c6a,
149
- 0x183b90b4,
150
- 0x183c10c6,
151
- 0x183c90d1,
152
- 0x183d10e1,
153
- 0x183d90f2,
154
- 0x183e1103,
155
- 0x183e9115,
156
- 0x183f113e,
157
- 0x183f9157,
158
- 0x1840116f,
149
+ 0x183b90c3,
150
+ 0x183c10d5,
151
+ 0x183c90e0,
152
+ 0x183d10f0,
153
+ 0x183d9101,
154
+ 0x183e1112,
155
+ 0x183e9124,
156
+ 0x183f114d,
157
+ 0x183f9166,
158
+ 0x1840117e,
159
159
  0x184086d3,
160
- 0x184110a2,
161
- 0x1841906d,
162
- 0x1842108c,
163
- 0x18429046,
164
- 0x20321196,
165
- 0x243211a2,
160
+ 0x184110b1,
161
+ 0x1841907c,
162
+ 0x1842109b,
163
+ 0x18429055,
164
+ 0x203211b8,
165
+ 0x203291a5,
166
+ 0x243211c4,
166
167
  0x24328993,
167
- 0x243311b4,
168
- 0x243391c1,
169
- 0x243411ce,
170
- 0x243491e0,
171
- 0x243511ef,
172
- 0x2435920c,
173
- 0x24361219,
174
- 0x24369227,
175
- 0x24371235,
176
- 0x24379243,
177
- 0x2438124c,
178
- 0x24389259,
179
- 0x2439126c,
168
+ 0x243311d6,
169
+ 0x243391e3,
170
+ 0x243411f0,
171
+ 0x24349202,
172
+ 0x24351211,
173
+ 0x2435922e,
174
+ 0x2436123b,
175
+ 0x24369249,
176
+ 0x24371257,
177
+ 0x24379265,
178
+ 0x2438126e,
179
+ 0x2438927b,
180
+ 0x2439128e,
180
181
  0x28320c52,
181
182
  0x28328c6a,
182
183
  0x28330c22,
@@ -184,43 +185,43 @@ const uint32_t kOpenSSLReasonValues[] = {
184
185
  0x28340c5e,
185
186
  0x283480ac,
186
187
  0x283500ea,
187
- 0x2c322c30,
188
- 0x2c329283,
189
- 0x2c332c3e,
190
- 0x2c33ac50,
191
- 0x2c342c64,
192
- 0x2c34ac76,
193
- 0x2c352c91,
194
- 0x2c35aca3,
195
- 0x2c362cb6,
188
+ 0x2c322c6c,
189
+ 0x2c3292a5,
190
+ 0x2c332c7a,
191
+ 0x2c33ac8c,
192
+ 0x2c342ca0,
193
+ 0x2c34acb2,
194
+ 0x2c352ccd,
195
+ 0x2c35acdf,
196
+ 0x2c362cf2,
196
197
  0x2c36832d,
197
- 0x2c372cc3,
198
- 0x2c37acd5,
199
- 0x2c382cfa,
200
- 0x2c38ad11,
201
- 0x2c392d1f,
202
- 0x2c39ad2f,
203
- 0x2c3a2d41,
204
- 0x2c3aad55,
205
- 0x2c3b2d66,
206
- 0x2c3bad85,
207
- 0x2c3c1295,
208
- 0x2c3c92ab,
209
- 0x2c3d2d99,
210
- 0x2c3d92c4,
211
- 0x2c3e2db6,
212
- 0x2c3eadc4,
213
- 0x2c3f2ddc,
214
- 0x2c3fadf4,
215
- 0x2c402e01,
216
- 0x2c409196,
217
- 0x2c412e12,
218
- 0x2c41ae25,
219
- 0x2c42116f,
220
- 0x2c42ae36,
198
+ 0x2c372cff,
199
+ 0x2c37ad11,
200
+ 0x2c382d36,
201
+ 0x2c38ad4d,
202
+ 0x2c392d5b,
203
+ 0x2c39ad6b,
204
+ 0x2c3a2d7d,
205
+ 0x2c3aad91,
206
+ 0x2c3b2da2,
207
+ 0x2c3badc1,
208
+ 0x2c3c12b7,
209
+ 0x2c3c92cd,
210
+ 0x2c3d2dd5,
211
+ 0x2c3d92e6,
212
+ 0x2c3e2df2,
213
+ 0x2c3eae00,
214
+ 0x2c3f2e18,
215
+ 0x2c3fae30,
216
+ 0x2c402e3d,
217
+ 0x2c4091b8,
218
+ 0x2c412e4e,
219
+ 0x2c41ae61,
220
+ 0x2c42117e,
221
+ 0x2c42ae72,
221
222
  0x2c430720,
222
- 0x2c43ad77,
223
- 0x2c442ce8,
223
+ 0x2c43adb3,
224
+ 0x2c442d24,
224
225
  0x30320000,
225
226
  0x30328015,
226
227
  0x3033001f,
@@ -335,238 +336,240 @@ const uint32_t kOpenSSLReasonValues[] = {
335
336
  0x3c380dc0,
336
337
  0x3c388dd4,
337
338
  0x3c390c6a,
338
- 0x3c398de8,
339
- 0x3c3a0dfc,
339
+ 0x3c398df7,
340
+ 0x3c3a0e0b,
340
341
  0x3c3a890d,
341
- 0x3c3b0e0c,
342
- 0x3c3b8e27,
343
- 0x3c3c0e39,
344
- 0x3c3c8e6c,
345
- 0x3c3d0e76,
346
- 0x3c3d8e8a,
347
- 0x3c3e0e98,
348
- 0x3c3e8ebd,
342
+ 0x3c3b0e1b,
343
+ 0x3c3b8e36,
344
+ 0x3c3c0e48,
345
+ 0x3c3c8e7b,
346
+ 0x3c3d0e85,
347
+ 0x3c3d8e99,
348
+ 0x3c3e0ea7,
349
+ 0x3c3e8ecc,
349
350
  0x3c3f0c93,
350
- 0x3c3f8ea6,
351
+ 0x3c3f8eb5,
351
352
  0x3c4000ac,
352
353
  0x3c4080ea,
353
354
  0x3c410d13,
354
355
  0x3c418d52,
355
- 0x3c420e4f,
356
- 0x403218a4,
357
- 0x403298ba,
358
- 0x403318e8,
359
- 0x403398f2,
360
- 0x40341909,
361
- 0x40349927,
362
- 0x40351937,
363
- 0x40359949,
364
- 0x40361956,
365
- 0x40369962,
366
- 0x40371977,
367
- 0x40379989,
368
- 0x40381994,
369
- 0x403899a6,
370
- 0x40390eed,
371
- 0x403999b6,
372
- 0x403a19c9,
373
- 0x403a99ea,
374
- 0x403b19fb,
375
- 0x403b9a0b,
356
+ 0x3c420e5e,
357
+ 0x3c428de8,
358
+ 0x403218c6,
359
+ 0x403298dc,
360
+ 0x4033190a,
361
+ 0x40339914,
362
+ 0x4034192b,
363
+ 0x40349949,
364
+ 0x40351959,
365
+ 0x4035996b,
366
+ 0x40361978,
367
+ 0x40369984,
368
+ 0x40371999,
369
+ 0x403799ab,
370
+ 0x403819b6,
371
+ 0x403899c8,
372
+ 0x40390efc,
373
+ 0x403999d8,
374
+ 0x403a19eb,
375
+ 0x403a9a0c,
376
+ 0x403b1a1d,
377
+ 0x403b9a2d,
376
378
  0x403c0064,
377
379
  0x403c8083,
378
- 0x403d1a8f,
379
- 0x403d9aa5,
380
- 0x403e1ab4,
381
- 0x403e9aec,
382
- 0x403f1b06,
383
- 0x403f9b14,
384
- 0x40401b29,
385
- 0x40409b3d,
386
- 0x40411b5a,
387
- 0x40419b75,
388
- 0x40421b8e,
389
- 0x40429ba1,
390
- 0x40431bb5,
391
- 0x40439bcd,
392
- 0x40441be4,
380
+ 0x403d1ab1,
381
+ 0x403d9ac7,
382
+ 0x403e1ad6,
383
+ 0x403e9b0e,
384
+ 0x403f1b28,
385
+ 0x403f9b36,
386
+ 0x40401b4b,
387
+ 0x40409b5f,
388
+ 0x40411b7c,
389
+ 0x40419b97,
390
+ 0x40421bb0,
391
+ 0x40429bc3,
392
+ 0x40431bd7,
393
+ 0x40439bef,
394
+ 0x40441c06,
393
395
  0x404480ac,
394
- 0x40451bf9,
395
- 0x40459c0b,
396
- 0x40461c2f,
397
- 0x40469c4f,
398
- 0x40471c5d,
399
- 0x40479c84,
400
- 0x40481cc1,
401
- 0x40489cda,
402
- 0x40491cf1,
403
- 0x40499d0b,
404
- 0x404a1d22,
405
- 0x404a9d40,
406
- 0x404b1d58,
407
- 0x404b9d6f,
408
- 0x404c1d85,
409
- 0x404c9d97,
410
- 0x404d1db8,
411
- 0x404d9dda,
412
- 0x404e1dee,
413
- 0x404e9dfb,
414
- 0x404f1e28,
415
- 0x404f9e51,
416
- 0x40501e8c,
417
- 0x40509ea0,
418
- 0x40511ebb,
419
- 0x40521ecb,
420
- 0x40529eef,
421
- 0x40531f07,
422
- 0x40539f1a,
423
- 0x40541f2f,
424
- 0x40549f52,
425
- 0x40551f60,
426
- 0x40559f7d,
427
- 0x40561f8a,
428
- 0x40569fa3,
429
- 0x40571fbb,
430
- 0x40579fce,
431
- 0x40581fe3,
432
- 0x4058a00a,
433
- 0x40592039,
434
- 0x4059a066,
435
- 0x405a207a,
436
- 0x405aa08a,
437
- 0x405b20a2,
438
- 0x405ba0b3,
439
- 0x405c20c6,
440
- 0x405ca105,
441
- 0x405d2112,
442
- 0x405da129,
443
- 0x405e2167,
396
+ 0x40451c1b,
397
+ 0x40459c2d,
398
+ 0x40461c51,
399
+ 0x40469c71,
400
+ 0x40471c7f,
401
+ 0x40479ca6,
402
+ 0x40481ce3,
403
+ 0x40489d16,
404
+ 0x40491d2d,
405
+ 0x40499d47,
406
+ 0x404a1d5e,
407
+ 0x404a9d7c,
408
+ 0x404b1d94,
409
+ 0x404b9dab,
410
+ 0x404c1dc1,
411
+ 0x404c9dd3,
412
+ 0x404d1df4,
413
+ 0x404d9e16,
414
+ 0x404e1e2a,
415
+ 0x404e9e37,
416
+ 0x404f1e64,
417
+ 0x404f9e8d,
418
+ 0x40501ec8,
419
+ 0x40509edc,
420
+ 0x40511ef7,
421
+ 0x40521f07,
422
+ 0x40529f2b,
423
+ 0x40531f43,
424
+ 0x40539f56,
425
+ 0x40541f6b,
426
+ 0x40549f8e,
427
+ 0x40551f9c,
428
+ 0x40559fb9,
429
+ 0x40561fc6,
430
+ 0x40569fdf,
431
+ 0x40571ff7,
432
+ 0x4057a00a,
433
+ 0x4058201f,
434
+ 0x4058a046,
435
+ 0x40592075,
436
+ 0x4059a0a2,
437
+ 0x405a20b6,
438
+ 0x405aa0c6,
439
+ 0x405b20de,
440
+ 0x405ba0ef,
441
+ 0x405c2102,
442
+ 0x405ca141,
443
+ 0x405d214e,
444
+ 0x405da165,
445
+ 0x405e21a3,
444
446
  0x405e8ab1,
445
- 0x405f2188,
446
- 0x405fa195,
447
- 0x406021a3,
448
- 0x4060a1c5,
449
- 0x40612209,
450
- 0x4061a241,
451
- 0x40622258,
452
- 0x4062a269,
453
- 0x4063227a,
454
- 0x4063a28f,
455
- 0x406422a6,
456
- 0x4064a2d2,
457
- 0x406522ed,
458
- 0x4065a304,
459
- 0x4066231c,
460
- 0x4066a346,
461
- 0x40672371,
462
- 0x4067a392,
463
- 0x406823b9,
464
- 0x4068a3da,
465
- 0x4069240c,
466
- 0x4069a43a,
467
- 0x406a245b,
468
- 0x406aa47b,
469
- 0x406b2603,
470
- 0x406ba626,
471
- 0x406c263c,
472
- 0x406ca8b7,
473
- 0x406d28e6,
474
- 0x406da90e,
475
- 0x406e293c,
476
- 0x406ea989,
477
- 0x406f29a8,
478
- 0x406fa9e0,
479
- 0x407029f3,
480
- 0x4070aa10,
447
+ 0x405f21c4,
448
+ 0x405fa1d1,
449
+ 0x406021df,
450
+ 0x4060a201,
451
+ 0x40612245,
452
+ 0x4061a27d,
453
+ 0x40622294,
454
+ 0x4062a2a5,
455
+ 0x406322b6,
456
+ 0x4063a2cb,
457
+ 0x406422e2,
458
+ 0x4064a30e,
459
+ 0x40652329,
460
+ 0x4065a340,
461
+ 0x40662358,
462
+ 0x4066a382,
463
+ 0x406723ad,
464
+ 0x4067a3ce,
465
+ 0x406823f5,
466
+ 0x4068a416,
467
+ 0x40692448,
468
+ 0x4069a476,
469
+ 0x406a2497,
470
+ 0x406aa4b7,
471
+ 0x406b263f,
472
+ 0x406ba662,
473
+ 0x406c2678,
474
+ 0x406ca8f3,
475
+ 0x406d2922,
476
+ 0x406da94a,
477
+ 0x406e2978,
478
+ 0x406ea9c5,
479
+ 0x406f29e4,
480
+ 0x406faa1c,
481
+ 0x40702a2f,
482
+ 0x4070aa4c,
481
483
  0x40710800,
482
- 0x4071aa22,
483
- 0x40722a35,
484
- 0x4072aa4e,
485
- 0x40732a66,
486
- 0x40739482,
487
- 0x40742a7a,
488
- 0x4074aa94,
489
- 0x40752aa5,
490
- 0x4075aab9,
491
- 0x40762ac7,
492
- 0x40769259,
493
- 0x40772aec,
494
- 0x4077ab0e,
495
- 0x40782b29,
496
- 0x4078ab62,
497
- 0x40792b79,
498
- 0x4079ab8f,
499
- 0x407a2b9b,
500
- 0x407aabae,
501
- 0x407b2bc3,
502
- 0x407babd5,
503
- 0x407c2c06,
504
- 0x407cac0f,
505
- 0x407d23f5,
506
- 0x407d9e61,
507
- 0x407e2b3e,
508
- 0x407ea01a,
509
- 0x407f1c71,
510
- 0x407f9a31,
511
- 0x40801e38,
512
- 0x40809c99,
513
- 0x40811edd,
514
- 0x40819e12,
515
- 0x40822927,
516
- 0x40829a17,
517
- 0x40831ff5,
518
- 0x4083a2b7,
519
- 0x40841cad,
520
- 0x4084a052,
521
- 0x408520d7,
522
- 0x4085a1ed,
523
- 0x40862149,
524
- 0x40869e7b,
525
- 0x4087296d,
526
- 0x4087a21e,
527
- 0x40881a78,
528
- 0x4088a3a5,
529
- 0x40891ac7,
530
- 0x40899a54,
531
- 0x408a265c,
532
- 0x408a9862,
533
- 0x408b2bea,
534
- 0x408ba9bd,
535
- 0x408c20e7,
536
- 0x408c987e,
537
- 0x41f4252e,
538
- 0x41f925c0,
539
- 0x41fe24b3,
540
- 0x41fea6a8,
541
- 0x41ff2799,
542
- 0x42032547,
543
- 0x42082569,
544
- 0x4208a5a5,
545
- 0x42092497,
546
- 0x4209a5df,
547
- 0x420a24ee,
548
- 0x420aa4ce,
549
- 0x420b250e,
550
- 0x420ba587,
551
- 0x420c27b5,
552
- 0x420ca675,
553
- 0x420d268f,
554
- 0x420da6c6,
555
- 0x421226e0,
556
- 0x4217277c,
557
- 0x4217a722,
558
- 0x421c2744,
559
- 0x421f26ff,
560
- 0x422127cc,
561
- 0x4226275f,
562
- 0x422b289b,
563
- 0x422ba849,
564
- 0x422c2883,
565
- 0x422ca808,
566
- 0x422d27e7,
567
- 0x422da868,
568
- 0x422e282e,
569
- 0x422ea954,
484
+ 0x4071aa5e,
485
+ 0x40722a71,
486
+ 0x4072aa8a,
487
+ 0x40732aa2,
488
+ 0x407394a4,
489
+ 0x40742ab6,
490
+ 0x4074aad0,
491
+ 0x40752ae1,
492
+ 0x4075aaf5,
493
+ 0x40762b03,
494
+ 0x4076927b,
495
+ 0x40772b28,
496
+ 0x4077ab4a,
497
+ 0x40782b65,
498
+ 0x4078ab9e,
499
+ 0x40792bb5,
500
+ 0x4079abcb,
501
+ 0x407a2bd7,
502
+ 0x407aabea,
503
+ 0x407b2bff,
504
+ 0x407bac11,
505
+ 0x407c2c42,
506
+ 0x407cac4b,
507
+ 0x407d2431,
508
+ 0x407d9e9d,
509
+ 0x407e2b7a,
510
+ 0x407ea056,
511
+ 0x407f1c93,
512
+ 0x407f9a53,
513
+ 0x40801e74,
514
+ 0x40809cbb,
515
+ 0x40811f19,
516
+ 0x40819e4e,
517
+ 0x40822963,
518
+ 0x40829a39,
519
+ 0x40832031,
520
+ 0x4083a2f3,
521
+ 0x40841ccf,
522
+ 0x4084a08e,
523
+ 0x40852113,
524
+ 0x4085a229,
525
+ 0x40862185,
526
+ 0x40869eb7,
527
+ 0x408729a9,
528
+ 0x4087a25a,
529
+ 0x40881a9a,
530
+ 0x4088a3e1,
531
+ 0x40891ae9,
532
+ 0x40899a76,
533
+ 0x408a2698,
534
+ 0x408a9884,
535
+ 0x408b2c26,
536
+ 0x408ba9f9,
537
+ 0x408c2123,
538
+ 0x408c98a0,
539
+ 0x408d1cfc,
540
+ 0x41f4256a,
541
+ 0x41f925fc,
542
+ 0x41fe24ef,
543
+ 0x41fea6e4,
544
+ 0x41ff27d5,
545
+ 0x42032583,
546
+ 0x420825a5,
547
+ 0x4208a5e1,
548
+ 0x420924d3,
549
+ 0x4209a61b,
550
+ 0x420a252a,
551
+ 0x420aa50a,
552
+ 0x420b254a,
553
+ 0x420ba5c3,
554
+ 0x420c27f1,
555
+ 0x420ca6b1,
556
+ 0x420d26cb,
557
+ 0x420da702,
558
+ 0x4212271c,
559
+ 0x421727b8,
560
+ 0x4217a75e,
561
+ 0x421c2780,
562
+ 0x421f273b,
563
+ 0x42212808,
564
+ 0x4226279b,
565
+ 0x422b28d7,
566
+ 0x422ba885,
567
+ 0x422c28bf,
568
+ 0x422ca844,
569
+ 0x422d2823,
570
+ 0x422da8a4,
571
+ 0x422e286a,
572
+ 0x422ea990,
570
573
  0x4432072b,
571
574
  0x4432873a,
572
575
  0x44330746,
@@ -584,114 +587,114 @@ const uint32_t kOpenSSLReasonValues[] = {
584
587
  0x44390800,
585
588
  0x4439880e,
586
589
  0x443a0821,
587
- 0x48321283,
588
- 0x48329295,
589
- 0x483312ab,
590
- 0x483392c4,
591
- 0x4c3212e9,
592
- 0x4c3292f9,
593
- 0x4c33130c,
594
- 0x4c33932c,
590
+ 0x483212a5,
591
+ 0x483292b7,
592
+ 0x483312cd,
593
+ 0x483392e6,
594
+ 0x4c32130b,
595
+ 0x4c32931b,
596
+ 0x4c33132e,
597
+ 0x4c33934e,
595
598
  0x4c3400ac,
596
599
  0x4c3480ea,
597
- 0x4c351338,
598
- 0x4c359346,
599
- 0x4c361362,
600
- 0x4c369375,
601
- 0x4c371384,
602
- 0x4c379392,
603
- 0x4c3813a7,
604
- 0x4c3893b3,
605
- 0x4c3913d3,
606
- 0x4c3993fd,
607
- 0x4c3a1416,
608
- 0x4c3a942f,
600
+ 0x4c35135a,
601
+ 0x4c359368,
602
+ 0x4c361384,
603
+ 0x4c369397,
604
+ 0x4c3713a6,
605
+ 0x4c3793b4,
606
+ 0x4c3813c9,
607
+ 0x4c3893d5,
608
+ 0x4c3913f5,
609
+ 0x4c39941f,
610
+ 0x4c3a1438,
611
+ 0x4c3a9451,
609
612
  0x4c3b05fb,
610
- 0x4c3b9448,
611
- 0x4c3c145a,
612
- 0x4c3c9469,
613
- 0x4c3d1482,
613
+ 0x4c3b946a,
614
+ 0x4c3c147c,
615
+ 0x4c3c948b,
616
+ 0x4c3d14a4,
614
617
  0x4c3d8c45,
615
- 0x4c3e14db,
616
- 0x4c3e9491,
617
- 0x4c3f14fd,
618
- 0x4c3f9259,
619
- 0x4c4014a7,
620
- 0x4c4092d5,
621
- 0x4c4114cb,
622
- 0x50322e48,
623
- 0x5032ae57,
624
- 0x50332e62,
625
- 0x5033ae72,
626
- 0x50342e8b,
627
- 0x5034aea5,
628
- 0x50352eb3,
629
- 0x5035aec9,
630
- 0x50362edb,
631
- 0x5036aef1,
632
- 0x50372f0a,
633
- 0x5037af1d,
634
- 0x50382f35,
635
- 0x5038af46,
636
- 0x50392f5b,
637
- 0x5039af6f,
638
- 0x503a2f8f,
639
- 0x503aafa5,
640
- 0x503b2fbd,
641
- 0x503bafcf,
642
- 0x503c2feb,
643
- 0x503cb002,
644
- 0x503d301b,
645
- 0x503db031,
646
- 0x503e303e,
647
- 0x503eb054,
648
- 0x503f3066,
618
+ 0x4c3e14fd,
619
+ 0x4c3e94b3,
620
+ 0x4c3f151f,
621
+ 0x4c3f927b,
622
+ 0x4c4014c9,
623
+ 0x4c4092f7,
624
+ 0x4c4114ed,
625
+ 0x50322e84,
626
+ 0x5032ae93,
627
+ 0x50332e9e,
628
+ 0x5033aeae,
629
+ 0x50342ec7,
630
+ 0x5034aee1,
631
+ 0x50352eef,
632
+ 0x5035af05,
633
+ 0x50362f17,
634
+ 0x5036af2d,
635
+ 0x50372f46,
636
+ 0x5037af59,
637
+ 0x50382f71,
638
+ 0x5038af82,
639
+ 0x50392f97,
640
+ 0x5039afab,
641
+ 0x503a2fcb,
642
+ 0x503aafe1,
643
+ 0x503b2ff9,
644
+ 0x503bb00b,
645
+ 0x503c3027,
646
+ 0x503cb03e,
647
+ 0x503d3057,
648
+ 0x503db06d,
649
+ 0x503e307a,
650
+ 0x503eb090,
651
+ 0x503f30a2,
649
652
  0x503f8382,
650
- 0x50403079,
651
- 0x5040b089,
652
- 0x504130a3,
653
- 0x5041b0b2,
654
- 0x504230cc,
655
- 0x5042b0e9,
656
- 0x504330f9,
657
- 0x5043b109,
658
- 0x50443118,
653
+ 0x504030b5,
654
+ 0x5040b0c5,
655
+ 0x504130df,
656
+ 0x5041b0ee,
657
+ 0x50423108,
658
+ 0x5042b125,
659
+ 0x50433135,
660
+ 0x5043b145,
661
+ 0x50443154,
659
662
  0x5044843f,
660
- 0x5045312c,
661
- 0x5045b14a,
662
- 0x5046315d,
663
- 0x5046b173,
664
- 0x50473185,
665
- 0x5047b19a,
666
- 0x504831c0,
667
- 0x5048b1ce,
668
- 0x504931e1,
669
- 0x5049b1f6,
670
- 0x504a320c,
671
- 0x504ab21c,
672
- 0x504b323c,
673
- 0x504bb24f,
674
- 0x504c3272,
675
- 0x504cb2a0,
676
- 0x504d32b2,
677
- 0x504db2cf,
678
- 0x504e32ea,
679
- 0x504eb306,
680
- 0x504f3318,
681
- 0x504fb32f,
682
- 0x5050333e,
663
+ 0x50453168,
664
+ 0x5045b186,
665
+ 0x50463199,
666
+ 0x5046b1af,
667
+ 0x504731c1,
668
+ 0x5047b1d6,
669
+ 0x504831fc,
670
+ 0x5048b20a,
671
+ 0x5049321d,
672
+ 0x5049b232,
673
+ 0x504a3248,
674
+ 0x504ab258,
675
+ 0x504b3278,
676
+ 0x504bb28b,
677
+ 0x504c32ae,
678
+ 0x504cb2dc,
679
+ 0x504d32ee,
680
+ 0x504db30b,
681
+ 0x504e3326,
682
+ 0x504eb342,
683
+ 0x504f3354,
684
+ 0x504fb36b,
685
+ 0x5050337a,
683
686
  0x505086ef,
684
- 0x50513351,
685
- 0x58320f2b,
686
- 0x68320eed,
687
+ 0x5051338d,
688
+ 0x58320f3a,
689
+ 0x68320efc,
687
690
  0x68328c6a,
688
691
  0x68330c7d,
689
- 0x68338efb,
690
- 0x68340f0b,
692
+ 0x68338f0a,
693
+ 0x68340f1a,
691
694
  0x683480ea,
692
- 0x6c320ec9,
695
+ 0x6c320ed8,
693
696
  0x6c328c34,
694
- 0x6c330ed4,
697
+ 0x6c330ee3,
695
698
  0x74320a19,
696
699
  0x743280ac,
697
700
  0x74330c45,
@@ -721,7 +724,7 @@ const uint32_t kOpenSSLReasonValues[] = {
721
724
  0x783d8b4a,
722
725
  0x783e0aa0,
723
726
  0x783e8a52,
724
- 0x7c321185,
727
+ 0x7c321194,
725
728
  };
726
729
 
727
730
  const size_t kOpenSSLReasonValuesLen = sizeof(kOpenSSLReasonValues) / sizeof(kOpenSSLReasonValues[0]);
@@ -912,6 +915,7 @@ const char kOpenSSLReasonStringData[] =
912
915
  "INVALID_FORM\0"
913
916
  "INVALID_GROUP_ORDER\0"
914
917
  "INVALID_PRIVATE_KEY\0"
918
+ "INVALID_SCALAR\0"
915
919
  "MISSING_PRIVATE_KEY\0"
916
920
  "NON_NAMED_CURVE\0"
917
921
  "PKPARAMETERS2GROUP_FAILURE\0"
@@ -959,6 +963,7 @@ const char kOpenSSLReasonStringData[] =
959
963
  "UNKNOWN_PUBLIC_KEY_TYPE\0"
960
964
  "UNSUPPORTED_ALGORITHM\0"
961
965
  "OUTPUT_TOO_LARGE\0"
966
+ "INVALID_OID_STRING\0"
962
967
  "UNKNOWN_NID\0"
963
968
  "BAD_BASE64_DECODE\0"
964
969
  "BAD_END_LINE\0"
@@ -1094,6 +1099,7 @@ const char kOpenSSLReasonStringData[] =
1094
1099
  "DUPLICATE_EXTENSION\0"
1095
1100
  "DUPLICATE_KEY_SHARE\0"
1096
1101
  "ECC_CERT_NOT_FOR_SIGNING\0"
1102
+ "EMPTY_HELLO_RETRY_REQUEST\0"
1097
1103
  "EMS_STATE_INCONSISTENT\0"
1098
1104
  "ENCRYPTED_LENGTH_TOO_LONG\0"
1099
1105
  "ERROR_ADDING_EXTENSION\0"