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.
- checksums.yaml +4 -4
- data/Makefile +1150 -176
- data/etc/roots.pem +40 -196
- data/include/grpc/grpc.h +49 -8
- data/include/grpc/grpc_security.h +123 -2
- data/include/grpc/grpc_security_constants.h +6 -0
- data/include/grpc/impl/codegen/fork.h +4 -4
- data/include/grpc/impl/codegen/grpc_types.h +26 -5
- data/include/grpc/impl/codegen/log.h +112 -0
- data/include/grpc/impl/codegen/port_platform.h +55 -4
- data/include/grpc/module.modulemap +2 -0
- data/include/grpc/support/log.h +2 -80
- data/include/grpc/support/string_util.h +2 -0
- data/include/grpc/support/sync.h +0 -16
- data/src/boringssl/err_data.c +602 -588
- data/src/core/ext/{census → filters/census}/grpc_context.cc +0 -0
- data/src/core/ext/filters/client_channel/channel_connectivity.cc +1 -1
- data/src/core/ext/filters/client_channel/client_channel.cc +1234 -1070
- data/src/core/ext/filters/client_channel/client_channel.h +5 -0
- data/src/core/ext/filters/client_channel/client_channel_channelz.cc +113 -0
- data/src/core/ext/filters/client_channel/client_channel_channelz.h +71 -0
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +9 -0
- data/src/core/ext/filters/client_channel/http_connect_handshaker.cc +1 -1
- data/src/core/ext/filters/client_channel/http_proxy.cc +22 -5
- data/src/core/ext/filters/client_channel/lb_policy.cc +2 -2
- data/src/core/ext/filters/client_channel/lb_policy.h +30 -10
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +11 -9
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +120 -127
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +36 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +36 -102
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +37 -32
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +25 -22
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +4 -2
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c +19 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h +54 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c +19 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.h +54 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +4 -17
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +37 -63
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +306 -239
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +444 -392
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +538 -98
- data/src/core/ext/filters/client_channel/lb_policy_factory.cc +8 -0
- data/src/core/ext/filters/client_channel/lb_policy_factory.h +4 -0
- data/src/core/ext/filters/client_channel/method_params.h +4 -0
- data/src/core/ext/filters/client_channel/resolver.h +10 -0
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +36 -19
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc +320 -0
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +62 -9
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +49 -294
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +537 -0
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +112 -87
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +17 -2
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc +6 -5
- 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
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +29 -0
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +32 -15
- data/src/core/ext/filters/client_channel/retry_throttle.h +4 -0
- data/src/core/ext/filters/client_channel/subchannel.cc +58 -15
- data/src/core/ext/filters/client_channel/subchannel.h +11 -0
- data/src/core/ext/filters/deadline/deadline_filter.cc +18 -15
- data/src/core/ext/filters/deadline/deadline_filter.h +5 -5
- data/src/core/ext/filters/http/client/http_client_filter.cc +10 -9
- data/src/core/ext/filters/http/client_authority_filter.cc +6 -5
- data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +6 -6
- data/src/core/ext/filters/http/server/http_server_filter.cc +123 -131
- data/src/core/ext/filters/http/server/http_server_filter.h +1 -1
- data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +1 -1
- data/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc +3 -2
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +9 -8
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +97 -48
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +10 -7
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +12 -8
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +4 -3
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_table.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +14 -12
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/writing.cc +32 -27
- data/src/core/ext/transport/inproc/inproc_transport.cc +87 -49
- data/src/core/lib/channel/channel_args.cc +28 -0
- data/src/core/lib/channel/channel_args.h +4 -0
- data/src/core/lib/channel/channel_stack.cc +22 -29
- data/src/core/lib/channel/channel_stack.h +2 -2
- data/src/core/lib/channel/channel_stack_builder.cc +0 -3
- data/src/core/lib/channel/channel_stack_builder.h +0 -2
- data/src/core/lib/channel/channel_trace.cc +28 -63
- data/src/core/lib/channel/channel_trace.h +13 -17
- data/src/core/lib/channel/channelz.cc +153 -0
- data/src/core/lib/channel/channelz.h +133 -0
- data/src/core/lib/channel/channelz_registry.cc +145 -0
- data/src/core/lib/channel/channelz_registry.h +120 -0
- data/src/core/lib/channel/connected_channel.cc +8 -1
- data/src/core/lib/channel/handshaker.cc +71 -0
- data/src/core/lib/channel/handshaker.h +4 -0
- data/src/core/lib/debug/stats.h +7 -0
- data/src/core/lib/debug/stats_data.cc +5 -0
- data/src/core/lib/debug/stats_data.h +120 -0
- data/src/core/lib/debug/trace.cc +2 -1
- data/src/core/lib/debug/trace.h +12 -1
- data/src/core/lib/gpr/alloc.h +28 -0
- data/src/core/lib/gpr/arena.cc +38 -45
- data/src/core/lib/gpr/log.cc +8 -2
- data/src/core/lib/gpr/log_android.cc +4 -0
- data/src/core/lib/gpr/log_linux.cc +4 -0
- data/src/core/lib/gpr/log_posix.cc +4 -0
- data/src/core/lib/gpr/log_windows.cc +5 -0
- data/src/core/lib/gpr/string.cc +28 -0
- data/src/core/lib/gpr/string.h +10 -0
- data/src/core/lib/gprpp/abstract.h +5 -2
- data/src/core/lib/gprpp/fork.cc +268 -0
- data/src/core/lib/gprpp/fork.h +88 -0
- data/src/core/lib/gprpp/inlined_vector.h +87 -37
- data/src/core/lib/gprpp/memory.h +12 -0
- data/src/core/lib/gprpp/mutex_lock.h +42 -0
- data/src/core/lib/gprpp/orphanable.h +10 -12
- data/src/core/lib/gprpp/ref_counted.h +10 -12
- data/src/core/lib/gprpp/ref_counted_ptr.h +65 -8
- data/src/core/lib/gprpp/thd.h +0 -3
- data/src/core/lib/gprpp/thd_posix.cc +5 -54
- data/src/core/lib/gprpp/thd_windows.cc +0 -7
- data/src/core/lib/http/httpcli_security_connector.cc +1 -3
- data/src/core/lib/iomgr/call_combiner.cc +13 -13
- data/src/core/lib/iomgr/call_combiner.h +84 -1
- data/src/core/lib/iomgr/closure.h +6 -5
- data/src/core/lib/iomgr/combiner.cc +30 -13
- data/src/core/lib/iomgr/combiner.h +1 -1
- data/src/core/lib/iomgr/endpoint_pair_posix.cc +2 -2
- data/src/core/lib/iomgr/error.cc +12 -0
- data/src/core/lib/iomgr/error.h +5 -0
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +138 -51
- data/src/core/lib/iomgr/ev_epollex_linux.cc +276 -93
- data/src/core/lib/iomgr/ev_epollsig_linux.cc +58 -50
- data/src/core/lib/iomgr/ev_poll_posix.cc +163 -42
- data/src/core/lib/iomgr/ev_posix.cc +88 -24
- data/src/core/lib/iomgr/ev_posix.h +48 -12
- data/src/core/lib/iomgr/exec_ctx.cc +15 -9
- data/src/core/lib/iomgr/exec_ctx.h +48 -20
- data/src/core/lib/iomgr/executor.cc +274 -142
- data/src/core/lib/iomgr/executor.h +82 -16
- data/src/core/lib/iomgr/fork_posix.cc +42 -19
- data/src/core/lib/iomgr/iocp_windows.cc +9 -4
- data/src/core/lib/iomgr/iomgr.cc +2 -0
- data/src/core/lib/iomgr/iomgr.h +5 -0
- data/src/core/lib/iomgr/iomgr_posix.cc +2 -2
- data/src/core/lib/iomgr/is_epollexclusive_available.cc +1 -0
- data/src/core/lib/iomgr/lockfree_event.cc +5 -1
- data/src/core/lib/iomgr/polling_entity.cc +11 -2
- data/src/core/lib/iomgr/pollset_custom.cc +2 -2
- data/src/core/lib/iomgr/port.h +51 -1
- data/src/core/lib/iomgr/resolve_address.h +1 -1
- data/src/core/lib/iomgr/resolve_address_posix.cc +4 -3
- data/src/core/lib/iomgr/resolve_address_windows.cc +3 -2
- data/src/core/lib/iomgr/resource_quota.cc +89 -12
- data/src/core/lib/iomgr/resource_quota.h +16 -0
- data/src/core/lib/iomgr/sockaddr_posix.h +1 -1
- data/src/core/lib/iomgr/socket_factory_posix.cc +1 -1
- data/src/core/lib/iomgr/socket_mutator.cc +1 -1
- data/src/core/lib/iomgr/socket_mutator.h +1 -1
- data/src/core/lib/iomgr/socket_utils.h +9 -0
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +29 -1
- data/src/core/lib/iomgr/socket_utils_linux.cc +0 -1
- data/src/core/lib/iomgr/socket_utils_posix.cc +2 -3
- data/src/core/lib/iomgr/socket_utils_posix.h +3 -0
- data/src/core/lib/iomgr/socket_utils_uv.cc +4 -0
- data/src/core/lib/iomgr/socket_utils_windows.cc +4 -0
- data/src/core/lib/iomgr/socket_windows.cc +33 -0
- data/src/core/lib/iomgr/socket_windows.h +6 -0
- data/src/core/lib/iomgr/tcp_client_custom.cc +5 -5
- data/src/core/lib/iomgr/tcp_client_posix.cc +10 -11
- data/src/core/lib/iomgr/tcp_custom.cc +11 -11
- data/src/core/lib/iomgr/tcp_posix.cc +49 -36
- data/src/core/lib/iomgr/tcp_server_custom.cc +5 -5
- data/src/core/lib/iomgr/tcp_server_posix.cc +16 -36
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +1 -1
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +17 -5
- data/src/core/lib/iomgr/tcp_server_windows.cc +1 -0
- data/src/core/lib/iomgr/tcp_uv.cc +3 -0
- data/src/core/lib/iomgr/tcp_windows.cc +18 -2
- data/src/core/lib/iomgr/tcp_windows.h +2 -0
- data/src/core/lib/iomgr/timer.h +4 -3
- data/src/core/lib/iomgr/timer_generic.cc +133 -51
- data/src/core/lib/iomgr/timer_manager.cc +12 -14
- data/src/core/lib/iomgr/timer_uv.cc +3 -0
- data/src/core/lib/iomgr/udp_server.cc +106 -52
- data/src/core/lib/iomgr/udp_server.h +8 -4
- data/src/core/lib/json/json.cc +12 -1
- data/src/core/lib/json/json.h +5 -0
- data/src/core/lib/profiling/basic_timers.cc +1 -0
- data/src/core/lib/security/context/security_context.cc +8 -8
- data/src/core/lib/security/context/security_context.h +6 -2
- data/src/core/lib/security/credentials/alts/alts_credentials.h +0 -20
- data/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc +3 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +7 -7
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h +1 -38
- data/src/core/lib/security/credentials/credentials.h +1 -0
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +89 -115
- data/src/core/lib/security/credentials/google_default/google_default_credentials.h +16 -0
- data/src/core/lib/security/credentials/jwt/json_token.h +2 -0
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +2 -0
- data/src/core/lib/security/credentials/local/local_credentials.cc +77 -0
- data/src/core/lib/security/credentials/local/local_credentials.h +40 -0
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +11 -7
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +1 -1
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +17 -3
- data/src/core/lib/security/security_connector/alts_security_connector.cc +2 -1
- data/src/core/lib/security/security_connector/load_system_roots.h +29 -0
- data/src/core/lib/{gpr/fork.h → security/security_connector/load_system_roots_fallback.cc} +10 -13
- data/src/core/lib/security/security_connector/load_system_roots_linux.cc +165 -0
- data/src/core/lib/security/security_connector/load_system_roots_linux.h +44 -0
- data/src/core/lib/security/security_connector/local_security_connector.cc +245 -0
- data/src/core/lib/security/security_connector/local_security_connector.h +58 -0
- data/src/core/lib/security/security_connector/security_connector.cc +79 -32
- data/src/core/lib/security/security_connector/security_connector.h +5 -3
- data/src/core/lib/security/transport/client_auth_filter.cc +5 -5
- data/src/core/lib/security/transport/secure_endpoint.cc +2 -2
- data/src/core/lib/security/transport/security_handshaker.cc +7 -2
- data/src/core/lib/security/transport/server_auth_filter.cc +4 -7
- data/src/core/lib/security/util/json_util.cc +4 -0
- data/src/core/lib/slice/slice.cc +6 -2
- data/src/core/lib/slice/slice_buffer.cc +27 -7
- data/src/core/lib/slice/slice_hash_table.h +4 -0
- data/src/core/lib/slice/slice_weak_hash_table.h +4 -0
- data/src/core/lib/surface/call.cc +119 -58
- data/src/core/lib/surface/call.h +7 -0
- data/src/core/lib/surface/channel.cc +50 -18
- data/src/core/lib/surface/channel.h +4 -0
- data/src/core/lib/surface/completion_queue.cc +153 -18
- data/src/core/lib/surface/completion_queue.h +20 -2
- data/src/core/lib/surface/completion_queue_factory.cc +13 -4
- data/src/core/lib/surface/init.cc +7 -8
- data/src/core/lib/surface/init.h +0 -1
- data/src/core/lib/surface/server.cc +16 -0
- data/src/core/lib/surface/version.cc +1 -1
- data/src/core/lib/transport/bdp_estimator.cc +3 -3
- data/src/core/lib/transport/bdp_estimator.h +2 -2
- data/src/core/lib/transport/byte_stream.cc +1 -1
- data/src/core/lib/transport/connectivity_state.cc +6 -7
- data/src/core/lib/transport/service_config.cc +2 -2
- data/src/core/lib/transport/service_config.h +3 -3
- data/src/core/lib/transport/transport.cc +22 -10
- data/src/core/lib/transport/transport.h +18 -18
- data/src/core/lib/transport/transport_op_string.cc +1 -8
- data/src/core/plugin_registry/grpc_plugin_registry.cc +0 -4
- data/src/core/tsi/alts/crypt/aes_gcm.cc +2 -0
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +19 -7
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.h +10 -0
- data/src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.h +2 -2
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +38 -3
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h +3 -0
- data/src/core/tsi/alts/handshaker/altscontext.pb.c +0 -1
- data/src/core/tsi/alts/handshaker/altscontext.pb.h +1 -2
- data/src/core/tsi/alts/handshaker/handshaker.pb.c +0 -1
- data/src/core/tsi/alts/handshaker/handshaker.pb.h +1 -2
- data/src/core/tsi/alts/handshaker/transport_security_common.pb.c +0 -1
- data/src/core/tsi/alts/handshaker/transport_security_common.pb.h +1 -1
- data/src/core/tsi/alts/handshaker/transport_security_common_api.h +2 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +47 -1
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +3 -1
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +12 -11
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +7 -2
- data/src/core/tsi/fake_transport_security.cc +1 -0
- data/src/core/tsi/grpc_shadow_boringssl.h +3006 -0
- data/src/core/tsi/local_transport_security.cc +209 -0
- data/src/core/tsi/local_transport_security.h +51 -0
- data/src/core/tsi/ssl/session_cache/ssl_session.h +2 -0
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +5 -5
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +6 -0
- data/src/core/tsi/ssl_transport_security.cc +245 -116
- data/src/core/tsi/ssl_types.h +2 -0
- data/src/core/tsi/transport_security.cc +14 -0
- data/src/core/tsi/transport_security.h +2 -0
- data/src/core/tsi/transport_security_interface.h +11 -1
- data/src/ruby/bin/math_client.rb +17 -9
- data/src/ruby/ext/grpc/extconf.rb +1 -26
- data/src/ruby/ext/grpc/rb_channel_credentials.c +3 -3
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +42 -16
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +65 -26
- data/src/ruby/lib/grpc/generic/active_call.rb +19 -23
- data/src/ruby/lib/grpc/generic/rpc_server.rb +2 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/generate_proto_ruby.sh +7 -1
- data/src/ruby/pb/grpc/health/v1/health_services_pb.rb +4 -1
- data/src/ruby/spec/call_credentials_spec.rb +1 -1
- data/src/ruby/spec/call_spec.rb +1 -1
- data/src/ruby/spec/channel_credentials_spec.rb +1 -1
- data/src/ruby/spec/channel_spec.rb +1 -1
- data/src/ruby/spec/client_auth_spec.rb +1 -12
- data/src/ruby/spec/client_server_spec.rb +1 -1
- data/src/ruby/spec/compression_options_spec.rb +1 -1
- data/src/ruby/spec/error_sanity_spec.rb +1 -1
- data/src/ruby/spec/generic/client_stub_spec.rb +16 -4
- data/src/ruby/spec/generic/rpc_desc_spec.rb +1 -1
- data/src/ruby/spec/generic/rpc_server_pool_spec.rb +1 -1
- data/src/ruby/spec/generic/service_spec.rb +1 -1
- data/src/ruby/spec/google_rpc_status_utils_spec.rb +1 -12
- data/src/ruby/spec/pb/duplicate/codegen_spec.rb +1 -0
- data/src/ruby/spec/pb/health/checker_spec.rb +1 -1
- data/src/ruby/spec/server_credentials_spec.rb +1 -1
- data/src/ruby/spec/server_spec.rb +1 -1
- data/src/ruby/spec/spec_helper.rb +1 -0
- data/src/ruby/spec/support/services.rb +1 -1
- data/src/ruby/spec/time_consts_spec.rb +1 -1
- data/third_party/address_sorting/address_sorting.c +17 -11
- data/third_party/address_sorting/address_sorting_windows.c +43 -3
- data/third_party/address_sorting/include/address_sorting/address_sorting.h +3 -0
- data/third_party/boringssl/crypto/asn1/a_int.c +33 -28
- data/third_party/boringssl/crypto/asn1/a_mbstr.c +24 -22
- data/third_party/boringssl/crypto/asn1/a_utf8.c +13 -11
- data/third_party/boringssl/crypto/asn1/asn1_locl.h +3 -0
- data/third_party/boringssl/crypto/asn1/tasn_dec.c +40 -19
- data/third_party/boringssl/crypto/bio/fd.c +1 -0
- data/third_party/boringssl/crypto/bio/file.c +2 -0
- data/third_party/boringssl/crypto/bn_extra/convert.c +6 -5
- data/third_party/boringssl/crypto/bytestring/ber.c +1 -4
- data/third_party/boringssl/crypto/bytestring/cbb.c +116 -16
- data/third_party/boringssl/crypto/bytestring/cbs.c +151 -20
- data/third_party/boringssl/crypto/cipher_extra/e_aesccm.c +203 -0
- data/third_party/boringssl/crypto/cipher_extra/e_rc2.c +2 -0
- data/third_party/boringssl/crypto/cipher_extra/e_tls.c +1 -2
- data/third_party/boringssl/crypto/cpu-aarch64-fuchsia.c +55 -0
- data/third_party/boringssl/crypto/cpu-aarch64-linux.c +2 -1
- data/third_party/boringssl/crypto/dsa/dsa.c +16 -54
- data/third_party/boringssl/crypto/ec_extra/ec_asn1.c +9 -10
- data/third_party/boringssl/crypto/ecdh/ecdh.c +4 -3
- data/third_party/boringssl/crypto/fipsmodule/bcm.c +11 -542
- data/third_party/boringssl/crypto/fipsmodule/bn/add.c +57 -112
- data/third_party/boringssl/crypto/fipsmodule/bn/asm/x86_64-gcc.c +4 -3
- data/third_party/boringssl/crypto/fipsmodule/bn/bn.c +128 -70
- data/third_party/boringssl/crypto/fipsmodule/bn/bytes.c +32 -71
- data/third_party/boringssl/crypto/fipsmodule/bn/cmp.c +64 -118
- data/third_party/boringssl/crypto/fipsmodule/bn/div.c +284 -122
- data/third_party/boringssl/crypto/fipsmodule/bn/exponentiation.c +31 -65
- data/third_party/boringssl/crypto/fipsmodule/bn/gcd.c +274 -218
- data/third_party/boringssl/crypto/fipsmodule/bn/generic.c +2 -1
- data/third_party/boringssl/crypto/fipsmodule/bn/internal.h +187 -27
- data/third_party/boringssl/crypto/fipsmodule/bn/jacobi.c +1 -1
- data/third_party/boringssl/crypto/fipsmodule/bn/montgomery.c +124 -81
- data/third_party/boringssl/crypto/fipsmodule/bn/montgomery_inv.c +8 -30
- data/third_party/boringssl/crypto/fipsmodule/bn/mul.c +321 -347
- data/third_party/boringssl/crypto/fipsmodule/bn/prime.c +326 -66
- data/third_party/boringssl/crypto/fipsmodule/bn/random.c +77 -25
- data/third_party/boringssl/crypto/fipsmodule/bn/rsaz_exp.c +199 -222
- data/third_party/boringssl/crypto/fipsmodule/bn/rsaz_exp.h +27 -47
- data/third_party/boringssl/crypto/fipsmodule/bn/shift.c +155 -96
- data/third_party/boringssl/crypto/fipsmodule/bn/sqrt.c +1 -1
- data/third_party/boringssl/crypto/fipsmodule/cipher/e_aes.c +10 -10
- data/third_party/boringssl/crypto/fipsmodule/des/internal.h +2 -0
- data/third_party/boringssl/crypto/fipsmodule/ec/ec.c +78 -47
- data/third_party/boringssl/crypto/fipsmodule/ec/ec_key.c +99 -163
- data/third_party/boringssl/crypto/fipsmodule/ec/ec_montgomery.c +3 -10
- data/third_party/boringssl/crypto/fipsmodule/ec/internal.h +44 -23
- data/third_party/boringssl/crypto/fipsmodule/ec/oct.c +59 -90
- data/third_party/boringssl/crypto/fipsmodule/ec/p224-64.c +38 -65
- data/third_party/boringssl/crypto/fipsmodule/ec/p256-x86_64-table.h +5378 -5418
- data/third_party/boringssl/crypto/fipsmodule/ec/p256-x86_64.c +17 -26
- data/third_party/boringssl/crypto/fipsmodule/ec/p256-x86_64.h +15 -11
- data/third_party/boringssl/crypto/fipsmodule/ec/simple.c +45 -51
- data/third_party/boringssl/crypto/fipsmodule/ec/{util-64.c → util.c} +0 -5
- data/third_party/boringssl/crypto/fipsmodule/ec/wnaf.c +144 -264
- data/third_party/boringssl/crypto/fipsmodule/ecdsa/ecdsa.c +78 -62
- data/third_party/boringssl/crypto/fipsmodule/modes/ccm.c +256 -0
- data/third_party/boringssl/crypto/fipsmodule/modes/internal.h +36 -32
- data/third_party/boringssl/crypto/fipsmodule/rand/ctrdrbg.c +9 -7
- data/third_party/boringssl/crypto/fipsmodule/rsa/blinding.c +16 -40
- data/third_party/boringssl/crypto/fipsmodule/rsa/internal.h +1 -6
- data/third_party/boringssl/crypto/fipsmodule/rsa/rsa.c +57 -39
- data/third_party/boringssl/crypto/fipsmodule/rsa/rsa_impl.c +309 -142
- data/third_party/boringssl/crypto/fipsmodule/self_check/self_check.c +581 -0
- data/third_party/boringssl/crypto/fipsmodule/tls/internal.h +39 -0
- data/third_party/boringssl/crypto/fipsmodule/tls/kdf.c +165 -0
- data/third_party/boringssl/crypto/internal.h +65 -2
- data/third_party/boringssl/crypto/mem.c +0 -2
- data/third_party/boringssl/crypto/obj/obj.c +6 -73
- data/third_party/boringssl/crypto/thread_pthread.c +35 -5
- data/third_party/boringssl/crypto/x509/a_strex.c +11 -11
- data/third_party/boringssl/crypto/x509/vpm_int.h +1 -0
- data/third_party/boringssl/crypto/x509/x509_vfy.c +4 -0
- data/third_party/boringssl/crypto/x509/x509_vpm.c +44 -22
- data/third_party/boringssl/crypto/x509/x_name.c +13 -0
- data/third_party/boringssl/include/openssl/aead.h +10 -0
- data/third_party/boringssl/include/openssl/asn1.h +2 -3
- data/third_party/boringssl/include/openssl/base.h +5 -14
- data/third_party/boringssl/include/openssl/bio.h +1 -1
- data/third_party/boringssl/include/openssl/bn.h +62 -18
- data/third_party/boringssl/include/openssl/bytestring.h +53 -28
- data/third_party/boringssl/include/openssl/crypto.h +4 -0
- data/third_party/boringssl/include/openssl/ec.h +10 -4
- data/third_party/boringssl/include/openssl/ec_key.h +7 -6
- data/third_party/boringssl/include/openssl/err.h +9 -9
- data/third_party/boringssl/include/openssl/evp.h +1 -1
- data/third_party/boringssl/include/openssl/rsa.h +35 -10
- data/third_party/boringssl/include/openssl/ssl.h +167 -19
- data/third_party/boringssl/include/openssl/ssl3.h +0 -1
- data/third_party/boringssl/include/openssl/stack.h +1 -1
- data/third_party/boringssl/include/openssl/tls1.h +10 -2
- data/third_party/boringssl/include/openssl/x509.h +4 -0
- data/third_party/boringssl/include/openssl/x509v3.h +1 -0
- data/third_party/boringssl/ssl/d1_both.cc +16 -2
- data/third_party/boringssl/ssl/dtls_method.cc +1 -1
- data/third_party/boringssl/ssl/handoff.cc +285 -0
- data/third_party/boringssl/ssl/handshake.cc +26 -12
- data/third_party/boringssl/ssl/handshake_client.cc +101 -95
- data/third_party/boringssl/ssl/handshake_server.cc +14 -2
- data/third_party/boringssl/ssl/internal.h +132 -79
- data/third_party/boringssl/ssl/s3_both.cc +2 -2
- data/third_party/boringssl/ssl/s3_lib.cc +3 -1
- data/third_party/boringssl/ssl/s3_pkt.cc +0 -18
- data/third_party/boringssl/ssl/ssl_aead_ctx.cc +1 -4
- data/third_party/boringssl/ssl/ssl_asn1.cc +47 -43
- data/third_party/boringssl/ssl/ssl_cipher.cc +12 -8
- data/third_party/boringssl/ssl/ssl_key_share.cc +3 -1
- data/third_party/boringssl/ssl/ssl_lib.cc +83 -14
- data/third_party/boringssl/ssl/ssl_privkey.cc +6 -0
- data/third_party/boringssl/ssl/ssl_stat.cc +6 -6
- data/third_party/boringssl/ssl/ssl_versions.cc +12 -85
- data/third_party/boringssl/ssl/ssl_x509.cc +59 -61
- data/third_party/boringssl/ssl/t1_enc.cc +73 -124
- data/third_party/boringssl/ssl/t1_lib.cc +367 -41
- data/third_party/boringssl/ssl/tls13_both.cc +8 -0
- data/third_party/boringssl/ssl/tls13_client.cc +98 -184
- data/third_party/boringssl/ssl/tls13_enc.cc +88 -158
- data/third_party/boringssl/ssl/tls13_server.cc +91 -137
- data/third_party/boringssl/ssl/tls_method.cc +0 -17
- data/third_party/boringssl/ssl/tls_record.cc +1 -10
- data/third_party/boringssl/third_party/fiat/curve25519.c +921 -2753
- data/third_party/boringssl/third_party/fiat/curve25519_tables.h +7880 -0
- data/third_party/boringssl/third_party/fiat/internal.h +32 -20
- data/third_party/boringssl/third_party/fiat/p256.c +1824 -0
- metadata +86 -71
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc +0 -253
- data/src/core/ext/filters/load_reporting/server_load_reporting_filter.cc +0 -222
- data/src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc +0 -71
- data/src/core/ext/filters/load_reporting/server_load_reporting_plugin.h +0 -61
- data/src/core/lib/channel/channel_trace_registry.cc +0 -80
- data/src/core/lib/channel/channel_trace_registry.h +0 -43
- data/src/core/lib/gpr/fork.cc +0 -78
- data/src/core/tsi/transport_security_adapter.cc +0 -235
- data/src/core/tsi/transport_security_adapter.h +0 -41
- data/src/ruby/bin/apis/google/protobuf/empty.rb +0 -29
- data/src/ruby/bin/apis/pubsub_demo.rb +0 -241
- data/src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb +0 -159
- data/src/ruby/bin/apis/tech/pubsub/proto/pubsub_services.rb +0 -88
- data/src/ruby/pb/test/client.rb +0 -764
- data/src/ruby/pb/test/server.rb +0 -252
- data/src/ruby/spec/pb/package_with_underscore/checker_spec.rb +0 -54
- data/src/ruby/spec/pb/package_with_underscore/data.proto +0 -23
- data/src/ruby/spec/pb/package_with_underscore/service.proto +0 -23
- data/third_party/boringssl/crypto/curve25519/x25519-x86_64.c +0 -247
- 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
|
200
|
-
|
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
|
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
|
-
|
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"
|
data/include/grpc/support/log.h
CHANGED
@@ -19,86 +19,8 @@
|
|
19
19
|
#ifndef GRPC_SUPPORT_LOG_H
|
20
20
|
#define GRPC_SUPPORT_LOG_H
|
21
21
|
|
22
|
-
#include <grpc/
|
22
|
+
#include <grpc/support/port_platform.h>
|
23
23
|
|
24
|
-
#include <
|
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 */
|
data/include/grpc/support/sync.h
CHANGED
@@ -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 */
|
data/src/boringssl/err_data.c
CHANGED
@@ -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
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
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
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
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
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
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
|
-
|
132
|
+
0x18328f62,
|
132
133
|
0x183300ac,
|
133
|
-
|
134
|
-
|
134
|
+
0x18338f78,
|
135
|
+
0x18340f8c,
|
135
136
|
0x183480ea,
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
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
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
189
|
+
0x2c322d16,
|
190
|
+
0x2c3292b5,
|
191
|
+
0x2c332d24,
|
192
|
+
0x2c33ad36,
|
193
|
+
0x2c342d4a,
|
194
|
+
0x2c34ad5c,
|
195
|
+
0x2c352d77,
|
196
|
+
0x2c35ad89,
|
197
|
+
0x2c362d9c,
|
197
198
|
0x2c36832d,
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
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
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
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
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
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
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
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
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
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
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
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
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
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
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
660
|
+
0x5040315f,
|
661
|
+
0x5040b16f,
|
662
|
+
0x50413189,
|
663
|
+
0x5041b198,
|
664
|
+
0x504231b2,
|
665
|
+
0x5042b1cf,
|
666
|
+
0x504331df,
|
667
|
+
0x5043b1ef,
|
668
|
+
0x504431fe,
|
662
669
|
0x5044843f,
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
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
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
702
|
+
0x6c320ee8,
|
703
|
+
0x6c328c44,
|
704
|
+
0x6c330ef3,
|
705
|
+
0x74320a29,
|
699
706
|
0x743280ac,
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
707
|
+
0x74330c55,
|
708
|
+
0x7832098e,
|
709
|
+
0x783289a3,
|
710
|
+
0x783309af,
|
704
711
|
0x78338083,
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
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"
|