grpc-flamingo 1.11.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +1150 -176
  3. data/etc/roots.pem +40 -196
  4. data/include/grpc/grpc.h +49 -8
  5. data/include/grpc/grpc_security.h +123 -2
  6. data/include/grpc/grpc_security_constants.h +6 -0
  7. data/include/grpc/impl/codegen/fork.h +4 -4
  8. data/include/grpc/impl/codegen/grpc_types.h +26 -5
  9. data/include/grpc/impl/codegen/log.h +112 -0
  10. data/include/grpc/impl/codegen/port_platform.h +55 -4
  11. data/include/grpc/module.modulemap +2 -0
  12. data/include/grpc/support/log.h +2 -80
  13. data/include/grpc/support/string_util.h +2 -0
  14. data/include/grpc/support/sync.h +0 -16
  15. data/src/boringssl/err_data.c +602 -588
  16. data/src/core/ext/{census → filters/census}/grpc_context.cc +0 -0
  17. data/src/core/ext/filters/client_channel/channel_connectivity.cc +1 -1
  18. data/src/core/ext/filters/client_channel/client_channel.cc +1234 -1070
  19. data/src/core/ext/filters/client_channel/client_channel.h +5 -0
  20. data/src/core/ext/filters/client_channel/client_channel_channelz.cc +113 -0
  21. data/src/core/ext/filters/client_channel/client_channel_channelz.h +71 -0
  22. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +9 -0
  23. data/src/core/ext/filters/client_channel/http_connect_handshaker.cc +1 -1
  24. data/src/core/ext/filters/client_channel/http_proxy.cc +22 -5
  25. data/src/core/ext/filters/client_channel/lb_policy.cc +2 -2
  26. data/src/core/ext/filters/client_channel/lb_policy.h +30 -10
  27. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +11 -9
  28. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +120 -127
  29. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +36 -0
  30. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +36 -102
  31. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +37 -32
  32. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +25 -22
  33. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +4 -2
  34. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c +19 -0
  35. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h +54 -0
  36. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c +19 -0
  37. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.h +54 -0
  38. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +4 -17
  39. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +37 -63
  40. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +306 -239
  41. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +444 -392
  42. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +538 -98
  43. data/src/core/ext/filters/client_channel/lb_policy_factory.cc +8 -0
  44. data/src/core/ext/filters/client_channel/lb_policy_factory.h +4 -0
  45. data/src/core/ext/filters/client_channel/method_params.h +4 -0
  46. data/src/core/ext/filters/client_channel/resolver.h +10 -0
  47. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +36 -19
  48. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc +320 -0
  49. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +62 -9
  50. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +49 -294
  51. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +537 -0
  52. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +112 -87
  53. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +17 -2
  54. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc +6 -5
  55. data/src/core/ext/filters/{load_reporting/server_load_reporting_filter.h → client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc} +7 -8
  56. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +29 -0
  57. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +32 -15
  58. data/src/core/ext/filters/client_channel/retry_throttle.h +4 -0
  59. data/src/core/ext/filters/client_channel/subchannel.cc +58 -15
  60. data/src/core/ext/filters/client_channel/subchannel.h +11 -0
  61. data/src/core/ext/filters/deadline/deadline_filter.cc +18 -15
  62. data/src/core/ext/filters/deadline/deadline_filter.h +5 -5
  63. data/src/core/ext/filters/http/client/http_client_filter.cc +10 -9
  64. data/src/core/ext/filters/http/client_authority_filter.cc +6 -5
  65. data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +6 -6
  66. data/src/core/ext/filters/http/server/http_server_filter.cc +123 -131
  67. data/src/core/ext/filters/http/server/http_server_filter.h +1 -1
  68. data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc +1 -1
  69. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +1 -1
  70. data/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc +3 -2
  71. data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +9 -8
  72. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +97 -48
  73. data/src/core/ext/transport/chttp2/transport/flow_control.cc +10 -7
  74. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +3 -3
  75. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +12 -8
  76. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +4 -3
  77. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +2 -2
  78. data/src/core/ext/transport/chttp2/transport/hpack_table.cc +2 -2
  79. data/src/core/ext/transport/chttp2/transport/parsing.cc +14 -12
  80. data/src/core/ext/transport/chttp2/transport/stream_lists.cc +3 -3
  81. data/src/core/ext/transport/chttp2/transport/writing.cc +32 -27
  82. data/src/core/ext/transport/inproc/inproc_transport.cc +87 -49
  83. data/src/core/lib/channel/channel_args.cc +28 -0
  84. data/src/core/lib/channel/channel_args.h +4 -0
  85. data/src/core/lib/channel/channel_stack.cc +22 -29
  86. data/src/core/lib/channel/channel_stack.h +2 -2
  87. data/src/core/lib/channel/channel_stack_builder.cc +0 -3
  88. data/src/core/lib/channel/channel_stack_builder.h +0 -2
  89. data/src/core/lib/channel/channel_trace.cc +28 -63
  90. data/src/core/lib/channel/channel_trace.h +13 -17
  91. data/src/core/lib/channel/channelz.cc +153 -0
  92. data/src/core/lib/channel/channelz.h +133 -0
  93. data/src/core/lib/channel/channelz_registry.cc +145 -0
  94. data/src/core/lib/channel/channelz_registry.h +120 -0
  95. data/src/core/lib/channel/connected_channel.cc +8 -1
  96. data/src/core/lib/channel/handshaker.cc +71 -0
  97. data/src/core/lib/channel/handshaker.h +4 -0
  98. data/src/core/lib/debug/stats.h +7 -0
  99. data/src/core/lib/debug/stats_data.cc +5 -0
  100. data/src/core/lib/debug/stats_data.h +120 -0
  101. data/src/core/lib/debug/trace.cc +2 -1
  102. data/src/core/lib/debug/trace.h +12 -1
  103. data/src/core/lib/gpr/alloc.h +28 -0
  104. data/src/core/lib/gpr/arena.cc +38 -45
  105. data/src/core/lib/gpr/log.cc +8 -2
  106. data/src/core/lib/gpr/log_android.cc +4 -0
  107. data/src/core/lib/gpr/log_linux.cc +4 -0
  108. data/src/core/lib/gpr/log_posix.cc +4 -0
  109. data/src/core/lib/gpr/log_windows.cc +5 -0
  110. data/src/core/lib/gpr/string.cc +28 -0
  111. data/src/core/lib/gpr/string.h +10 -0
  112. data/src/core/lib/gprpp/abstract.h +5 -2
  113. data/src/core/lib/gprpp/fork.cc +268 -0
  114. data/src/core/lib/gprpp/fork.h +88 -0
  115. data/src/core/lib/gprpp/inlined_vector.h +87 -37
  116. data/src/core/lib/gprpp/memory.h +12 -0
  117. data/src/core/lib/gprpp/mutex_lock.h +42 -0
  118. data/src/core/lib/gprpp/orphanable.h +10 -12
  119. data/src/core/lib/gprpp/ref_counted.h +10 -12
  120. data/src/core/lib/gprpp/ref_counted_ptr.h +65 -8
  121. data/src/core/lib/gprpp/thd.h +0 -3
  122. data/src/core/lib/gprpp/thd_posix.cc +5 -54
  123. data/src/core/lib/gprpp/thd_windows.cc +0 -7
  124. data/src/core/lib/http/httpcli_security_connector.cc +1 -3
  125. data/src/core/lib/iomgr/call_combiner.cc +13 -13
  126. data/src/core/lib/iomgr/call_combiner.h +84 -1
  127. data/src/core/lib/iomgr/closure.h +6 -5
  128. data/src/core/lib/iomgr/combiner.cc +30 -13
  129. data/src/core/lib/iomgr/combiner.h +1 -1
  130. data/src/core/lib/iomgr/endpoint_pair_posix.cc +2 -2
  131. data/src/core/lib/iomgr/error.cc +12 -0
  132. data/src/core/lib/iomgr/error.h +5 -0
  133. data/src/core/lib/iomgr/ev_epoll1_linux.cc +138 -51
  134. data/src/core/lib/iomgr/ev_epollex_linux.cc +276 -93
  135. data/src/core/lib/iomgr/ev_epollsig_linux.cc +58 -50
  136. data/src/core/lib/iomgr/ev_poll_posix.cc +163 -42
  137. data/src/core/lib/iomgr/ev_posix.cc +88 -24
  138. data/src/core/lib/iomgr/ev_posix.h +48 -12
  139. data/src/core/lib/iomgr/exec_ctx.cc +15 -9
  140. data/src/core/lib/iomgr/exec_ctx.h +48 -20
  141. data/src/core/lib/iomgr/executor.cc +274 -142
  142. data/src/core/lib/iomgr/executor.h +82 -16
  143. data/src/core/lib/iomgr/fork_posix.cc +42 -19
  144. data/src/core/lib/iomgr/iocp_windows.cc +9 -4
  145. data/src/core/lib/iomgr/iomgr.cc +2 -0
  146. data/src/core/lib/iomgr/iomgr.h +5 -0
  147. data/src/core/lib/iomgr/iomgr_posix.cc +2 -2
  148. data/src/core/lib/iomgr/is_epollexclusive_available.cc +1 -0
  149. data/src/core/lib/iomgr/lockfree_event.cc +5 -1
  150. data/src/core/lib/iomgr/polling_entity.cc +11 -2
  151. data/src/core/lib/iomgr/pollset_custom.cc +2 -2
  152. data/src/core/lib/iomgr/port.h +51 -1
  153. data/src/core/lib/iomgr/resolve_address.h +1 -1
  154. data/src/core/lib/iomgr/resolve_address_posix.cc +4 -3
  155. data/src/core/lib/iomgr/resolve_address_windows.cc +3 -2
  156. data/src/core/lib/iomgr/resource_quota.cc +89 -12
  157. data/src/core/lib/iomgr/resource_quota.h +16 -0
  158. data/src/core/lib/iomgr/sockaddr_posix.h +1 -1
  159. data/src/core/lib/iomgr/socket_factory_posix.cc +1 -1
  160. data/src/core/lib/iomgr/socket_mutator.cc +1 -1
  161. data/src/core/lib/iomgr/socket_mutator.h +1 -1
  162. data/src/core/lib/iomgr/socket_utils.h +9 -0
  163. data/src/core/lib/iomgr/socket_utils_common_posix.cc +29 -1
  164. data/src/core/lib/iomgr/socket_utils_linux.cc +0 -1
  165. data/src/core/lib/iomgr/socket_utils_posix.cc +2 -3
  166. data/src/core/lib/iomgr/socket_utils_posix.h +3 -0
  167. data/src/core/lib/iomgr/socket_utils_uv.cc +4 -0
  168. data/src/core/lib/iomgr/socket_utils_windows.cc +4 -0
  169. data/src/core/lib/iomgr/socket_windows.cc +33 -0
  170. data/src/core/lib/iomgr/socket_windows.h +6 -0
  171. data/src/core/lib/iomgr/tcp_client_custom.cc +5 -5
  172. data/src/core/lib/iomgr/tcp_client_posix.cc +10 -11
  173. data/src/core/lib/iomgr/tcp_custom.cc +11 -11
  174. data/src/core/lib/iomgr/tcp_posix.cc +49 -36
  175. data/src/core/lib/iomgr/tcp_server_custom.cc +5 -5
  176. data/src/core/lib/iomgr/tcp_server_posix.cc +16 -36
  177. data/src/core/lib/iomgr/tcp_server_utils_posix.h +1 -1
  178. data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +17 -5
  179. data/src/core/lib/iomgr/tcp_server_windows.cc +1 -0
  180. data/src/core/lib/iomgr/tcp_uv.cc +3 -0
  181. data/src/core/lib/iomgr/tcp_windows.cc +18 -2
  182. data/src/core/lib/iomgr/tcp_windows.h +2 -0
  183. data/src/core/lib/iomgr/timer.h +4 -3
  184. data/src/core/lib/iomgr/timer_generic.cc +133 -51
  185. data/src/core/lib/iomgr/timer_manager.cc +12 -14
  186. data/src/core/lib/iomgr/timer_uv.cc +3 -0
  187. data/src/core/lib/iomgr/udp_server.cc +106 -52
  188. data/src/core/lib/iomgr/udp_server.h +8 -4
  189. data/src/core/lib/json/json.cc +12 -1
  190. data/src/core/lib/json/json.h +5 -0
  191. data/src/core/lib/profiling/basic_timers.cc +1 -0
  192. data/src/core/lib/security/context/security_context.cc +8 -8
  193. data/src/core/lib/security/context/security_context.h +6 -2
  194. data/src/core/lib/security/credentials/alts/alts_credentials.h +0 -20
  195. data/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc +3 -2
  196. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +7 -7
  197. data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h +1 -38
  198. data/src/core/lib/security/credentials/credentials.h +1 -0
  199. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +89 -115
  200. data/src/core/lib/security/credentials/google_default/google_default_credentials.h +16 -0
  201. data/src/core/lib/security/credentials/jwt/json_token.h +2 -0
  202. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +2 -0
  203. data/src/core/lib/security/credentials/local/local_credentials.cc +77 -0
  204. data/src/core/lib/security/credentials/local/local_credentials.h +40 -0
  205. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +11 -7
  206. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +1 -1
  207. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +17 -3
  208. data/src/core/lib/security/security_connector/alts_security_connector.cc +2 -1
  209. data/src/core/lib/security/security_connector/load_system_roots.h +29 -0
  210. data/src/core/lib/{gpr/fork.h → security/security_connector/load_system_roots_fallback.cc} +10 -13
  211. data/src/core/lib/security/security_connector/load_system_roots_linux.cc +165 -0
  212. data/src/core/lib/security/security_connector/load_system_roots_linux.h +44 -0
  213. data/src/core/lib/security/security_connector/local_security_connector.cc +245 -0
  214. data/src/core/lib/security/security_connector/local_security_connector.h +58 -0
  215. data/src/core/lib/security/security_connector/security_connector.cc +79 -32
  216. data/src/core/lib/security/security_connector/security_connector.h +5 -3
  217. data/src/core/lib/security/transport/client_auth_filter.cc +5 -5
  218. data/src/core/lib/security/transport/secure_endpoint.cc +2 -2
  219. data/src/core/lib/security/transport/security_handshaker.cc +7 -2
  220. data/src/core/lib/security/transport/server_auth_filter.cc +4 -7
  221. data/src/core/lib/security/util/json_util.cc +4 -0
  222. data/src/core/lib/slice/slice.cc +6 -2
  223. data/src/core/lib/slice/slice_buffer.cc +27 -7
  224. data/src/core/lib/slice/slice_hash_table.h +4 -0
  225. data/src/core/lib/slice/slice_weak_hash_table.h +4 -0
  226. data/src/core/lib/surface/call.cc +119 -58
  227. data/src/core/lib/surface/call.h +7 -0
  228. data/src/core/lib/surface/channel.cc +50 -18
  229. data/src/core/lib/surface/channel.h +4 -0
  230. data/src/core/lib/surface/completion_queue.cc +153 -18
  231. data/src/core/lib/surface/completion_queue.h +20 -2
  232. data/src/core/lib/surface/completion_queue_factory.cc +13 -4
  233. data/src/core/lib/surface/init.cc +7 -8
  234. data/src/core/lib/surface/init.h +0 -1
  235. data/src/core/lib/surface/server.cc +16 -0
  236. data/src/core/lib/surface/version.cc +1 -1
  237. data/src/core/lib/transport/bdp_estimator.cc +3 -3
  238. data/src/core/lib/transport/bdp_estimator.h +2 -2
  239. data/src/core/lib/transport/byte_stream.cc +1 -1
  240. data/src/core/lib/transport/connectivity_state.cc +6 -7
  241. data/src/core/lib/transport/service_config.cc +2 -2
  242. data/src/core/lib/transport/service_config.h +3 -3
  243. data/src/core/lib/transport/transport.cc +22 -10
  244. data/src/core/lib/transport/transport.h +18 -18
  245. data/src/core/lib/transport/transport_op_string.cc +1 -8
  246. data/src/core/plugin_registry/grpc_plugin_registry.cc +0 -4
  247. data/src/core/tsi/alts/crypt/aes_gcm.cc +2 -0
  248. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +19 -7
  249. data/src/core/tsi/alts/handshaker/alts_handshaker_client.h +10 -0
  250. data/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.h +2 -2
  251. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +38 -3
  252. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h +3 -0
  253. data/src/core/tsi/alts/handshaker/altscontext.pb.c +0 -1
  254. data/src/core/tsi/alts/handshaker/altscontext.pb.h +1 -2
  255. data/src/core/tsi/alts/handshaker/handshaker.pb.c +0 -1
  256. data/src/core/tsi/alts/handshaker/handshaker.pb.h +1 -2
  257. data/src/core/tsi/alts/handshaker/transport_security_common.pb.c +0 -1
  258. data/src/core/tsi/alts/handshaker/transport_security_common.pb.h +1 -1
  259. data/src/core/tsi/alts/handshaker/transport_security_common_api.h +2 -2
  260. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +47 -1
  261. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +3 -1
  262. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -11
  263. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +7 -2
  264. data/src/core/tsi/fake_transport_security.cc +1 -0
  265. data/src/core/tsi/grpc_shadow_boringssl.h +3006 -0
  266. data/src/core/tsi/local_transport_security.cc +209 -0
  267. data/src/core/tsi/local_transport_security.h +51 -0
  268. data/src/core/tsi/ssl/session_cache/ssl_session.h +2 -0
  269. data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +5 -5
  270. data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +6 -0
  271. data/src/core/tsi/ssl_transport_security.cc +245 -116
  272. data/src/core/tsi/ssl_types.h +2 -0
  273. data/src/core/tsi/transport_security.cc +14 -0
  274. data/src/core/tsi/transport_security.h +2 -0
  275. data/src/core/tsi/transport_security_interface.h +11 -1
  276. data/src/ruby/bin/math_client.rb +17 -9
  277. data/src/ruby/ext/grpc/extconf.rb +1 -26
  278. data/src/ruby/ext/grpc/rb_channel_credentials.c +3 -3
  279. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +42 -16
  280. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +65 -26
  281. data/src/ruby/lib/grpc/generic/active_call.rb +19 -23
  282. data/src/ruby/lib/grpc/generic/rpc_server.rb +2 -1
  283. data/src/ruby/lib/grpc/version.rb +1 -1
  284. data/src/ruby/pb/generate_proto_ruby.sh +7 -1
  285. data/src/ruby/pb/grpc/health/v1/health_services_pb.rb +4 -1
  286. data/src/ruby/spec/call_credentials_spec.rb +1 -1
  287. data/src/ruby/spec/call_spec.rb +1 -1
  288. data/src/ruby/spec/channel_credentials_spec.rb +1 -1
  289. data/src/ruby/spec/channel_spec.rb +1 -1
  290. data/src/ruby/spec/client_auth_spec.rb +1 -12
  291. data/src/ruby/spec/client_server_spec.rb +1 -1
  292. data/src/ruby/spec/compression_options_spec.rb +1 -1
  293. data/src/ruby/spec/error_sanity_spec.rb +1 -1
  294. data/src/ruby/spec/generic/client_stub_spec.rb +16 -4
  295. data/src/ruby/spec/generic/rpc_desc_spec.rb +1 -1
  296. data/src/ruby/spec/generic/rpc_server_pool_spec.rb +1 -1
  297. data/src/ruby/spec/generic/service_spec.rb +1 -1
  298. data/src/ruby/spec/google_rpc_status_utils_spec.rb +1 -12
  299. data/src/ruby/spec/pb/duplicate/codegen_spec.rb +1 -0
  300. data/src/ruby/spec/pb/health/checker_spec.rb +1 -1
  301. data/src/ruby/spec/server_credentials_spec.rb +1 -1
  302. data/src/ruby/spec/server_spec.rb +1 -1
  303. data/src/ruby/spec/spec_helper.rb +1 -0
  304. data/src/ruby/spec/support/services.rb +1 -1
  305. data/src/ruby/spec/time_consts_spec.rb +1 -1
  306. data/third_party/address_sorting/address_sorting.c +17 -11
  307. data/third_party/address_sorting/address_sorting_windows.c +43 -3
  308. data/third_party/address_sorting/include/address_sorting/address_sorting.h +3 -0
  309. data/third_party/boringssl/crypto/asn1/a_int.c +33 -28
  310. data/third_party/boringssl/crypto/asn1/a_mbstr.c +24 -22
  311. data/third_party/boringssl/crypto/asn1/a_utf8.c +13 -11
  312. data/third_party/boringssl/crypto/asn1/asn1_locl.h +3 -0
  313. data/third_party/boringssl/crypto/asn1/tasn_dec.c +40 -19
  314. data/third_party/boringssl/crypto/bio/fd.c +1 -0
  315. data/third_party/boringssl/crypto/bio/file.c +2 -0
  316. data/third_party/boringssl/crypto/bn_extra/convert.c +6 -5
  317. data/third_party/boringssl/crypto/bytestring/ber.c +1 -4
  318. data/third_party/boringssl/crypto/bytestring/cbb.c +116 -16
  319. data/third_party/boringssl/crypto/bytestring/cbs.c +151 -20
  320. data/third_party/boringssl/crypto/cipher_extra/e_aesccm.c +203 -0
  321. data/third_party/boringssl/crypto/cipher_extra/e_rc2.c +2 -0
  322. data/third_party/boringssl/crypto/cipher_extra/e_tls.c +1 -2
  323. data/third_party/boringssl/crypto/cpu-aarch64-fuchsia.c +55 -0
  324. data/third_party/boringssl/crypto/cpu-aarch64-linux.c +2 -1
  325. data/third_party/boringssl/crypto/dsa/dsa.c +16 -54
  326. data/third_party/boringssl/crypto/ec_extra/ec_asn1.c +9 -10
  327. data/third_party/boringssl/crypto/ecdh/ecdh.c +4 -3
  328. data/third_party/boringssl/crypto/fipsmodule/bcm.c +11 -542
  329. data/third_party/boringssl/crypto/fipsmodule/bn/add.c +57 -112
  330. data/third_party/boringssl/crypto/fipsmodule/bn/asm/x86_64-gcc.c +4 -3
  331. data/third_party/boringssl/crypto/fipsmodule/bn/bn.c +128 -70
  332. data/third_party/boringssl/crypto/fipsmodule/bn/bytes.c +32 -71
  333. data/third_party/boringssl/crypto/fipsmodule/bn/cmp.c +64 -118
  334. data/third_party/boringssl/crypto/fipsmodule/bn/div.c +284 -122
  335. data/third_party/boringssl/crypto/fipsmodule/bn/exponentiation.c +31 -65
  336. data/third_party/boringssl/crypto/fipsmodule/bn/gcd.c +274 -218
  337. data/third_party/boringssl/crypto/fipsmodule/bn/generic.c +2 -1
  338. data/third_party/boringssl/crypto/fipsmodule/bn/internal.h +187 -27
  339. data/third_party/boringssl/crypto/fipsmodule/bn/jacobi.c +1 -1
  340. data/third_party/boringssl/crypto/fipsmodule/bn/montgomery.c +124 -81
  341. data/third_party/boringssl/crypto/fipsmodule/bn/montgomery_inv.c +8 -30
  342. data/third_party/boringssl/crypto/fipsmodule/bn/mul.c +321 -347
  343. data/third_party/boringssl/crypto/fipsmodule/bn/prime.c +326 -66
  344. data/third_party/boringssl/crypto/fipsmodule/bn/random.c +77 -25
  345. data/third_party/boringssl/crypto/fipsmodule/bn/rsaz_exp.c +199 -222
  346. data/third_party/boringssl/crypto/fipsmodule/bn/rsaz_exp.h +27 -47
  347. data/third_party/boringssl/crypto/fipsmodule/bn/shift.c +155 -96
  348. data/third_party/boringssl/crypto/fipsmodule/bn/sqrt.c +1 -1
  349. data/third_party/boringssl/crypto/fipsmodule/cipher/e_aes.c +10 -10
  350. data/third_party/boringssl/crypto/fipsmodule/des/internal.h +2 -0
  351. data/third_party/boringssl/crypto/fipsmodule/ec/ec.c +78 -47
  352. data/third_party/boringssl/crypto/fipsmodule/ec/ec_key.c +99 -163
  353. data/third_party/boringssl/crypto/fipsmodule/ec/ec_montgomery.c +3 -10
  354. data/third_party/boringssl/crypto/fipsmodule/ec/internal.h +44 -23
  355. data/third_party/boringssl/crypto/fipsmodule/ec/oct.c +59 -90
  356. data/third_party/boringssl/crypto/fipsmodule/ec/p224-64.c +38 -65
  357. data/third_party/boringssl/crypto/fipsmodule/ec/p256-x86_64-table.h +5378 -5418
  358. data/third_party/boringssl/crypto/fipsmodule/ec/p256-x86_64.c +17 -26
  359. data/third_party/boringssl/crypto/fipsmodule/ec/p256-x86_64.h +15 -11
  360. data/third_party/boringssl/crypto/fipsmodule/ec/simple.c +45 -51
  361. data/third_party/boringssl/crypto/fipsmodule/ec/{util-64.c → util.c} +0 -5
  362. data/third_party/boringssl/crypto/fipsmodule/ec/wnaf.c +144 -264
  363. data/third_party/boringssl/crypto/fipsmodule/ecdsa/ecdsa.c +78 -62
  364. data/third_party/boringssl/crypto/fipsmodule/modes/ccm.c +256 -0
  365. data/third_party/boringssl/crypto/fipsmodule/modes/internal.h +36 -32
  366. data/third_party/boringssl/crypto/fipsmodule/rand/ctrdrbg.c +9 -7
  367. data/third_party/boringssl/crypto/fipsmodule/rsa/blinding.c +16 -40
  368. data/third_party/boringssl/crypto/fipsmodule/rsa/internal.h +1 -6
  369. data/third_party/boringssl/crypto/fipsmodule/rsa/rsa.c +57 -39
  370. data/third_party/boringssl/crypto/fipsmodule/rsa/rsa_impl.c +309 -142
  371. data/third_party/boringssl/crypto/fipsmodule/self_check/self_check.c +581 -0
  372. data/third_party/boringssl/crypto/fipsmodule/tls/internal.h +39 -0
  373. data/third_party/boringssl/crypto/fipsmodule/tls/kdf.c +165 -0
  374. data/third_party/boringssl/crypto/internal.h +65 -2
  375. data/third_party/boringssl/crypto/mem.c +0 -2
  376. data/third_party/boringssl/crypto/obj/obj.c +6 -73
  377. data/third_party/boringssl/crypto/thread_pthread.c +35 -5
  378. data/third_party/boringssl/crypto/x509/a_strex.c +11 -11
  379. data/third_party/boringssl/crypto/x509/vpm_int.h +1 -0
  380. data/third_party/boringssl/crypto/x509/x509_vfy.c +4 -0
  381. data/third_party/boringssl/crypto/x509/x509_vpm.c +44 -22
  382. data/third_party/boringssl/crypto/x509/x_name.c +13 -0
  383. data/third_party/boringssl/include/openssl/aead.h +10 -0
  384. data/third_party/boringssl/include/openssl/asn1.h +2 -3
  385. data/third_party/boringssl/include/openssl/base.h +5 -14
  386. data/third_party/boringssl/include/openssl/bio.h +1 -1
  387. data/third_party/boringssl/include/openssl/bn.h +62 -18
  388. data/third_party/boringssl/include/openssl/bytestring.h +53 -28
  389. data/third_party/boringssl/include/openssl/crypto.h +4 -0
  390. data/third_party/boringssl/include/openssl/ec.h +10 -4
  391. data/third_party/boringssl/include/openssl/ec_key.h +7 -6
  392. data/third_party/boringssl/include/openssl/err.h +9 -9
  393. data/third_party/boringssl/include/openssl/evp.h +1 -1
  394. data/third_party/boringssl/include/openssl/rsa.h +35 -10
  395. data/third_party/boringssl/include/openssl/ssl.h +167 -19
  396. data/third_party/boringssl/include/openssl/ssl3.h +0 -1
  397. data/third_party/boringssl/include/openssl/stack.h +1 -1
  398. data/third_party/boringssl/include/openssl/tls1.h +10 -2
  399. data/third_party/boringssl/include/openssl/x509.h +4 -0
  400. data/third_party/boringssl/include/openssl/x509v3.h +1 -0
  401. data/third_party/boringssl/ssl/d1_both.cc +16 -2
  402. data/third_party/boringssl/ssl/dtls_method.cc +1 -1
  403. data/third_party/boringssl/ssl/handoff.cc +285 -0
  404. data/third_party/boringssl/ssl/handshake.cc +26 -12
  405. data/third_party/boringssl/ssl/handshake_client.cc +101 -95
  406. data/third_party/boringssl/ssl/handshake_server.cc +14 -2
  407. data/third_party/boringssl/ssl/internal.h +132 -79
  408. data/third_party/boringssl/ssl/s3_both.cc +2 -2
  409. data/third_party/boringssl/ssl/s3_lib.cc +3 -1
  410. data/third_party/boringssl/ssl/s3_pkt.cc +0 -18
  411. data/third_party/boringssl/ssl/ssl_aead_ctx.cc +1 -4
  412. data/third_party/boringssl/ssl/ssl_asn1.cc +47 -43
  413. data/third_party/boringssl/ssl/ssl_cipher.cc +12 -8
  414. data/third_party/boringssl/ssl/ssl_key_share.cc +3 -1
  415. data/third_party/boringssl/ssl/ssl_lib.cc +83 -14
  416. data/third_party/boringssl/ssl/ssl_privkey.cc +6 -0
  417. data/third_party/boringssl/ssl/ssl_stat.cc +6 -6
  418. data/third_party/boringssl/ssl/ssl_versions.cc +12 -85
  419. data/third_party/boringssl/ssl/ssl_x509.cc +59 -61
  420. data/third_party/boringssl/ssl/t1_enc.cc +73 -124
  421. data/third_party/boringssl/ssl/t1_lib.cc +367 -41
  422. data/third_party/boringssl/ssl/tls13_both.cc +8 -0
  423. data/third_party/boringssl/ssl/tls13_client.cc +98 -184
  424. data/third_party/boringssl/ssl/tls13_enc.cc +88 -158
  425. data/third_party/boringssl/ssl/tls13_server.cc +91 -137
  426. data/third_party/boringssl/ssl/tls_method.cc +0 -17
  427. data/third_party/boringssl/ssl/tls_record.cc +1 -10
  428. data/third_party/boringssl/third_party/fiat/curve25519.c +921 -2753
  429. data/third_party/boringssl/third_party/fiat/curve25519_tables.h +7880 -0
  430. data/third_party/boringssl/third_party/fiat/internal.h +32 -20
  431. data/third_party/boringssl/third_party/fiat/p256.c +1824 -0
  432. metadata +86 -71
  433. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc +0 -253
  434. data/src/core/ext/filters/load_reporting/server_load_reporting_filter.cc +0 -222
  435. data/src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc +0 -71
  436. data/src/core/ext/filters/load_reporting/server_load_reporting_plugin.h +0 -61
  437. data/src/core/lib/channel/channel_trace_registry.cc +0 -80
  438. data/src/core/lib/channel/channel_trace_registry.h +0 -43
  439. data/src/core/lib/gpr/fork.cc +0 -78
  440. data/src/core/tsi/transport_security_adapter.cc +0 -235
  441. data/src/core/tsi/transport_security_adapter.h +0 -41
  442. data/src/ruby/bin/apis/google/protobuf/empty.rb +0 -29
  443. data/src/ruby/bin/apis/pubsub_demo.rb +0 -241
  444. data/src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb +0 -159
  445. data/src/ruby/bin/apis/tech/pubsub/proto/pubsub_services.rb +0 -88
  446. data/src/ruby/pb/test/client.rb +0 -764
  447. data/src/ruby/pb/test/server.rb +0 -252
  448. data/src/ruby/spec/pb/package_with_underscore/checker_spec.rb +0 -54
  449. data/src/ruby/spec/pb/package_with_underscore/data.proto +0 -23
  450. data/src/ruby/spec/pb/package_with_underscore/service.proto +0 -23
  451. data/third_party/boringssl/crypto/curve25519/x25519-x86_64.c +0 -247
  452. data/third_party/boringssl/crypto/fipsmodule/ec/p256-64.c +0 -1674
@@ -100,6 +100,12 @@ typedef enum {
100
100
  GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY
101
101
  } grpc_ssl_client_certificate_request_type;
102
102
 
103
+ /**
104
+ * Type of local connection for which local channel/server credentials will be
105
+ * applied. It only supports UDS for now.
106
+ */
107
+ typedef enum { UDS = 0 } grpc_local_connect_type;
108
+
103
109
  #ifdef __cplusplus
104
110
  }
105
111
  #endif
@@ -37,12 +37,12 @@
37
37
  * }
38
38
  */
39
39
 
40
- void grpc_prefork();
40
+ void grpc_prefork(void);
41
41
 
42
- void grpc_postfork_parent();
42
+ void grpc_postfork_parent(void);
43
43
 
44
- void grpc_postfork_child();
44
+ void grpc_postfork_child(void);
45
45
 
46
- void grpc_fork_handlers_auto_register();
46
+ void grpc_fork_handlers_auto_register(void);
47
47
 
48
48
  #endif /* GRPC_IMPL_CODEGEN_FORK_H */
@@ -196,8 +196,8 @@ typedef struct {
196
196
  data frame, Int valued, milliseconds. */
197
197
  #define GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS \
198
198
  "grpc.http2.min_time_between_pings_ms"
199
- /** Minimum allowed time between receiving successive ping frames without
200
- sending any data frame. Int valued, milliseconds */
199
+ /** Minimum allowed time between a server receiving successive ping frames
200
+ without sending any data frame. Int valued, milliseconds */
201
201
  #define GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS \
202
202
  "grpc.http2.min_ping_interval_without_data_ms"
203
203
  /** Channel arg to override the http2 :scheme header */
@@ -289,6 +289,10 @@ typedef struct {
289
289
  * subchannel. The default is 10. If set to 0, channel tracing is disabled. */
290
290
  #define GRPC_ARG_MAX_CHANNEL_TRACE_EVENTS_PER_NODE \
291
291
  "grpc.max_channel_trace_events_per_node"
292
+ /** If non-zero, gRPC library will track stats and information at at per channel
293
+ * level. Disabling channelz naturally disables channel tracing. The default
294
+ * is for channelz to be disabled. */
295
+ #define GRPC_ARG_ENABLE_CHANNELZ "grpc.enable_channelz"
292
296
  /** If non-zero, Cronet transport will coalesce packets to fewer frames
293
297
  * when possible. */
294
298
  #define GRPC_ARG_USE_CRONET_PACKET_COALESCING \
@@ -332,10 +336,12 @@ typedef struct {
332
336
  #define GRPC_ARG_PER_RPC_RETRY_BUFFER_SIZE "grpc.per_rpc_retry_buffer_size"
333
337
  /** Channel arg that carries the bridged objective c object for custom metrics
334
338
  * logging filter. */
335
- #define GRPC_ARG_MOBILE_LOG_CONFIG "grpc.mobile_log_config"
339
+ #define GRPC_ARG_MOBILE_LOG_CONTEXT "grpc.mobile_log_context"
336
340
  /** If non-zero, client authority filter is disabled for the channel */
337
341
  #define GRPC_ARG_DISABLE_CLIENT_AUTHORITY_FILTER \
338
342
  "grpc.disable_client_authority_filter"
343
+ /** If set to zero, disables use of http proxies. Enabled by default. */
344
+ #define GRPC_ARG_ENABLE_HTTP_PROXY "grpc.enable_http_proxy"
339
345
  /** \} */
340
346
 
341
347
  /** Result of a grpc call. If the caller satisfies the prerequisites of a
@@ -645,10 +651,16 @@ typedef enum {
645
651
  GRPC_CQ_NEXT,
646
652
 
647
653
  /** Events are popped out by calling grpc_completion_queue_pluck() API ONLY*/
648
- GRPC_CQ_PLUCK
654
+ GRPC_CQ_PLUCK,
655
+
656
+ /** EXPERIMENTAL: Events trigger a callback specified as the tag */
657
+ GRPC_CQ_CALLBACK
649
658
  } grpc_cq_completion_type;
650
659
 
651
- #define GRPC_CQ_CURRENT_VERSION 1
660
+ /* The upgrade to version 2 is currently experimental. */
661
+
662
+ #define GRPC_CQ_CURRENT_VERSION 2
663
+ #define GRPC_CQ_VERSION_MINIMUM_FOR_CALLBACKABLE 2
652
664
  typedef struct grpc_completion_queue_attributes {
653
665
  /** The version number of this structure. More fields might be added to this
654
666
  structure in future. */
@@ -657,6 +669,15 @@ typedef struct grpc_completion_queue_attributes {
657
669
  grpc_cq_completion_type cq_completion_type;
658
670
 
659
671
  grpc_cq_polling_type cq_polling_type;
672
+
673
+ /* END OF VERSION 1 CQ ATTRIBUTES */
674
+
675
+ /* EXPERIMENTAL: START OF VERSION 2 CQ ATTRIBUTES */
676
+ /** When creating a callbackable CQ, pass in a functor to get invoked when
677
+ * shutdown is complete */
678
+ void* cq_shutdown_cb;
679
+
680
+ /* END OF VERSION 2 CQ ATTRIBUTES */
660
681
  } grpc_completion_queue_attributes;
661
682
 
662
683
  /** The completion queue factory structure is opaque to the callers of grpc */
@@ -0,0 +1,112 @@
1
+ /*
2
+ *
3
+ * Copyright 2015 gRPC authors.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ *
17
+ */
18
+
19
+ #ifndef GRPC_IMPL_CODEGEN_LOG_H
20
+ #define GRPC_IMPL_CODEGEN_LOG_H
21
+
22
+ #include <grpc/impl/codegen/port_platform.h>
23
+
24
+ #include <stdarg.h>
25
+ #include <stdlib.h> /* for abort() */
26
+
27
+ #ifdef __cplusplus
28
+ extern "C" {
29
+ #endif
30
+
31
+ /** GPR log API.
32
+
33
+ Usage (within grpc):
34
+
35
+ int argument1 = 3;
36
+ char* argument2 = "hello";
37
+ gpr_log(GPR_DEBUG, "format string %d", argument1);
38
+ gpr_log(GPR_INFO, "hello world");
39
+ gpr_log(GPR_ERROR, "%d %s!!", argument1, argument2); */
40
+
41
+ /** The severity of a log message - use the #defines below when calling into
42
+ gpr_log to additionally supply file and line data */
43
+ typedef enum gpr_log_severity {
44
+ GPR_LOG_SEVERITY_DEBUG,
45
+ GPR_LOG_SEVERITY_INFO,
46
+ GPR_LOG_SEVERITY_ERROR
47
+ } gpr_log_severity;
48
+
49
+ #define GPR_LOG_VERBOSITY_UNSET -1
50
+
51
+ /** Returns a string representation of the log severity */
52
+ GPRAPI const char* gpr_log_severity_string(gpr_log_severity severity);
53
+
54
+ /** Macros to build log contexts at various severity levels */
55
+ #define GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG
56
+ #define GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO
57
+ #define GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR
58
+
59
+ /** Log a message. It's advised to use GPR_xxx above to generate the context
60
+ * for each message */
61
+ GPRAPI void gpr_log(const char* file, int line, gpr_log_severity severity,
62
+ const char* format, ...) GPR_PRINT_FORMAT_CHECK(4, 5);
63
+
64
+ GPRAPI int gpr_should_log(gpr_log_severity severity);
65
+
66
+ GPRAPI void gpr_log_message(const char* file, int line,
67
+ gpr_log_severity severity, const char* message);
68
+
69
+ /** Set global log verbosity */
70
+ GPRAPI void gpr_set_log_verbosity(gpr_log_severity min_severity_to_print);
71
+
72
+ GPRAPI void gpr_log_verbosity_init(void);
73
+
74
+ /** Log overrides: applications can use this API to intercept logging calls
75
+ and use their own implementations */
76
+
77
+ struct gpr_log_func_args {
78
+ const char* file;
79
+ int line;
80
+ gpr_log_severity severity;
81
+ const char* message;
82
+ };
83
+
84
+ typedef struct gpr_log_func_args gpr_log_func_args;
85
+
86
+ typedef void (*gpr_log_func)(gpr_log_func_args* args);
87
+ GPRAPI void gpr_set_log_function(gpr_log_func func);
88
+
89
+ /** abort() the process if x is zero, having written a line to the log.
90
+
91
+ Intended for internal invariants. If the error can be recovered from,
92
+ without the possibility of corruption, or might best be reflected via
93
+ an exception in a higher-level language, consider returning error code. */
94
+ #define GPR_ASSERT(x) \
95
+ do { \
96
+ if (GPR_UNLIKELY(!(x))) { \
97
+ gpr_log(GPR_ERROR, "assertion failed: %s", #x); \
98
+ abort(); \
99
+ } \
100
+ } while (0)
101
+
102
+ #ifndef NDEBUG
103
+ #define GPR_DEBUG_ASSERT(x) GPR_ASSERT(x)
104
+ #else
105
+ #define GPR_DEBUG_ASSERT(x)
106
+ #endif
107
+
108
+ #ifdef __cplusplus
109
+ }
110
+ #endif
111
+
112
+ #endif /* GRPC_IMPL_CODEGEN_LOG_H */
@@ -227,7 +227,10 @@
227
227
  #define GPR_POSIX_SYNC 1
228
228
  #define GPR_POSIX_TIME 1
229
229
  #define GPR_GETPID_IN_UNISTD_H 1
230
+ /* TODO(mxyan): Remove when CFStream becomes default */
231
+ #ifndef GRPC_CFSTREAM
230
232
  #define GPR_SUPPORT_CHANNELS_FROM_FD 1
233
+ #endif
231
234
  #ifdef _LP64
232
235
  #define GPR_ARCH_64 1
233
236
  #else /* _LP64 */
@@ -279,6 +282,47 @@
279
282
  #else /* _LP64 */
280
283
  #define GPR_ARCH_32 1
281
284
  #endif /* _LP64 */
285
+ #elif defined(__sun) && defined(__SVR4)
286
+ #define GPR_PLATFORM_STRING "solaris"
287
+ #define GPR_SOLARIS 1
288
+ #define GPR_CPU_POSIX 1
289
+ #define GPR_GCC_ATOMIC 1
290
+ #define GPR_GCC_TLS 1
291
+ #define GPR_POSIX_LOG 1
292
+ #define GPR_POSIX_ENV 1
293
+ #define GPR_POSIX_TMPFILE 1
294
+ #define GPR_POSIX_STRING 1
295
+ #define GPR_POSIX_SUBPROCESS 1
296
+ #define GPR_POSIX_SYNC 1
297
+ #define GPR_POSIX_TIME 1
298
+ #define GPR_GETPID_IN_UNISTD_H 1
299
+ #ifdef _LP64
300
+ #define GPR_ARCH_64 1
301
+ #else /* _LP64 */
302
+ #define GPR_ARCH_32 1
303
+ #endif /* _LP64 */
304
+ #elif defined(_AIX)
305
+ #define GPR_PLATFORM_STRING "aix"
306
+ #ifndef _ALL_SOURCE
307
+ #define _ALL_SOURCE
308
+ #endif
309
+ #define GPR_AIX 1
310
+ #define GPR_CPU_POSIX 1
311
+ #define GPR_GCC_ATOMIC 1
312
+ #define GPR_GCC_TLS 1
313
+ #define GPR_POSIX_LOG 1
314
+ #define GPR_POSIX_ENV 1
315
+ #define GPR_POSIX_TMPFILE 1
316
+ #define GPR_POSIX_STRING 1
317
+ #define GPR_POSIX_SUBPROCESS 1
318
+ #define GPR_POSIX_SYNC 1
319
+ #define GPR_POSIX_TIME 1
320
+ #define GPR_GETPID_IN_UNISTD_H 1
321
+ #ifdef _LP64
322
+ #define GPR_ARCH_64 1
323
+ #else /* _LP64 */
324
+ #define GPR_ARCH_32 1
325
+ #endif /* _LP64 */
282
326
  #elif defined(__native_client__)
283
327
  #define GPR_PLATFORM_STRING "nacl"
284
328
  #ifndef _BSD_SOURCE
@@ -417,12 +461,8 @@ typedef unsigned __int64 uint64_t;
417
461
  #define GPR_MAX_ALIGNMENT 16
418
462
 
419
463
  #ifndef GRPC_ARES
420
- #ifdef GPR_WINDOWS
421
- #define GRPC_ARES 0
422
- #else
423
464
  #define GRPC_ARES 1
424
465
  #endif
425
- #endif
426
466
 
427
467
  #ifndef GRPC_MUST_USE_RESULT
428
468
  #if defined(__GNUC__) && !defined(__MINGW32__)
@@ -500,6 +540,17 @@ typedef unsigned __int64 uint64_t;
500
540
  #endif /* __GPR_WINDOWS */
501
541
  #endif /* GRPC_ALLOW_EXCEPTIONS */
502
542
 
543
+ /* Use GPR_LIKELY only in cases where you are sure that a certain outcome is the
544
+ * most likely. Ideally, also collect performance numbers to justify the claim.
545
+ */
546
+ #ifdef __GNUC__
547
+ #define GPR_LIKELY(x) __builtin_expect((x), 1)
548
+ #define GPR_UNLIKELY(x) __builtin_expect((x), 0)
549
+ #else /* __GNUC__ */
550
+ #define GPR_LIKELY(x) (x)
551
+ #define GPR_UNLIKELY(x) (x)
552
+ #endif /* __GNUC__ */
553
+
503
554
  #ifndef __STDC_FORMAT_MACROS
504
555
  #define __STDC_FORMAT_MACROS
505
556
  #endif
@@ -17,6 +17,7 @@ framework module grpc {
17
17
  header "impl/codegen/fork.h"
18
18
  header "impl/codegen/gpr_slice.h"
19
19
  header "impl/codegen/gpr_types.h"
20
+ header "impl/codegen/log.h"
20
21
  header "impl/codegen/port_platform.h"
21
22
  header "impl/codegen/sync.h"
22
23
  header "impl/codegen/sync_generic.h"
@@ -32,6 +33,7 @@ framework module grpc {
32
33
  header "impl/codegen/fork.h"
33
34
  header "impl/codegen/gpr_slice.h"
34
35
  header "impl/codegen/gpr_types.h"
36
+ header "impl/codegen/log.h"
35
37
  header "impl/codegen/port_platform.h"
36
38
  header "impl/codegen/sync.h"
37
39
  header "impl/codegen/sync_generic.h"
@@ -19,86 +19,8 @@
19
19
  #ifndef GRPC_SUPPORT_LOG_H
20
20
  #define GRPC_SUPPORT_LOG_H
21
21
 
22
- #include <grpc/impl/codegen/port_platform.h>
22
+ #include <grpc/support/port_platform.h>
23
23
 
24
- #include <stdarg.h>
25
- #include <stdlib.h> /* for abort() */
26
-
27
- #ifdef __cplusplus
28
- extern "C" {
29
- #endif
30
-
31
- /** GPR log API.
32
-
33
- Usage (within grpc):
34
-
35
- int argument1 = 3;
36
- char* argument2 = "hello";
37
- gpr_log(GPR_DEBUG, "format string %d", argument1);
38
- gpr_log(GPR_INFO, "hello world");
39
- gpr_log(GPR_ERROR, "%d %s!!", argument1, argument2); */
40
-
41
- /** The severity of a log message - use the #defines below when calling into
42
- gpr_log to additionally supply file and line data */
43
- typedef enum gpr_log_severity {
44
- GPR_LOG_SEVERITY_DEBUG,
45
- GPR_LOG_SEVERITY_INFO,
46
- GPR_LOG_SEVERITY_ERROR
47
- } gpr_log_severity;
48
-
49
- #define GPR_LOG_VERBOSITY_UNSET -1
50
-
51
- /** Returns a string representation of the log severity */
52
- GPRAPI const char* gpr_log_severity_string(gpr_log_severity severity);
53
-
54
- /** Macros to build log contexts at various severity levels */
55
- #define GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG
56
- #define GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO
57
- #define GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR
58
-
59
- /** Log a message. It's advised to use GPR_xxx above to generate the context
60
- * for each message */
61
- GPRAPI void gpr_log(const char* file, int line, gpr_log_severity severity,
62
- const char* format, ...) GPR_PRINT_FORMAT_CHECK(4, 5);
63
-
64
- GPRAPI void gpr_log_message(const char* file, int line,
65
- gpr_log_severity severity, const char* message);
66
-
67
- /** Set global log verbosity */
68
- GPRAPI void gpr_set_log_verbosity(gpr_log_severity min_severity_to_print);
69
-
70
- GPRAPI void gpr_log_verbosity_init(void);
71
-
72
- /** Log overrides: applications can use this API to intercept logging calls
73
- and use their own implementations */
74
-
75
- struct gpr_log_func_args {
76
- const char* file;
77
- int line;
78
- gpr_log_severity severity;
79
- const char* message;
80
- };
81
-
82
- typedef struct gpr_log_func_args gpr_log_func_args;
83
-
84
- typedef void (*gpr_log_func)(gpr_log_func_args* args);
85
- GPRAPI void gpr_set_log_function(gpr_log_func func);
86
-
87
- /** abort() the process if x is zero, having written a line to the log.
88
-
89
- Intended for internal invariants. If the error can be recovered from,
90
- without the possibility of corruption, or might best be reflected via
91
- an exception in a higher-level language, consider returning error code. */
92
- #define GPR_ASSERT(x) \
93
- do { \
94
- if (!(x)) { \
95
- gpr_log(GPR_ERROR, "assertion failed: %s", #x); \
96
- abort(); \
97
- } \
98
- } while (0)
99
-
100
- #ifdef __cplusplus
101
- }
102
- #endif
24
+ #include <grpc/impl/codegen/log.h>
103
25
 
104
26
  #endif /* GRPC_SUPPORT_LOG_H */
@@ -21,6 +21,8 @@
21
21
 
22
22
  #include <grpc/support/port_platform.h>
23
23
 
24
+ #include <grpc/impl/codegen/gpr_types.h>
25
+
24
26
  #ifdef __cplusplus
25
27
  extern "C" {
26
28
  #endif
@@ -277,22 +277,6 @@ GPRAPI intptr_t gpr_stats_read(const gpr_stats_counter* c);
277
277
 
278
278
  #ifdef __cplusplus
279
279
  } // extern "C"
280
-
281
- namespace grpc_core {
282
-
283
- class mu_guard {
284
- public:
285
- mu_guard(gpr_mu* mu) : mu_(mu) { gpr_mu_lock(mu); }
286
- ~mu_guard() { gpr_mu_unlock(mu_); }
287
-
288
- mu_guard(const mu_guard&) = delete;
289
- mu_guard& operator=(const mu_guard&) = delete;
290
-
291
- private:
292
- gpr_mu* const mu_;
293
- };
294
-
295
- } // namespace grpc_core
296
280
  #endif
297
281
 
298
282
  #endif /* GRPC_SUPPORT_SYNC_H */
@@ -54,174 +54,175 @@ OPENSSL_COMPILE_ASSERT(ERR_LIB_USER == 32, library_values_changed_32);
54
54
  OPENSSL_COMPILE_ASSERT(ERR_NUM_LIBS == 33, library_values_changed_num);
55
55
 
56
56
  const uint32_t kOpenSSLReasonValues[] = {
57
- 0xc320838,
58
- 0xc328852,
59
- 0xc330861,
60
- 0xc338871,
61
- 0xc340880,
62
- 0xc348899,
63
- 0xc3508a5,
64
- 0xc3588c2,
65
- 0xc3608e2,
66
- 0xc3688f0,
67
- 0xc370900,
68
- 0xc37890d,
69
- 0xc38091d,
70
- 0xc388928,
71
- 0xc39093e,
72
- 0xc39894d,
73
- 0xc3a0961,
74
- 0xc3a8845,
57
+ 0xc320848,
58
+ 0xc328862,
59
+ 0xc330871,
60
+ 0xc338881,
61
+ 0xc340890,
62
+ 0xc3488a9,
63
+ 0xc3508b5,
64
+ 0xc3588d2,
65
+ 0xc3608f2,
66
+ 0xc368900,
67
+ 0xc370910,
68
+ 0xc37891d,
69
+ 0xc38092d,
70
+ 0xc388938,
71
+ 0xc39094e,
72
+ 0xc39895d,
73
+ 0xc3a0971,
74
+ 0xc3a8855,
75
75
  0xc3b00ea,
76
- 0xc3b88d4,
77
- 0x10320845,
78
- 0x10329535,
79
- 0x10331541,
80
- 0x1033955a,
81
- 0x1034156d,
82
- 0x10348efc,
83
- 0x10350c5e,
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,
76
+ 0xc3b88e4,
77
+ 0x10320855,
78
+ 0x10329545,
79
+ 0x10331551,
80
+ 0x1033956a,
81
+ 0x1034157d,
82
+ 0x10348f0c,
83
+ 0x10350c6e,
84
+ 0x10359590,
85
+ 0x103615a5,
86
+ 0x103695b8,
87
+ 0x103715d7,
88
+ 0x103795f0,
89
+ 0x10381605,
90
+ 0x10389623,
91
+ 0x10391632,
92
+ 0x1039964e,
93
+ 0x103a1669,
94
+ 0x103a9678,
95
+ 0x103b1694,
96
+ 0x103b96af,
97
+ 0x103c16d5,
98
98
  0x103c80ea,
99
- 0x103d16c7,
100
- 0x103d96db,
101
- 0x103e16fa,
102
- 0x103e9709,
103
- 0x103f1720,
104
- 0x103f9733,
105
- 0x10400c22,
106
- 0x10409746,
107
- 0x10411764,
108
- 0x10419777,
109
- 0x10421791,
110
- 0x104297a1,
111
- 0x104317b5,
112
- 0x104397cb,
113
- 0x104417e3,
114
- 0x104497f8,
115
- 0x1045180c,
116
- 0x1045981e,
117
- 0x104605fb,
118
- 0x1046894d,
119
- 0x10471833,
120
- 0x1047984a,
121
- 0x1048185f,
122
- 0x1048986d,
123
- 0x10490e5e,
124
- 0x14320c05,
125
- 0x14328c13,
126
- 0x14330c22,
127
- 0x14338c34,
99
+ 0x103d16e6,
100
+ 0x103d96fa,
101
+ 0x103e1719,
102
+ 0x103e9728,
103
+ 0x103f173f,
104
+ 0x103f9752,
105
+ 0x10400c32,
106
+ 0x10409765,
107
+ 0x10411783,
108
+ 0x10419796,
109
+ 0x104217b0,
110
+ 0x104297c0,
111
+ 0x104317d4,
112
+ 0x104397ea,
113
+ 0x10441802,
114
+ 0x10449817,
115
+ 0x1045182b,
116
+ 0x1045983d,
117
+ 0x1046060b,
118
+ 0x1046895d,
119
+ 0x10471852,
120
+ 0x10479869,
121
+ 0x1048187e,
122
+ 0x1048988c,
123
+ 0x10490e6e,
124
+ 0x104996c6,
125
+ 0x14320c15,
126
+ 0x14328c23,
127
+ 0x14330c32,
128
+ 0x14338c44,
128
129
  0x143400ac,
129
130
  0x143480ea,
130
131
  0x18320083,
131
- 0x18328f52,
132
+ 0x18328f62,
132
133
  0x183300ac,
133
- 0x18338f68,
134
- 0x18340f7c,
134
+ 0x18338f78,
135
+ 0x18340f8c,
135
136
  0x183480ea,
136
- 0x18350f91,
137
- 0x18358fa9,
138
- 0x18360fbe,
139
- 0x18368fd2,
140
- 0x18370ff6,
141
- 0x1837900c,
142
- 0x18381020,
143
- 0x18389030,
144
- 0x18390a73,
145
- 0x18399040,
146
- 0x183a1068,
147
- 0x183a908e,
148
- 0x183b0c6a,
149
- 0x183b90c3,
150
- 0x183c10d5,
151
- 0x183c90e0,
152
- 0x183d10f0,
153
- 0x183d9101,
154
- 0x183e1112,
155
- 0x183e9124,
156
- 0x183f114d,
157
- 0x183f9166,
158
- 0x1840117e,
159
- 0x184086d3,
160
- 0x184110b1,
161
- 0x1841907c,
162
- 0x1842109b,
163
- 0x18429055,
164
- 0x203211b8,
165
- 0x203291a5,
166
- 0x243211c4,
167
- 0x24328993,
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,
181
- 0x28320c52,
182
- 0x28328c6a,
183
- 0x28330c22,
184
- 0x28338c7d,
185
- 0x28340c5e,
137
+ 0x18350fa1,
138
+ 0x18358fb9,
139
+ 0x18360fce,
140
+ 0x18368fe2,
141
+ 0x18371006,
142
+ 0x1837901c,
143
+ 0x18381030,
144
+ 0x18389040,
145
+ 0x18390a83,
146
+ 0x18399050,
147
+ 0x183a1078,
148
+ 0x183a909e,
149
+ 0x183b0c7a,
150
+ 0x183b90d3,
151
+ 0x183c10e5,
152
+ 0x183c90f0,
153
+ 0x183d1100,
154
+ 0x183d9111,
155
+ 0x183e1122,
156
+ 0x183e9134,
157
+ 0x183f115d,
158
+ 0x183f9176,
159
+ 0x1840118e,
160
+ 0x184086e3,
161
+ 0x184110c1,
162
+ 0x1841908c,
163
+ 0x184210ab,
164
+ 0x18429065,
165
+ 0x203211c8,
166
+ 0x203291b5,
167
+ 0x243211d4,
168
+ 0x243289a3,
169
+ 0x243311e6,
170
+ 0x243391f3,
171
+ 0x24341200,
172
+ 0x24349212,
173
+ 0x24351221,
174
+ 0x2435923e,
175
+ 0x2436124b,
176
+ 0x24369259,
177
+ 0x24371267,
178
+ 0x24379275,
179
+ 0x2438127e,
180
+ 0x2438928b,
181
+ 0x2439129e,
182
+ 0x28320c62,
183
+ 0x28328c7a,
184
+ 0x28330c32,
185
+ 0x28338c8d,
186
+ 0x28340c6e,
186
187
  0x283480ac,
187
188
  0x283500ea,
188
- 0x2c322c6c,
189
- 0x2c3292a5,
190
- 0x2c332c7a,
191
- 0x2c33ac8c,
192
- 0x2c342ca0,
193
- 0x2c34acb2,
194
- 0x2c352ccd,
195
- 0x2c35acdf,
196
- 0x2c362cf2,
189
+ 0x2c322d16,
190
+ 0x2c3292b5,
191
+ 0x2c332d24,
192
+ 0x2c33ad36,
193
+ 0x2c342d4a,
194
+ 0x2c34ad5c,
195
+ 0x2c352d77,
196
+ 0x2c35ad89,
197
+ 0x2c362d9c,
197
198
  0x2c36832d,
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,
222
- 0x2c430720,
223
- 0x2c43adb3,
224
- 0x2c442d24,
199
+ 0x2c372da9,
200
+ 0x2c37adbb,
201
+ 0x2c382de0,
202
+ 0x2c38adf7,
203
+ 0x2c392e05,
204
+ 0x2c39ae15,
205
+ 0x2c3a2e27,
206
+ 0x2c3aae3b,
207
+ 0x2c3b2e4c,
208
+ 0x2c3bae6b,
209
+ 0x2c3c12c7,
210
+ 0x2c3c92dd,
211
+ 0x2c3d2e7f,
212
+ 0x2c3d92f6,
213
+ 0x2c3e2e9c,
214
+ 0x2c3eaeaa,
215
+ 0x2c3f2ec2,
216
+ 0x2c3faeda,
217
+ 0x2c402ee7,
218
+ 0x2c4091c8,
219
+ 0x2c412ef8,
220
+ 0x2c41af0b,
221
+ 0x2c42118e,
222
+ 0x2c42af1c,
223
+ 0x2c430730,
224
+ 0x2c43ae5d,
225
+ 0x2c442dce,
225
226
  0x30320000,
226
227
  0x30328015,
227
228
  0x3033001f,
@@ -282,449 +283,455 @@ const uint32_t kOpenSSLReasonValues[] = {
282
283
  0x304e8463,
283
284
  0x304f0475,
284
285
  0x304f8487,
285
- 0x3050049a,
286
- 0x305084ad,
287
- 0x305104be,
288
- 0x305184ce,
289
- 0x305204e6,
290
- 0x305284fb,
291
- 0x30530513,
292
- 0x30538527,
293
- 0x3054053f,
294
- 0x30548558,
295
- 0x30550571,
296
- 0x3055858e,
297
- 0x30560599,
298
- 0x305685b1,
299
- 0x305705c1,
300
- 0x305785d2,
301
- 0x305805e5,
302
- 0x305885fb,
303
- 0x30590604,
304
- 0x30598619,
305
- 0x305a062c,
306
- 0x305a863b,
307
- 0x305b065b,
308
- 0x305b866a,
309
- 0x305c068b,
310
- 0x305c86a7,
311
- 0x305d06b3,
312
- 0x305d86d3,
313
- 0x305e06ef,
314
- 0x305e8700,
315
- 0x305f0716,
316
- 0x305f8720,
317
- 0x34320b63,
318
- 0x34328b77,
319
- 0x34330b94,
320
- 0x34338ba7,
321
- 0x34340bb6,
322
- 0x34348bef,
323
- 0x34350bd3,
286
+ 0x305004aa,
287
+ 0x305084bd,
288
+ 0x305104ce,
289
+ 0x305184de,
290
+ 0x305204f6,
291
+ 0x3052850b,
292
+ 0x30530523,
293
+ 0x30538537,
294
+ 0x3054054f,
295
+ 0x30548568,
296
+ 0x30550581,
297
+ 0x3055859e,
298
+ 0x305605a9,
299
+ 0x305685c1,
300
+ 0x305705d1,
301
+ 0x305785e2,
302
+ 0x305805f5,
303
+ 0x3058860b,
304
+ 0x30590614,
305
+ 0x30598629,
306
+ 0x305a063c,
307
+ 0x305a864b,
308
+ 0x305b066b,
309
+ 0x305b867a,
310
+ 0x305c069b,
311
+ 0x305c86b7,
312
+ 0x305d06c3,
313
+ 0x305d86e3,
314
+ 0x305e06ff,
315
+ 0x305e8710,
316
+ 0x305f0726,
317
+ 0x305f8730,
318
+ 0x3060049a,
319
+ 0x34320b73,
320
+ 0x34328b87,
321
+ 0x34330ba4,
322
+ 0x34338bb7,
323
+ 0x34340bc6,
324
+ 0x34348bff,
325
+ 0x34350be3,
324
326
  0x3c320083,
325
- 0x3c328ca7,
326
- 0x3c330cc0,
327
- 0x3c338cdb,
328
- 0x3c340cf8,
329
- 0x3c348d22,
330
- 0x3c350d3d,
331
- 0x3c358d63,
332
- 0x3c360d7c,
333
- 0x3c368d94,
334
- 0x3c370da5,
335
- 0x3c378db3,
336
- 0x3c380dc0,
337
- 0x3c388dd4,
338
- 0x3c390c6a,
339
- 0x3c398df7,
340
- 0x3c3a0e0b,
341
- 0x3c3a890d,
342
- 0x3c3b0e1b,
343
- 0x3c3b8e36,
344
- 0x3c3c0e48,
345
- 0x3c3c8e7b,
346
- 0x3c3d0e85,
347
- 0x3c3d8e99,
348
- 0x3c3e0ea7,
349
- 0x3c3e8ecc,
350
- 0x3c3f0c93,
351
- 0x3c3f8eb5,
327
+ 0x3c328cb7,
328
+ 0x3c330cd0,
329
+ 0x3c338ceb,
330
+ 0x3c340d08,
331
+ 0x3c348d32,
332
+ 0x3c350d4d,
333
+ 0x3c358d73,
334
+ 0x3c360d8c,
335
+ 0x3c368da4,
336
+ 0x3c370db5,
337
+ 0x3c378dc3,
338
+ 0x3c380dd0,
339
+ 0x3c388de4,
340
+ 0x3c390c7a,
341
+ 0x3c398e07,
342
+ 0x3c3a0e1b,
343
+ 0x3c3a891d,
344
+ 0x3c3b0e2b,
345
+ 0x3c3b8e46,
346
+ 0x3c3c0e58,
347
+ 0x3c3c8e8b,
348
+ 0x3c3d0e95,
349
+ 0x3c3d8ea9,
350
+ 0x3c3e0eb7,
351
+ 0x3c3e8edc,
352
+ 0x3c3f0ca3,
353
+ 0x3c3f8ec5,
352
354
  0x3c4000ac,
353
355
  0x3c4080ea,
354
- 0x3c410d13,
355
- 0x3c418d52,
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,
356
+ 0x3c410d23,
357
+ 0x3c418d62,
358
+ 0x3c420e6e,
359
+ 0x3c428df8,
360
+ 0x403218e5,
361
+ 0x403298fb,
362
+ 0x40331929,
363
+ 0x40339933,
364
+ 0x4034194a,
365
+ 0x40349968,
366
+ 0x40351978,
367
+ 0x4035998a,
368
+ 0x40361997,
369
+ 0x403699a3,
370
+ 0x403719b8,
371
+ 0x403799ca,
372
+ 0x403819d5,
373
+ 0x403899e7,
374
+ 0x40390f0c,
375
+ 0x403999f7,
376
+ 0x403a1a0a,
377
+ 0x403a9a2b,
378
+ 0x403b1a3c,
379
+ 0x403b9a4c,
378
380
  0x403c0064,
379
381
  0x403c8083,
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,
382
+ 0x403d1ad0,
383
+ 0x403d9ae6,
384
+ 0x403e1af5,
385
+ 0x403e9b2d,
386
+ 0x403f1b47,
387
+ 0x403f9b55,
388
+ 0x40401b6a,
389
+ 0x40409b7e,
390
+ 0x40411b9b,
391
+ 0x40419bb6,
392
+ 0x40421bcf,
393
+ 0x40429be2,
394
+ 0x40431bf6,
395
+ 0x40439c0e,
396
+ 0x40441c25,
395
397
  0x404480ac,
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,
446
- 0x405e8ab1,
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,
483
- 0x40710800,
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,
573
- 0x4432072b,
574
- 0x4432873a,
575
- 0x44330746,
576
- 0x44338754,
577
- 0x44340767,
578
- 0x44348778,
579
- 0x4435077f,
580
- 0x44358789,
581
- 0x4436079c,
582
- 0x443687b2,
583
- 0x443707c4,
584
- 0x443787d1,
585
- 0x443807e0,
586
- 0x443887e8,
587
- 0x44390800,
588
- 0x4439880e,
589
- 0x443a0821,
590
- 0x483212a5,
591
- 0x483292b7,
592
- 0x483312cd,
593
- 0x483392e6,
594
- 0x4c32130b,
595
- 0x4c32931b,
596
- 0x4c33132e,
597
- 0x4c33934e,
398
+ 0x40451c3a,
399
+ 0x40459c4c,
400
+ 0x40461c70,
401
+ 0x40469c90,
402
+ 0x40471c9e,
403
+ 0x40479cc5,
404
+ 0x40481d18,
405
+ 0x40489d4b,
406
+ 0x40491d62,
407
+ 0x40499d7c,
408
+ 0x404a1d93,
409
+ 0x404a9db1,
410
+ 0x404b1dc9,
411
+ 0x404b9de0,
412
+ 0x404c1df6,
413
+ 0x404c9e08,
414
+ 0x404d1e29,
415
+ 0x404d9e62,
416
+ 0x404e1e76,
417
+ 0x404e9e83,
418
+ 0x404f1eb0,
419
+ 0x404f9ed9,
420
+ 0x40501f14,
421
+ 0x40509f28,
422
+ 0x40511f43,
423
+ 0x40521f53,
424
+ 0x40529f77,
425
+ 0x40531f8f,
426
+ 0x40539fa2,
427
+ 0x40541fb7,
428
+ 0x40549fda,
429
+ 0x40551fe8,
430
+ 0x4055a025,
431
+ 0x40562032,
432
+ 0x4056a04b,
433
+ 0x40572063,
434
+ 0x4057a076,
435
+ 0x4058208b,
436
+ 0x4058a0b2,
437
+ 0x405920e1,
438
+ 0x4059a10e,
439
+ 0x405a2122,
440
+ 0x405aa132,
441
+ 0x405b214a,
442
+ 0x405ba15b,
443
+ 0x405c216e,
444
+ 0x405ca1ad,
445
+ 0x405d21ba,
446
+ 0x405da1d1,
447
+ 0x405e220f,
448
+ 0x405e8ac1,
449
+ 0x405f2230,
450
+ 0x405fa23d,
451
+ 0x4060224b,
452
+ 0x4060a26d,
453
+ 0x406122ce,
454
+ 0x4061a306,
455
+ 0x4062231d,
456
+ 0x4062a32e,
457
+ 0x4063233f,
458
+ 0x4063a354,
459
+ 0x4064236b,
460
+ 0x4064a397,
461
+ 0x406523b2,
462
+ 0x4065a3c9,
463
+ 0x406623e1,
464
+ 0x4066a40b,
465
+ 0x40672436,
466
+ 0x4067a457,
467
+ 0x4068249f,
468
+ 0x4068a4c0,
469
+ 0x406924f2,
470
+ 0x4069a520,
471
+ 0x406a2541,
472
+ 0x406aa561,
473
+ 0x406b26e9,
474
+ 0x406ba70c,
475
+ 0x406c2722,
476
+ 0x406ca99d,
477
+ 0x406d29cc,
478
+ 0x406da9f4,
479
+ 0x406e2a22,
480
+ 0x406eaa6f,
481
+ 0x406f2a8e,
482
+ 0x406faac6,
483
+ 0x40702ad9,
484
+ 0x4070aaf6,
485
+ 0x40710810,
486
+ 0x4071ab08,
487
+ 0x40722b1b,
488
+ 0x4072ab34,
489
+ 0x40732b4c,
490
+ 0x407394b4,
491
+ 0x40742b60,
492
+ 0x4074ab7a,
493
+ 0x40752b8b,
494
+ 0x4075ab9f,
495
+ 0x40762bad,
496
+ 0x4076928b,
497
+ 0x40772bd2,
498
+ 0x4077abf4,
499
+ 0x40782c0f,
500
+ 0x4078ac48,
501
+ 0x40792c5f,
502
+ 0x4079ac75,
503
+ 0x407a2c81,
504
+ 0x407aac94,
505
+ 0x407b2ca9,
506
+ 0x407bacbb,
507
+ 0x407c2cec,
508
+ 0x407cacf5,
509
+ 0x407d24db,
510
+ 0x407d9ee9,
511
+ 0x407e2c24,
512
+ 0x407ea0c2,
513
+ 0x407f1cb2,
514
+ 0x407f9a72,
515
+ 0x40801ec0,
516
+ 0x40809cda,
517
+ 0x40811f65,
518
+ 0x40819e9a,
519
+ 0x40822a0d,
520
+ 0x40829a58,
521
+ 0x4083209d,
522
+ 0x4083a37c,
523
+ 0x40841cee,
524
+ 0x4084a0fa,
525
+ 0x4085217f,
526
+ 0x4085a295,
527
+ 0x408621f1,
528
+ 0x40869f03,
529
+ 0x40872a53,
530
+ 0x4087a2e3,
531
+ 0x40881ab9,
532
+ 0x4088a46a,
533
+ 0x40891b08,
534
+ 0x40899a95,
535
+ 0x408a2742,
536
+ 0x408a98a3,
537
+ 0x408b2cd0,
538
+ 0x408baaa3,
539
+ 0x408c218f,
540
+ 0x408c98bf,
541
+ 0x408d1d31,
542
+ 0x408d9d02,
543
+ 0x408e1e4b,
544
+ 0x408ea005,
545
+ 0x408f247e,
546
+ 0x408fa2b1,
547
+ 0x41f42614,
548
+ 0x41f926a6,
549
+ 0x41fe2599,
550
+ 0x41fea78e,
551
+ 0x41ff287f,
552
+ 0x4203262d,
553
+ 0x4208264f,
554
+ 0x4208a68b,
555
+ 0x4209257d,
556
+ 0x4209a6c5,
557
+ 0x420a25d4,
558
+ 0x420aa5b4,
559
+ 0x420b25f4,
560
+ 0x420ba66d,
561
+ 0x420c289b,
562
+ 0x420ca75b,
563
+ 0x420d2775,
564
+ 0x420da7ac,
565
+ 0x421227c6,
566
+ 0x42172862,
567
+ 0x4217a808,
568
+ 0x421c282a,
569
+ 0x421f27e5,
570
+ 0x422128b2,
571
+ 0x42262845,
572
+ 0x422b2981,
573
+ 0x422ba92f,
574
+ 0x422c2969,
575
+ 0x422ca8ee,
576
+ 0x422d28cd,
577
+ 0x422da94e,
578
+ 0x422e2914,
579
+ 0x422eaa3a,
580
+ 0x4432073b,
581
+ 0x4432874a,
582
+ 0x44330756,
583
+ 0x44338764,
584
+ 0x44340777,
585
+ 0x44348788,
586
+ 0x4435078f,
587
+ 0x44358799,
588
+ 0x443607ac,
589
+ 0x443687c2,
590
+ 0x443707d4,
591
+ 0x443787e1,
592
+ 0x443807f0,
593
+ 0x443887f8,
594
+ 0x44390810,
595
+ 0x4439881e,
596
+ 0x443a0831,
597
+ 0x483212b5,
598
+ 0x483292c7,
599
+ 0x483312dd,
600
+ 0x483392f6,
601
+ 0x4c32131b,
602
+ 0x4c32932b,
603
+ 0x4c33133e,
604
+ 0x4c33935e,
598
605
  0x4c3400ac,
599
606
  0x4c3480ea,
600
- 0x4c35135a,
601
- 0x4c359368,
602
- 0x4c361384,
603
- 0x4c369397,
604
- 0x4c3713a6,
605
- 0x4c3793b4,
606
- 0x4c3813c9,
607
- 0x4c3893d5,
608
- 0x4c3913f5,
609
- 0x4c39941f,
610
- 0x4c3a1438,
611
- 0x4c3a9451,
612
- 0x4c3b05fb,
613
- 0x4c3b946a,
614
- 0x4c3c147c,
615
- 0x4c3c948b,
616
- 0x4c3d14a4,
617
- 0x4c3d8c45,
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,
607
+ 0x4c35136a,
608
+ 0x4c359378,
609
+ 0x4c361394,
610
+ 0x4c3693a7,
611
+ 0x4c3713b6,
612
+ 0x4c3793c4,
613
+ 0x4c3813d9,
614
+ 0x4c3893e5,
615
+ 0x4c391405,
616
+ 0x4c39942f,
617
+ 0x4c3a1448,
618
+ 0x4c3a9461,
619
+ 0x4c3b060b,
620
+ 0x4c3b947a,
621
+ 0x4c3c148c,
622
+ 0x4c3c949b,
623
+ 0x4c3d14b4,
624
+ 0x4c3d8c55,
625
+ 0x4c3e150d,
626
+ 0x4c3e94c3,
627
+ 0x4c3f152f,
628
+ 0x4c3f928b,
629
+ 0x4c4014d9,
630
+ 0x4c409307,
631
+ 0x4c4114fd,
632
+ 0x50322f2e,
633
+ 0x5032af3d,
634
+ 0x50332f48,
635
+ 0x5033af58,
636
+ 0x50342f71,
637
+ 0x5034af8b,
638
+ 0x50352f99,
639
+ 0x5035afaf,
640
+ 0x50362fc1,
641
+ 0x5036afd7,
642
+ 0x50372ff0,
643
+ 0x5037b003,
644
+ 0x5038301b,
645
+ 0x5038b02c,
646
+ 0x50393041,
647
+ 0x5039b055,
648
+ 0x503a3075,
649
+ 0x503ab08b,
650
+ 0x503b30a3,
651
+ 0x503bb0b5,
652
+ 0x503c30d1,
653
+ 0x503cb0e8,
654
+ 0x503d3101,
655
+ 0x503db117,
656
+ 0x503e3124,
657
+ 0x503eb13a,
658
+ 0x503f314c,
652
659
  0x503f8382,
653
- 0x504030b5,
654
- 0x5040b0c5,
655
- 0x504130df,
656
- 0x5041b0ee,
657
- 0x50423108,
658
- 0x5042b125,
659
- 0x50433135,
660
- 0x5043b145,
661
- 0x50443154,
660
+ 0x5040315f,
661
+ 0x5040b16f,
662
+ 0x50413189,
663
+ 0x5041b198,
664
+ 0x504231b2,
665
+ 0x5042b1cf,
666
+ 0x504331df,
667
+ 0x5043b1ef,
668
+ 0x504431fe,
662
669
  0x5044843f,
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,
686
- 0x505086ef,
687
- 0x5051338d,
688
- 0x58320f3a,
689
- 0x68320efc,
690
- 0x68328c6a,
691
- 0x68330c7d,
692
- 0x68338f0a,
693
- 0x68340f1a,
670
+ 0x50453212,
671
+ 0x5045b230,
672
+ 0x50463243,
673
+ 0x5046b259,
674
+ 0x5047326b,
675
+ 0x5047b280,
676
+ 0x504832a6,
677
+ 0x5048b2b4,
678
+ 0x504932c7,
679
+ 0x5049b2dc,
680
+ 0x504a32f2,
681
+ 0x504ab302,
682
+ 0x504b3322,
683
+ 0x504bb335,
684
+ 0x504c3358,
685
+ 0x504cb386,
686
+ 0x504d3398,
687
+ 0x504db3b5,
688
+ 0x504e33d0,
689
+ 0x504eb3ec,
690
+ 0x504f33fe,
691
+ 0x504fb415,
692
+ 0x50503424,
693
+ 0x505086ff,
694
+ 0x50513437,
695
+ 0x58320f4a,
696
+ 0x68320f0c,
697
+ 0x68328c7a,
698
+ 0x68330c8d,
699
+ 0x68338f1a,
700
+ 0x68340f2a,
694
701
  0x683480ea,
695
- 0x6c320ed8,
696
- 0x6c328c34,
697
- 0x6c330ee3,
698
- 0x74320a19,
702
+ 0x6c320ee8,
703
+ 0x6c328c44,
704
+ 0x6c330ef3,
705
+ 0x74320a29,
699
706
  0x743280ac,
700
- 0x74330c45,
701
- 0x7832097e,
702
- 0x78328993,
703
- 0x7833099f,
707
+ 0x74330c55,
708
+ 0x7832098e,
709
+ 0x783289a3,
710
+ 0x783309af,
704
711
  0x78338083,
705
- 0x783409ae,
706
- 0x783489c3,
707
- 0x783509e2,
708
- 0x78358a04,
709
- 0x78360a19,
710
- 0x78368a2f,
711
- 0x78370a3f,
712
- 0x78378a60,
713
- 0x78380a73,
714
- 0x78388a85,
715
- 0x78390a92,
716
- 0x78398ab1,
717
- 0x783a0ac6,
718
- 0x783a8ad4,
719
- 0x783b0ade,
720
- 0x783b8af2,
721
- 0x783c0b09,
722
- 0x783c8b1e,
723
- 0x783d0b35,
724
- 0x783d8b4a,
725
- 0x783e0aa0,
726
- 0x783e8a52,
727
- 0x7c321194,
712
+ 0x783409be,
713
+ 0x783489d3,
714
+ 0x783509f2,
715
+ 0x78358a14,
716
+ 0x78360a29,
717
+ 0x78368a3f,
718
+ 0x78370a4f,
719
+ 0x78378a70,
720
+ 0x78380a83,
721
+ 0x78388a95,
722
+ 0x78390aa2,
723
+ 0x78398ac1,
724
+ 0x783a0ad6,
725
+ 0x783a8ae4,
726
+ 0x783b0aee,
727
+ 0x783b8b02,
728
+ 0x783c0b19,
729
+ 0x783c8b2e,
730
+ 0x783d0b45,
731
+ 0x783d8b5a,
732
+ 0x783e0ab0,
733
+ 0x783e8a62,
734
+ 0x7c3211a4,
728
735
  };
729
736
 
730
737
  const size_t kOpenSSLReasonValuesLen = sizeof(kOpenSSLReasonValues) / sizeof(kOpenSSLReasonValues[0]);
@@ -790,6 +797,7 @@ const char kOpenSSLReasonStringData[] =
790
797
  "MSTRING_WRONG_TAG\0"
791
798
  "NESTED_ASN1_ERROR\0"
792
799
  "NESTED_ASN1_STRING\0"
800
+ "NESTED_TOO_DEEP\0"
793
801
  "NON_HEX_CHARACTERS\0"
794
802
  "NOT_ASCII_FORMAT\0"
795
803
  "NOT_ENOUGH_DATA\0"
@@ -1026,6 +1034,7 @@ const char kOpenSSLReasonStringData[] =
1026
1034
  "DATA_TOO_SMALL_FOR_KEY_SIZE\0"
1027
1035
  "DIGEST_TOO_BIG_FOR_RSA_KEY\0"
1028
1036
  "D_E_NOT_CONGRUENT_TO_1\0"
1037
+ "D_OUT_OF_RANGE\0"
1029
1038
  "EMPTY_PUBLIC_KEY\0"
1030
1039
  "FIRST_OCTET_INVALID\0"
1031
1040
  "INCONSISTENT_SET_OF_CRT_VALUES\0"
@@ -1098,6 +1107,7 @@ const char kOpenSSLReasonStringData[] =
1098
1107
  "DTLS_MESSAGE_TOO_BIG\0"
1099
1108
  "DUPLICATE_EXTENSION\0"
1100
1109
  "DUPLICATE_KEY_SHARE\0"
1110
+ "EARLY_DATA_NOT_IN_USE\0"
1101
1111
  "ECC_CERT_NOT_FOR_SIGNING\0"
1102
1112
  "EMPTY_HELLO_RETRY_REQUEST\0"
1103
1113
  "EMS_STATE_INCONSISTENT\0"
@@ -1110,6 +1120,7 @@ const char kOpenSSLReasonStringData[] =
1110
1120
  "FRAGMENT_MISMATCH\0"
1111
1121
  "GOT_NEXT_PROTO_WITHOUT_EXTENSION\0"
1112
1122
  "HANDSHAKE_FAILURE_ON_CLIENT_HELLO\0"
1123
+ "HANDSHAKE_NOT_COMPLETE\0"
1113
1124
  "HTTPS_PROXY_REQUEST\0"
1114
1125
  "HTTP_REQUEST\0"
1115
1126
  "INAPPROPRIATE_FALLBACK\0"
@@ -1130,6 +1141,7 @@ const char kOpenSSLReasonStringData[] =
1130
1141
  "MIXED_SPECIAL_OPERATOR_WITH_GROUPS\0"
1131
1142
  "MTU_TOO_SMALL\0"
1132
1143
  "NEGOTIATED_BOTH_NPN_AND_ALPN\0"
1144
+ "NEGOTIATED_TB_WITHOUT_EMS_OR_RI\0"
1133
1145
  "NESTED_GROUP\0"
1134
1146
  "NO_CERTIFICATES_RETURNED\0"
1135
1147
  "NO_CERTIFICATE_ASSIGNED\0"
@@ -1159,6 +1171,7 @@ const char kOpenSSLReasonStringData[] =
1159
1171
  "PEER_DID_NOT_RETURN_A_CERTIFICATE\0"
1160
1172
  "PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE\0"
1161
1173
  "PRE_SHARED_KEY_MUST_BE_LAST\0"
1174
+ "PRIVATE_KEY_OPERATION_FAILED\0"
1162
1175
  "PROTOCOL_IS_SHUTDOWN\0"
1163
1176
  "PSK_IDENTITY_BINDER_COUNT_MISMATCH\0"
1164
1177
  "PSK_IDENTITY_NOT_FOUND\0"
@@ -1176,6 +1189,7 @@ const char kOpenSSLReasonStringData[] =
1176
1189
  "SCSV_RECEIVED_WHEN_RENEGOTIATING\0"
1177
1190
  "SERVERHELLO_TLSEXT\0"
1178
1191
  "SERVER_CERT_CHANGED\0"
1192
+ "SERVER_ECHOED_INVALID_SESSION_ID\0"
1179
1193
  "SESSION_ID_CONTEXT_UNINITIALIZED\0"
1180
1194
  "SESSION_MAY_NOT_BE_CREATED\0"
1181
1195
  "SHUTDOWN_WHILE_IN_INIT\0"