grpc 1.9.1 → 1.10.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Makefile +2654 -953
- data/etc/roots.pem +282 -683
- data/include/grpc/compression.h +9 -26
- data/include/grpc/grpc.h +10 -24
- data/include/grpc/grpc_security.h +7 -1
- data/include/grpc/impl/codegen/compression_types.h +5 -62
- data/include/grpc/impl/codegen/grpc_types.h +10 -6
- data/include/grpc/module.modulemap +1 -10
- data/include/grpc/support/alloc.h +3 -2
- data/include/grpc/support/log.h +1 -2
- data/{src/core/lib/gpr/thd_internal.h → include/grpc/support/thd_id.h} +23 -9
- data/src/boringssl/err_data.c +550 -496
- data/src/core/ext/census/grpc_context.cc +2 -1
- data/src/core/ext/filters/client_channel/backup_poller.cc +5 -4
- data/src/core/ext/filters/client_channel/channel_connectivity.cc +7 -7
- data/src/core/ext/filters/client_channel/client_channel.cc +162 -172
- data/src/core/ext/filters/client_channel/client_channel_factory.cc +4 -2
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +10 -10
- data/src/core/ext/filters/client_channel/http_connect_handshaker.cc +18 -14
- data/src/core/ext/filters/client_channel/http_proxy.cc +3 -1
- data/src/core/ext/filters/client_channel/lb_policy.cc +21 -105
- data/src/core/ext/filters/client_channel/lb_policy.h +166 -170
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +41 -36
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +1452 -1459
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h +1 -1
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc +3 -2
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +7 -8
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +27 -27
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +279 -304
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +358 -330
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc +30 -41
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +7 -14
- data/src/core/ext/filters/client_channel/lb_policy_factory.cc +8 -21
- data/src/core/ext/filters/client_channel/lb_policy_factory.h +23 -27
- data/src/core/ext/filters/client_channel/lb_policy_registry.cc +58 -33
- data/src/core/ext/filters/client_channel/lb_policy_registry.h +25 -12
- data/src/core/ext/filters/client_channel/parse_address.cc +10 -8
- data/src/core/ext/filters/client_channel/proxy_mapper_registry.cc +2 -2
- data/src/core/ext/filters/client_channel/resolver.cc +6 -52
- data/src/core/ext/filters/client_channel/resolver.h +98 -55
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +266 -237
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +5 -5
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +31 -27
- data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +244 -207
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +161 -148
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +47 -31
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +126 -126
- data/src/core/ext/filters/client_channel/resolver_factory.h +33 -32
- data/src/core/ext/filters/client_channel/resolver_registry.cc +110 -90
- data/src/core/ext/filters/client_channel/resolver_registry.h +49 -36
- data/src/core/ext/filters/client_channel/retry_throttle.cc +29 -22
- data/src/core/ext/filters/client_channel/subchannel.cc +173 -173
- data/src/core/ext/filters/client_channel/subchannel.h +38 -45
- data/src/core/ext/filters/client_channel/subchannel_index.cc +44 -40
- data/src/core/ext/filters/client_channel/uri_parser.cc +3 -3
- data/src/core/ext/filters/deadline/deadline_filter.cc +27 -18
- data/src/core/ext/filters/http/client/http_client_filter.cc +26 -23
- data/src/core/ext/filters/http/http_filters_plugin.cc +3 -2
- data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +78 -110
- data/src/core/ext/filters/http/server/http_server_filter.cc +29 -26
- data/src/core/ext/filters/load_reporting/server_load_reporting_filter.cc +9 -11
- data/src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc +2 -1
- data/src/core/ext/filters/max_age/max_age_filter.cc +14 -14
- data/src/core/ext/filters/message_size/message_size_filter.cc +20 -18
- data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc +4 -4
- data/src/core/ext/filters/workarounds/workaround_utils.cc +4 -4
- data/src/core/ext/transport/chttp2/alpn/alpn.cc +2 -1
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +10 -10
- data/src/core/ext/transport/chttp2/client/insecure/channel_create.cc +4 -4
- data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc +11 -12
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +16 -13
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +36 -9
- data/src/core/ext/transport/chttp2/transport/bin_decoder.h +3 -0
- data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +17 -14
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +139 -145
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +16 -14
- data/src/core/ext/transport/chttp2/transport/flow_control.h +8 -7
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +35 -33
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +27 -25
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +12 -12
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +16 -15
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +19 -19
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +11 -11
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +23 -22
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +35 -35
- data/src/core/ext/transport/chttp2/transport/hpack_table.cc +10 -7
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/incoming_metadata.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/internal.h +1 -1
- data/src/core/ext/transport/chttp2/transport/parsing.cc +35 -39
- data/src/core/ext/transport/chttp2/transport/stream_map.cc +8 -7
- data/src/core/ext/transport/chttp2/transport/varint.cc +5 -5
- data/src/core/ext/transport/chttp2/transport/writing.cc +18 -18
- data/src/core/ext/transport/inproc/inproc_transport.cc +43 -23
- data/src/core/lib/{gpr → avl}/avl.cc +61 -57
- data/{include/grpc/support → src/core/lib/avl}/avl.h +25 -35
- data/src/core/lib/backoff/backoff.cc +6 -5
- data/src/core/lib/channel/channel_args.cc +23 -109
- data/src/core/lib/channel/channel_args.h +5 -31
- data/src/core/lib/channel/channel_stack.cc +11 -8
- data/src/core/lib/channel/channel_stack_builder.cc +10 -7
- data/src/core/lib/channel/connected_channel.cc +18 -17
- data/src/core/lib/channel/handshaker.cc +8 -8
- data/src/core/lib/channel/handshaker_registry.cc +3 -2
- data/src/core/lib/compression/algorithm_metadata.h +13 -6
- data/src/core/lib/compression/compression.cc +72 -183
- data/src/core/lib/compression/compression_internal.cc +274 -0
- data/src/core/lib/compression/compression_internal.h +86 -0
- data/src/core/lib/compression/message_compress.cc +15 -15
- data/src/core/lib/compression/message_compress.h +4 -3
- data/src/core/lib/compression/stream_compression_gzip.cc +8 -8
- data/src/core/lib/compression/stream_compression_identity.cc +1 -1
- data/src/core/lib/debug/stats.cc +10 -8
- data/src/core/lib/debug/stats_data.cc +2 -1
- data/src/core/lib/debug/trace.cc +3 -3
- data/src/core/lib/gpr/alloc.cc +7 -11
- data/src/core/lib/gpr/arena.cc +34 -12
- data/src/core/lib/gpr/atm.cc +2 -1
- data/src/core/lib/gpr/cpu_linux.cc +3 -3
- data/src/core/lib/gpr/cpu_posix.cc +2 -1
- data/src/core/lib/gpr/env.h +1 -1
- data/src/core/lib/gpr/env_linux.cc +1 -1
- data/src/core/lib/gpr/env_windows.cc +4 -4
- data/src/core/lib/gpr/fork.cc +16 -2
- data/src/core/lib/gpr/host_port.cc +5 -4
- data/{include/grpc/support → src/core/lib/gpr}/host_port.h +5 -13
- data/src/core/lib/gpr/log.cc +5 -4
- data/src/core/lib/gpr/log_linux.cc +1 -1
- data/src/core/lib/gpr/mpscq.cc +1 -0
- data/src/core/lib/gpr/murmur_hash.cc +4 -4
- data/src/core/lib/gpr/string.cc +19 -16
- data/src/core/lib/gpr/string_posix.cc +3 -3
- data/src/core/lib/gpr/sync_posix.cc +5 -9
- data/src/core/lib/gpr/thd.cc +3 -3
- data/{include/grpc/support → src/core/lib/gpr}/thd.h +20 -28
- data/src/core/lib/gpr/thd_posix.cc +6 -4
- data/src/core/lib/gpr/thd_windows.cc +3 -1
- data/src/core/lib/gpr/time.cc +6 -4
- data/src/core/lib/gpr/time_posix.cc +2 -2
- data/{include/grpc/support → src/core/lib/gpr}/tls.h +6 -6
- data/{include/grpc/support → src/core/lib/gpr}/tls_gcc.h +3 -3
- data/{include/grpc/support → src/core/lib/gpr}/tls_msvc.h +3 -3
- data/src/core/lib/gpr/tls_pthread.cc +1 -1
- data/{include/grpc/support → src/core/lib/gpr}/tls_pthread.h +3 -3
- data/{include/grpc/support → src/core/lib/gpr}/useful.h +3 -3
- data/src/core/lib/{gpr++ → gprpp}/abstract.h +3 -3
- data/src/core/lib/{gpr++ → gprpp}/atomic.h +5 -5
- data/src/core/lib/{gpr++ → gprpp}/atomic_with_atm.h +3 -3
- data/src/core/lib/{gpr++ → gprpp}/atomic_with_std.h +3 -3
- data/src/core/lib/{gpr++ → gprpp}/debug_location.h +3 -3
- data/src/core/lib/{gpr++ → gprpp}/inlined_vector.h +44 -22
- data/src/core/lib/{gpr++ → gprpp}/manual_constructor.h +2 -2
- data/src/core/lib/{gpr++ → gprpp}/memory.h +14 -5
- data/src/core/lib/{gpr++ → gprpp}/orphanable.h +39 -14
- data/src/core/lib/{gpr++ → gprpp}/ref_counted.h +42 -10
- data/src/core/lib/{gpr++ → gprpp}/ref_counted_ptr.h +18 -8
- data/src/core/lib/http/format_request.cc +3 -3
- data/src/core/lib/http/httpcli.cc +6 -7
- data/src/core/lib/http/httpcli_security_connector.cc +10 -10
- data/src/core/lib/http/parser.cc +16 -12
- data/src/core/lib/iomgr/call_combiner.cc +12 -13
- data/src/core/lib/iomgr/closure.h +4 -6
- data/src/core/lib/iomgr/combiner.cc +10 -21
- data/src/core/lib/iomgr/error.cc +50 -55
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +41 -52
- data/src/core/lib/iomgr/ev_epollex_linux.cc +80 -28
- data/src/core/lib/iomgr/ev_epollsig_linux.cc +23 -30
- data/src/core/lib/iomgr/ev_poll_posix.cc +52 -46
- data/src/core/lib/iomgr/ev_posix.cc +47 -6
- data/src/core/lib/iomgr/exec_ctx.cc +10 -10
- data/src/core/lib/iomgr/exec_ctx.h +1 -1
- data/src/core/lib/iomgr/executor.cc +16 -13
- data/src/core/lib/iomgr/fork_posix.cc +1 -3
- data/src/core/lib/iomgr/gethostname_host_name_max.cc +1 -1
- data/src/core/lib/iomgr/iocp_windows.cc +1 -2
- data/src/core/lib/iomgr/iomgr.cc +2 -2
- data/src/core/lib/iomgr/iomgr_uv.cc +2 -0
- data/src/core/lib/iomgr/iomgr_uv.h +1 -1
- data/src/core/lib/iomgr/is_epollexclusive_available.cc +5 -4
- data/src/core/lib/iomgr/load_file.cc +3 -3
- data/src/core/lib/iomgr/pollset_windows.cc +1 -1
- data/src/core/lib/iomgr/resolve_address_posix.cc +10 -9
- data/src/core/lib/iomgr/resolve_address_uv.cc +2 -2
- data/src/core/lib/iomgr/resolve_address_windows.cc +3 -2
- data/src/core/lib/iomgr/resource_quota.cc +36 -34
- data/src/core/lib/iomgr/sockaddr_utils.cc +39 -23
- data/src/core/lib/iomgr/socket_factory_posix.cc +5 -5
- data/src/core/lib/iomgr/socket_mutator.cc +7 -7
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +7 -4
- data/src/core/lib/iomgr/socket_utils_linux.cc +3 -2
- data/src/core/lib/iomgr/tcp_client_posix.cc +7 -6
- data/src/core/lib/iomgr/tcp_client_windows.cc +0 -1
- data/src/core/lib/iomgr/tcp_posix.cc +47 -55
- data/src/core/lib/iomgr/tcp_server_posix.cc +12 -10
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +7 -5
- data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +4 -3
- data/src/core/lib/iomgr/tcp_windows.cc +1 -1
- data/src/core/lib/iomgr/timer_generic.cc +16 -14
- data/src/core/lib/iomgr/timer_heap.cc +8 -7
- data/src/core/lib/iomgr/timer_manager.cc +4 -3
- data/src/core/lib/iomgr/udp_server.cc +24 -16
- data/src/core/lib/iomgr/unix_sockets_posix.cc +15 -10
- data/src/core/lib/iomgr/wakeup_fd_cv.cc +6 -5
- data/src/core/lib/iomgr/wakeup_fd_eventfd.cc +1 -2
- data/src/core/lib/json/json.cc +1 -1
- data/src/core/lib/json/json_reader.cc +8 -6
- data/src/core/lib/json/json_string.cc +19 -18
- data/src/core/lib/json/json_writer.cc +10 -8
- data/src/core/lib/profiling/basic_timers.cc +1 -1
- data/src/core/lib/profiling/timers.h +3 -20
- data/src/core/lib/security/context/security_context.cc +16 -14
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +17 -14
- data/src/core/lib/security/credentials/credentials.cc +9 -8
- data/src/core/lib/security/credentials/credentials.h +1 -1
- data/src/core/lib/security/credentials/credentials_metadata.cc +2 -2
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +12 -13
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +7 -4
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +5 -3
- data/src/core/lib/security/credentials/jwt/json_token.cc +4 -3
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +7 -7
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +21 -18
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +23 -18
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +11 -7
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +22 -21
- data/src/core/lib/security/{transport → security_connector}/security_connector.cc +46 -43
- data/src/core/lib/security/{transport → security_connector}/security_connector.h +3 -3
- data/src/core/lib/security/transport/client_auth_filter.cc +32 -34
- data/src/core/lib/security/transport/lb_targets_info.cc +7 -5
- data/src/core/lib/security/transport/secure_endpoint.cc +21 -21
- data/src/core/lib/security/transport/security_handshaker.cc +19 -18
- data/src/core/lib/security/transport/security_handshaker.h +1 -1
- data/src/core/lib/security/transport/server_auth_filter.cc +21 -21
- data/src/core/lib/slice/b64.cc +19 -16
- data/src/core/lib/slice/percent_encoding.cc +5 -5
- data/src/core/lib/slice/slice.cc +35 -33
- data/src/core/lib/slice/slice_buffer.cc +16 -14
- data/src/core/lib/slice/slice_hash_table.cc +3 -2
- data/src/core/lib/slice/slice_intern.cc +21 -25
- data/src/core/lib/slice/slice_string_helpers.cc +45 -9
- data/src/core/lib/slice/slice_string_helpers.h +6 -0
- data/src/core/lib/surface/byte_buffer.cc +2 -2
- data/src/core/lib/surface/byte_buffer_reader.cc +6 -3
- data/src/core/lib/surface/call.cc +171 -260
- data/src/core/lib/surface/call_test_only.h +1 -13
- data/src/core/lib/surface/channel.cc +20 -43
- data/src/core/lib/surface/channel_init.cc +7 -7
- data/src/core/lib/surface/channel_ping.cc +2 -2
- data/src/core/lib/surface/completion_queue.cc +69 -75
- data/src/core/lib/surface/init.cc +4 -5
- data/src/core/lib/surface/init_secure.cc +1 -1
- data/src/core/lib/surface/lame_client.cc +1 -1
- data/src/core/lib/surface/server.cc +64 -59
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/bdp_estimator.cc +6 -5
- data/src/core/lib/transport/byte_stream.cc +23 -14
- data/src/core/lib/transport/byte_stream.h +1 -1
- data/src/core/lib/transport/connectivity_state.cc +9 -13
- data/src/core/lib/transport/error_utils.cc +10 -7
- data/src/core/lib/transport/metadata.cc +27 -26
- data/src/core/lib/transport/metadata.h +1 -1
- data/src/core/lib/transport/pid_controller.cc +2 -1
- data/src/core/lib/transport/service_config.cc +5 -5
- data/src/core/lib/transport/static_metadata.cc +225 -222
- data/src/core/lib/transport/static_metadata.h +77 -76
- data/src/core/lib/transport/timeout_encoding.cc +3 -2
- data/src/core/lib/transport/transport.cc +6 -5
- data/src/core/lib/transport/transport_op_string.cc +0 -1
- data/src/core/plugin_registry/grpc_plugin_registry.cc +4 -4
- data/src/core/tsi/alts_transport_security.cc +61 -0
- data/src/core/tsi/{gts_transport_security.h → alts_transport_security.h} +16 -8
- data/src/core/tsi/fake_transport_security.cc +59 -43
- data/src/core/tsi/ssl_transport_security.cc +122 -107
- data/src/core/tsi/transport_security.cc +3 -3
- data/src/core/tsi/transport_security_adapter.cc +16 -10
- data/src/ruby/bin/apis/pubsub_demo.rb +1 -1
- data/src/ruby/ext/grpc/rb_channel.c +3 -4
- data/src/ruby/ext/grpc/rb_compression_options.c +13 -3
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -76
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +8 -120
- data/src/ruby/ext/grpc/rb_server.c +52 -28
- data/src/ruby/lib/grpc/generic/rpc_server.rb +7 -4
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/test/client.rb +1 -1
- data/src/ruby/pb/test/server.rb +1 -1
- data/src/ruby/spec/client_server_spec.rb +4 -2
- data/src/ruby/spec/generic/active_call_spec.rb +2 -1
- data/src/ruby/spec/generic/client_stub_spec.rb +32 -8
- data/src/ruby/spec/server_spec.rb +26 -7
- data/third_party/boringssl/crypto/asn1/a_bitstr.c +7 -2
- data/third_party/boringssl/crypto/asn1/a_d2i_fp.c +15 -0
- data/third_party/boringssl/crypto/asn1/a_gentm.c +1 -1
- data/third_party/boringssl/crypto/asn1/a_print.c +0 -28
- data/third_party/boringssl/crypto/asn1/a_strnid.c +3 -0
- data/third_party/boringssl/crypto/asn1/a_time.c +17 -9
- data/third_party/boringssl/crypto/asn1/a_utctm.c +1 -1
- data/third_party/boringssl/crypto/asn1/asn1_lib.c +5 -49
- data/third_party/boringssl/crypto/asn1/asn1_locl.h +1 -1
- data/third_party/boringssl/crypto/asn1/tasn_dec.c +9 -9
- data/third_party/boringssl/crypto/asn1/tasn_enc.c +0 -6
- data/third_party/boringssl/crypto/asn1/time_support.c +5 -5
- data/third_party/boringssl/crypto/base64/base64.c +65 -43
- data/third_party/boringssl/crypto/bio/bio.c +134 -110
- data/third_party/boringssl/crypto/bio/bio_mem.c +9 -9
- data/third_party/boringssl/crypto/bio/connect.c +17 -17
- data/third_party/boringssl/crypto/bio/fd.c +2 -1
- data/third_party/boringssl/crypto/bio/file.c +14 -14
- data/third_party/boringssl/crypto/bio/hexdump.c +15 -16
- data/third_party/boringssl/crypto/bio/internal.h +14 -14
- data/third_party/boringssl/crypto/bio/pair.c +45 -45
- data/third_party/boringssl/crypto/bio/printf.c +6 -10
- data/third_party/boringssl/crypto/{bn → bn_extra}/bn_asn1.c +9 -9
- data/third_party/boringssl/crypto/{bn → bn_extra}/convert.c +18 -223
- data/third_party/boringssl/crypto/buf/buf.c +20 -44
- data/third_party/boringssl/crypto/bytestring/ber.c +35 -35
- data/third_party/boringssl/crypto/bytestring/cbb.c +24 -24
- data/third_party/boringssl/crypto/bytestring/cbs.c +33 -37
- data/third_party/boringssl/crypto/bytestring/internal.h +38 -38
- data/third_party/boringssl/crypto/chacha/chacha.c +7 -7
- data/third_party/boringssl/crypto/{asn1/t_bitst.c → cipher_extra/cipher_extra.c} +49 -38
- data/third_party/boringssl/crypto/{cipher → cipher_extra}/derive_key.c +0 -2
- data/third_party/boringssl/crypto/cipher_extra/e_aesctrhmac.c +281 -0
- data/third_party/boringssl/crypto/cipher_extra/e_aesgcmsiv.c +867 -0
- data/third_party/boringssl/crypto/cipher_extra/e_chacha20poly1305.c +326 -0
- data/third_party/boringssl/crypto/{cipher → cipher_extra}/e_null.c +0 -1
- data/third_party/boringssl/crypto/{cipher → cipher_extra}/e_rc2.c +22 -10
- data/third_party/boringssl/crypto/{cipher → cipher_extra}/e_rc4.c +0 -0
- data/third_party/boringssl/crypto/{cipher → cipher_extra}/e_ssl3.c +120 -64
- data/third_party/boringssl/crypto/{cipher → cipher_extra}/e_tls.c +220 -141
- data/third_party/boringssl/crypto/{asn1/x_bignum.c → cipher_extra/internal.h} +61 -86
- data/third_party/boringssl/crypto/cipher_extra/tls_cbc.c +482 -0
- data/third_party/boringssl/crypto/cmac/cmac.c +20 -20
- data/third_party/boringssl/crypto/conf/conf.c +32 -20
- data/third_party/boringssl/crypto/conf/internal.h +3 -3
- data/third_party/boringssl/crypto/cpu-aarch64-linux.c +5 -5
- data/third_party/boringssl/crypto/cpu-arm-linux.c +44 -41
- data/third_party/boringssl/crypto/cpu-intel.c +68 -43
- data/third_party/boringssl/crypto/cpu-ppc64le.c +5 -7
- data/third_party/boringssl/crypto/crypto.c +54 -32
- data/third_party/boringssl/crypto/curve25519/curve25519.c +269 -269
- data/third_party/boringssl/crypto/curve25519/internal.h +28 -8
- data/third_party/boringssl/crypto/curve25519/spake25519.c +180 -106
- data/third_party/boringssl/crypto/curve25519/x25519-x86_64.c +9 -9
- data/third_party/boringssl/crypto/dh/check.c +33 -34
- data/third_party/boringssl/crypto/dh/dh.c +72 -36
- data/third_party/boringssl/crypto/dh/dh_asn1.c +1 -1
- data/third_party/boringssl/crypto/dh/params.c +1 -161
- data/third_party/boringssl/crypto/digest_extra/digest_extra.c +240 -0
- data/third_party/boringssl/crypto/dsa/dsa.c +127 -87
- data/third_party/boringssl/crypto/dsa/dsa_asn1.c +1 -1
- data/third_party/boringssl/crypto/{ec → ec_extra}/ec_asn1.c +83 -70
- data/third_party/boringssl/crypto/ecdh/ecdh.c +1 -1
- data/third_party/boringssl/crypto/{ecdsa → ecdsa_extra}/ecdsa_asn1.c +86 -31
- data/third_party/boringssl/crypto/engine/engine.c +6 -6
- data/third_party/boringssl/crypto/err/err.c +197 -106
- data/third_party/boringssl/crypto/err/internal.h +58 -0
- data/third_party/boringssl/crypto/evp/digestsign.c +86 -14
- data/third_party/boringssl/crypto/evp/evp.c +6 -11
- data/third_party/boringssl/crypto/evp/evp_asn1.c +17 -17
- data/third_party/boringssl/crypto/evp/evp_ctx.c +15 -11
- data/third_party/boringssl/crypto/evp/internal.h +66 -51
- data/third_party/boringssl/crypto/evp/p_dsa_asn1.c +11 -11
- data/third_party/boringssl/crypto/evp/p_ec.c +10 -8
- data/third_party/boringssl/crypto/evp/p_ec_asn1.c +11 -12
- data/third_party/boringssl/crypto/evp/p_ed25519.c +71 -0
- data/third_party/boringssl/crypto/evp/p_ed25519_asn1.c +190 -0
- data/third_party/boringssl/crypto/evp/p_rsa.c +50 -95
- data/third_party/boringssl/crypto/evp/p_rsa_asn1.c +28 -18
- data/third_party/boringssl/crypto/evp/pbkdf.c +49 -56
- data/third_party/boringssl/crypto/evp/print.c +5 -36
- data/third_party/boringssl/crypto/evp/scrypt.c +209 -0
- data/third_party/boringssl/crypto/ex_data.c +15 -45
- data/third_party/boringssl/crypto/fipsmodule/aes/internal.h +100 -0
- data/third_party/boringssl/crypto/fipsmodule/bcm.c +679 -0
- data/third_party/boringssl/crypto/{bn → fipsmodule/bn}/internal.h +40 -27
- data/third_party/boringssl/crypto/{bn → fipsmodule/bn}/rsaz_exp.h +0 -0
- data/third_party/boringssl/crypto/{cipher → fipsmodule/cipher}/internal.h +34 -67
- data/third_party/boringssl/crypto/fipsmodule/delocate.h +88 -0
- data/third_party/boringssl/crypto/{des → fipsmodule/des}/internal.h +18 -4
- data/third_party/boringssl/crypto/{digest → fipsmodule/digest}/internal.h +18 -18
- data/third_party/boringssl/crypto/{digest → fipsmodule/digest}/md32_common.h +58 -64
- data/third_party/boringssl/crypto/{ec → fipsmodule/ec}/internal.h +58 -52
- data/third_party/boringssl/crypto/{ec → fipsmodule/ec}/p256-x86_64-table.h +11 -11
- data/third_party/boringssl/crypto/{ec → fipsmodule/ec}/p256-x86_64.h +32 -32
- data/third_party/boringssl/crypto/{rand/internal.h → fipsmodule/is_fips.c} +10 -15
- data/third_party/boringssl/crypto/{modes → fipsmodule/modes}/internal.h +112 -119
- data/third_party/boringssl/crypto/fipsmodule/rand/internal.h +92 -0
- data/third_party/boringssl/crypto/{rsa → fipsmodule/rsa}/internal.h +36 -49
- data/third_party/boringssl/crypto/hkdf/hkdf.c +6 -6
- data/third_party/boringssl/crypto/internal.h +301 -233
- data/third_party/boringssl/crypto/lhash/lhash.c +26 -45
- data/third_party/boringssl/crypto/mem.c +76 -33
- data/third_party/boringssl/crypto/obj/obj.c +44 -28
- data/third_party/boringssl/crypto/obj/obj_dat.h +102 -34
- data/third_party/boringssl/crypto/obj/obj_xref.c +6 -6
- data/third_party/boringssl/crypto/pem/pem_info.c +3 -5
- data/third_party/boringssl/crypto/pem/pem_lib.c +1 -6
- data/third_party/boringssl/crypto/pem/pem_pk8.c +1 -0
- data/third_party/boringssl/crypto/pem/pem_pkey.c +1 -1
- data/third_party/boringssl/crypto/pem/pem_xaux.c +0 -2
- data/third_party/boringssl/crypto/pkcs7/internal.h +49 -0
- data/third_party/boringssl/crypto/pkcs7/pkcs7.c +166 -0
- data/third_party/boringssl/crypto/{x509/pkcs7.c → pkcs7/pkcs7_x509.c} +27 -147
- data/third_party/boringssl/crypto/pkcs8/internal.h +34 -16
- data/third_party/boringssl/crypto/pkcs8/p5_pbev2.c +120 -39
- data/third_party/boringssl/crypto/pkcs8/pkcs8.c +144 -857
- data/third_party/boringssl/crypto/pkcs8/pkcs8_x509.c +789 -0
- data/third_party/boringssl/crypto/poly1305/internal.h +4 -3
- data/third_party/boringssl/crypto/poly1305/poly1305.c +14 -14
- data/third_party/boringssl/crypto/poly1305/poly1305_arm.c +11 -11
- data/third_party/boringssl/crypto/poly1305/poly1305_vec.c +41 -41
- data/third_party/boringssl/crypto/pool/internal.h +2 -2
- data/third_party/boringssl/crypto/pool/pool.c +15 -15
- data/third_party/boringssl/crypto/{rand → rand_extra}/deterministic.c +7 -7
- data/third_party/boringssl/crypto/rand_extra/forkunsafe.c +46 -0
- data/third_party/boringssl/crypto/{rand → rand_extra}/fuchsia.c +7 -7
- data/third_party/boringssl/crypto/rand_extra/rand_extra.c +70 -0
- data/third_party/boringssl/crypto/{rand → rand_extra}/windows.c +5 -5
- data/third_party/boringssl/crypto/refcount_c11.c +2 -2
- data/third_party/boringssl/crypto/refcount_lock.c +1 -1
- data/third_party/boringssl/crypto/{rsa → rsa_extra}/rsa_asn1.c +12 -120
- data/third_party/boringssl/crypto/stack/stack.c +13 -13
- data/third_party/boringssl/crypto/thread_none.c +1 -1
- data/third_party/boringssl/crypto/thread_pthread.c +1 -1
- data/third_party/boringssl/crypto/thread_win.c +40 -40
- data/third_party/boringssl/crypto/x509/a_sign.c +5 -12
- data/third_party/boringssl/crypto/x509/a_verify.c +6 -18
- data/third_party/boringssl/crypto/x509/algorithm.c +22 -6
- data/third_party/boringssl/crypto/x509/asn1_gen.c +30 -7
- data/third_party/boringssl/crypto/x509/by_dir.c +2 -2
- data/third_party/boringssl/crypto/x509/by_file.c +2 -2
- data/third_party/boringssl/crypto/x509/rsa_pss.c +5 -5
- data/third_party/boringssl/crypto/x509/t_x509.c +2 -1
- data/third_party/boringssl/crypto/x509/x509_def.c +5 -0
- data/third_party/boringssl/crypto/x509/x509_lu.c +35 -4
- data/third_party/boringssl/crypto/x509/x509_set.c +10 -0
- data/third_party/boringssl/crypto/x509/x509_vfy.c +20 -17
- data/third_party/boringssl/crypto/x509/x_name.c +13 -16
- data/third_party/boringssl/crypto/x509/x_x509.c +3 -3
- data/third_party/boringssl/crypto/x509/x_x509a.c +0 -7
- data/third_party/boringssl/crypto/x509v3/ext_dat.h +8 -0
- data/third_party/boringssl/crypto/x509v3/pcy_int.h +2 -2
- data/third_party/boringssl/crypto/x509v3/pcy_lib.c +0 -9
- data/third_party/boringssl/crypto/x509v3/pcy_node.c +1 -1
- data/third_party/boringssl/crypto/x509v3/pcy_tree.c +25 -15
- data/third_party/boringssl/crypto/x509v3/v3_alt.c +21 -11
- data/third_party/boringssl/crypto/x509v3/v3_cpols.c +9 -3
- data/third_party/boringssl/crypto/x509v3/v3_info.c +22 -14
- data/third_party/boringssl/crypto/x509v3/v3_ncons.c +27 -11
- data/third_party/boringssl/crypto/x509v3/v3_pci.c +0 -33
- data/third_party/boringssl/crypto/x509v3/v3_utl.c +4 -4
- data/third_party/boringssl/include/openssl/aead.h +280 -191
- data/third_party/boringssl/include/openssl/aes.h +50 -50
- data/third_party/boringssl/include/openssl/arm_arch.h +12 -12
- data/third_party/boringssl/include/openssl/asn1.h +14 -77
- data/third_party/boringssl/include/openssl/asn1t.h +11 -15
- data/third_party/boringssl/include/openssl/base.h +78 -51
- data/third_party/boringssl/include/openssl/base64.h +68 -68
- data/third_party/boringssl/include/openssl/bio.h +472 -406
- data/third_party/boringssl/include/openssl/blowfish.h +1 -1
- data/third_party/boringssl/include/openssl/bn.h +454 -435
- data/third_party/boringssl/include/openssl/buf.h +27 -27
- data/third_party/boringssl/include/openssl/bytestring.h +282 -267
- data/third_party/boringssl/include/openssl/cast.h +2 -2
- data/third_party/boringssl/include/openssl/chacha.h +5 -5
- data/third_party/boringssl/include/openssl/cipher.h +209 -200
- data/third_party/boringssl/include/openssl/cmac.h +27 -27
- data/third_party/boringssl/include/openssl/conf.h +49 -46
- data/third_party/boringssl/include/openssl/cpu.h +60 -45
- data/third_party/boringssl/include/openssl/crypto.h +59 -35
- data/third_party/boringssl/include/openssl/curve25519.h +97 -92
- data/third_party/boringssl/include/openssl/des.h +25 -25
- data/third_party/boringssl/include/openssl/dh.h +98 -97
- data/third_party/boringssl/include/openssl/digest.h +143 -114
- data/third_party/boringssl/include/openssl/dsa.h +217 -202
- data/third_party/boringssl/include/openssl/ec.h +132 -131
- data/third_party/boringssl/include/openssl/ec_key.h +132 -128
- data/third_party/boringssl/include/openssl/ecdh.h +9 -9
- data/third_party/boringssl/include/openssl/ecdsa.h +66 -66
- data/third_party/boringssl/include/openssl/engine.h +38 -38
- data/third_party/boringssl/include/openssl/err.h +189 -219
- data/third_party/boringssl/include/openssl/evp.h +473 -397
- data/third_party/boringssl/include/openssl/ex_data.h +46 -56
- data/third_party/boringssl/include/openssl/hkdf.h +17 -17
- data/third_party/boringssl/include/openssl/hmac.h +55 -43
- data/third_party/boringssl/include/openssl/is_boringssl.h +16 -0
- data/third_party/boringssl/include/openssl/lhash.h +67 -67
- data/third_party/boringssl/include/openssl/lhash_macros.h +4 -4
- data/third_party/boringssl/include/openssl/md4.h +14 -14
- data/third_party/boringssl/include/openssl/md5.h +14 -14
- data/third_party/boringssl/include/openssl/mem.h +39 -33
- data/third_party/boringssl/include/openssl/nid.h +43 -0
- data/third_party/boringssl/include/openssl/obj.h +93 -87
- data/third_party/boringssl/include/openssl/opensslconf.h +8 -1
- data/third_party/boringssl/include/openssl/pem.h +2 -122
- data/third_party/boringssl/include/openssl/pkcs7.h +68 -2
- data/third_party/boringssl/include/openssl/pkcs8.h +81 -66
- data/third_party/boringssl/include/openssl/poly1305.h +11 -11
- data/third_party/boringssl/include/openssl/pool.h +29 -25
- data/third_party/boringssl/include/openssl/rand.h +48 -45
- data/third_party/boringssl/include/openssl/rc4.h +9 -9
- data/third_party/boringssl/include/openssl/ripemd.h +13 -13
- data/third_party/boringssl/include/openssl/rsa.h +371 -340
- data/third_party/boringssl/include/openssl/sha.h +71 -71
- data/third_party/boringssl/include/openssl/span.h +191 -0
- data/third_party/boringssl/include/openssl/ssl.h +2639 -2519
- data/third_party/boringssl/include/openssl/ssl3.h +39 -122
- data/third_party/boringssl/include/openssl/stack.h +355 -164
- data/third_party/boringssl/include/openssl/thread.h +43 -43
- data/third_party/boringssl/include/openssl/tls1.h +60 -63
- data/third_party/boringssl/include/openssl/type_check.h +10 -14
- data/third_party/boringssl/include/openssl/x509.h +41 -116
- data/third_party/boringssl/include/openssl/x509_vfy.h +17 -25
- data/third_party/boringssl/include/openssl/x509v3.h +27 -21
- data/third_party/boringssl/ssl/{bio_ssl.c → bio_ssl.cc} +9 -5
- data/third_party/boringssl/ssl/{custom_extensions.c → custom_extensions.cc} +19 -12
- data/third_party/boringssl/ssl/{d1_both.c → d1_both.cc} +224 -193
- data/third_party/boringssl/ssl/{d1_lib.c → d1_lib.cc} +86 -79
- data/third_party/boringssl/ssl/{d1_pkt.c → d1_pkt.cc} +55 -87
- data/third_party/boringssl/ssl/{d1_srtp.c → d1_srtp.cc} +12 -16
- data/third_party/boringssl/ssl/{dtls_method.c → dtls_method.cc} +33 -50
- data/third_party/boringssl/ssl/{dtls_record.c → dtls_record.cc} +76 -64
- data/third_party/boringssl/ssl/handshake.cc +547 -0
- data/third_party/boringssl/ssl/handshake_client.cc +1828 -0
- data/third_party/boringssl/ssl/handshake_server.cc +1672 -0
- data/third_party/boringssl/ssl/internal.h +2027 -1280
- data/third_party/boringssl/ssl/s3_both.cc +603 -0
- data/third_party/boringssl/ssl/{s3_lib.c → s3_lib.cc} +22 -10
- data/third_party/boringssl/ssl/{s3_pkt.c → s3_pkt.cc} +171 -75
- data/third_party/boringssl/ssl/ssl_aead_ctx.cc +415 -0
- data/third_party/boringssl/ssl/{ssl_asn1.c → ssl_asn1.cc} +257 -261
- data/third_party/boringssl/ssl/{ssl_buffer.c → ssl_buffer.cc} +81 -97
- data/third_party/boringssl/ssl/{ssl_cert.c → ssl_cert.cc} +304 -414
- data/third_party/boringssl/ssl/{ssl_cipher.c → ssl_cipher.cc} +427 -505
- data/third_party/boringssl/ssl/{ssl_file.c → ssl_file.cc} +24 -16
- data/third_party/boringssl/ssl/ssl_key_share.cc +245 -0
- data/third_party/boringssl/ssl/{ssl_lib.c → ssl_lib.cc} +665 -828
- data/third_party/boringssl/ssl/ssl_privkey.cc +518 -0
- data/third_party/boringssl/ssl/{ssl_session.c → ssl_session.cc} +596 -471
- data/third_party/boringssl/ssl/{ssl_stat.c → ssl_stat.cc} +5 -224
- data/third_party/boringssl/ssl/{ssl_transcript.c → ssl_transcript.cc} +117 -140
- data/third_party/boringssl/ssl/ssl_versions.cc +439 -0
- data/third_party/boringssl/ssl/{ssl_x509.c → ssl_x509.cc} +751 -267
- data/third_party/boringssl/ssl/{t1_enc.c → t1_enc.cc} +120 -161
- data/third_party/boringssl/ssl/{t1_lib.c → t1_lib.cc} +859 -966
- data/third_party/boringssl/ssl/{tls13_both.c → tls13_both.cc} +202 -284
- data/third_party/boringssl/ssl/tls13_client.cc +842 -0
- data/third_party/boringssl/ssl/{tls13_enc.c → tls13_enc.cc} +108 -90
- data/third_party/boringssl/ssl/tls13_server.cc +967 -0
- data/third_party/boringssl/ssl/{tls_method.c → tls_method.cc} +94 -73
- data/third_party/boringssl/ssl/tls_record.cc +675 -0
- metadata +117 -168
- data/include/grpc/support/cmdline.h +0 -88
- data/include/grpc/support/subprocess.h +0 -44
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -29
- data/src/core/ext/filters/client_channel/resolver_factory.cc +0 -40
- data/src/core/lib/gpr/cmdline.cc +0 -330
- data/src/core/lib/gpr/subprocess_posix.cc +0 -99
- data/src/core/lib/gpr/subprocess_windows.cc +0 -126
- data/src/core/lib/surface/alarm.cc +0 -137
- data/src/core/lib/surface/alarm_internal.h +0 -40
- data/src/core/tsi/gts_transport_security.cc +0 -40
- data/third_party/boringssl/crypto/aes/aes.c +0 -1142
- data/third_party/boringssl/crypto/aes/internal.h +0 -87
- data/third_party/boringssl/crypto/aes/key_wrap.c +0 -138
- data/third_party/boringssl/crypto/aes/mode_wrappers.c +0 -112
- data/third_party/boringssl/crypto/asn1/x_long.c +0 -200
- data/third_party/boringssl/crypto/bn/add.c +0 -377
- data/third_party/boringssl/crypto/bn/asm/x86_64-gcc.c +0 -532
- data/third_party/boringssl/crypto/bn/bn.c +0 -365
- data/third_party/boringssl/crypto/bn/cmp.c +0 -239
- data/third_party/boringssl/crypto/bn/ctx.c +0 -313
- data/third_party/boringssl/crypto/bn/div.c +0 -728
- data/third_party/boringssl/crypto/bn/exponentiation.c +0 -1240
- data/third_party/boringssl/crypto/bn/gcd.c +0 -635
- data/third_party/boringssl/crypto/bn/generic.c +0 -707
- data/third_party/boringssl/crypto/bn/kronecker.c +0 -176
- data/third_party/boringssl/crypto/bn/montgomery.c +0 -409
- data/third_party/boringssl/crypto/bn/montgomery_inv.c +0 -207
- data/third_party/boringssl/crypto/bn/mul.c +0 -871
- data/third_party/boringssl/crypto/bn/prime.c +0 -861
- data/third_party/boringssl/crypto/bn/random.c +0 -343
- data/third_party/boringssl/crypto/bn/rsaz_exp.c +0 -254
- data/third_party/boringssl/crypto/bn/shift.c +0 -307
- data/third_party/boringssl/crypto/bn/sqrt.c +0 -506
- data/third_party/boringssl/crypto/cipher/aead.c +0 -156
- data/third_party/boringssl/crypto/cipher/cipher.c +0 -657
- data/third_party/boringssl/crypto/cipher/e_aes.c +0 -1771
- data/third_party/boringssl/crypto/cipher/e_chacha20poly1305.c +0 -276
- data/third_party/boringssl/crypto/cipher/e_des.c +0 -205
- data/third_party/boringssl/crypto/cipher/tls_cbc.c +0 -482
- data/third_party/boringssl/crypto/des/des.c +0 -771
- data/third_party/boringssl/crypto/digest/digest.c +0 -251
- data/third_party/boringssl/crypto/digest/digests.c +0 -358
- data/third_party/boringssl/crypto/ec/ec.c +0 -847
- data/third_party/boringssl/crypto/ec/ec_key.c +0 -479
- data/third_party/boringssl/crypto/ec/ec_montgomery.c +0 -303
- data/third_party/boringssl/crypto/ec/oct.c +0 -416
- data/third_party/boringssl/crypto/ec/p224-64.c +0 -1143
- data/third_party/boringssl/crypto/ec/p256-64.c +0 -1701
- data/third_party/boringssl/crypto/ec/p256-x86_64.c +0 -561
- data/third_party/boringssl/crypto/ec/simple.c +0 -1118
- data/third_party/boringssl/crypto/ec/util-64.c +0 -109
- data/third_party/boringssl/crypto/ec/wnaf.c +0 -458
- data/third_party/boringssl/crypto/ecdsa/ecdsa.c +0 -479
- data/third_party/boringssl/crypto/hmac/hmac.c +0 -215
- data/third_party/boringssl/crypto/md4/md4.c +0 -236
- data/third_party/boringssl/crypto/md5/md5.c +0 -285
- data/third_party/boringssl/crypto/modes/cbc.c +0 -212
- data/third_party/boringssl/crypto/modes/cfb.c +0 -230
- data/third_party/boringssl/crypto/modes/ctr.c +0 -219
- data/third_party/boringssl/crypto/modes/gcm.c +0 -1071
- data/third_party/boringssl/crypto/modes/ofb.c +0 -95
- data/third_party/boringssl/crypto/modes/polyval.c +0 -94
- data/third_party/boringssl/crypto/pkcs8/p8_pkey.c +0 -85
- data/third_party/boringssl/crypto/rand/rand.c +0 -244
- data/third_party/boringssl/crypto/rand/urandom.c +0 -335
- data/third_party/boringssl/crypto/rsa/blinding.c +0 -265
- data/third_party/boringssl/crypto/rsa/padding.c +0 -708
- data/third_party/boringssl/crypto/rsa/rsa.c +0 -830
- data/third_party/boringssl/crypto/rsa/rsa_impl.c +0 -1100
- data/third_party/boringssl/crypto/sha/sha1-altivec.c +0 -346
- data/third_party/boringssl/crypto/sha/sha1.c +0 -355
- data/third_party/boringssl/crypto/sha/sha256.c +0 -329
- data/third_party/boringssl/crypto/sha/sha512.c +0 -609
- data/third_party/boringssl/crypto/x509/x509type.c +0 -126
- data/third_party/boringssl/include/openssl/stack_macros.h +0 -3987
- data/third_party/boringssl/ssl/handshake_client.c +0 -1883
- data/third_party/boringssl/ssl/handshake_server.c +0 -1950
- data/third_party/boringssl/ssl/s3_both.c +0 -895
- data/third_party/boringssl/ssl/ssl_aead_ctx.c +0 -335
- data/third_party/boringssl/ssl/ssl_ecdh.c +0 -465
- data/third_party/boringssl/ssl/ssl_privkey.c +0 -683
- data/third_party/boringssl/ssl/ssl_privkey_cc.cc +0 -76
- data/third_party/boringssl/ssl/tls13_client.c +0 -712
- data/third_party/boringssl/ssl/tls13_server.c +0 -680
- data/third_party/boringssl/ssl/tls_record.c +0 -556
data/include/grpc/compression.h
CHANGED
@@ -30,42 +30,30 @@
|
|
30
30
|
extern "C" {
|
31
31
|
#endif
|
32
32
|
|
33
|
+
/** Return if an algorithm is message compression algorithm. */
|
34
|
+
GRPCAPI int grpc_compression_algorithm_is_message(
|
35
|
+
grpc_compression_algorithm algorithm);
|
36
|
+
|
37
|
+
/** Return if an algorithm is stream compression algorithm. */
|
38
|
+
GRPCAPI int grpc_compression_algorithm_is_stream(
|
39
|
+
grpc_compression_algorithm algorithm);
|
40
|
+
|
33
41
|
/** Parses the \a slice as a grpc_compression_algorithm instance and updating \a
|
34
42
|
* algorithm. Returns 1 upon success, 0 otherwise. */
|
35
43
|
GRPCAPI int grpc_compression_algorithm_parse(
|
36
44
|
grpc_slice value, grpc_compression_algorithm* algorithm);
|
37
45
|
|
38
|
-
/** Parses the \a slice as a grpc_stream_compression_algorithm instance and
|
39
|
-
* updating \a algorithm. Returns 1 upon success, 0 otherwise. */
|
40
|
-
int grpc_stream_compression_algorithm_parse(
|
41
|
-
grpc_slice name, grpc_stream_compression_algorithm* algorithm);
|
42
|
-
|
43
46
|
/** Updates \a name with the encoding name corresponding to a valid \a
|
44
47
|
* algorithm. Note that \a name is statically allocated and must *not* be freed.
|
45
48
|
* Returns 1 upon success, 0 otherwise. */
|
46
49
|
GRPCAPI int grpc_compression_algorithm_name(
|
47
50
|
grpc_compression_algorithm algorithm, const char** name);
|
48
51
|
|
49
|
-
/** Updates \a name with the encoding name corresponding to a valid \a
|
50
|
-
* algorithm. Note that \a name is statically allocated and must *not* be freed.
|
51
|
-
* Returns 1 upon success, 0 otherwise. */
|
52
|
-
GRPCAPI int grpc_stream_compression_algorithm_name(
|
53
|
-
grpc_stream_compression_algorithm algorithm, const char** name);
|
54
|
-
|
55
52
|
/** Returns the compression algorithm corresponding to \a level for the
|
56
|
-
* compression algorithms encoded in the \a accepted_encodings bitset
|
57
|
-
*
|
58
|
-
* It abort()s for unknown levels. */
|
53
|
+
* compression algorithms encoded in the \a accepted_encodings bitset.*/
|
59
54
|
GRPCAPI grpc_compression_algorithm grpc_compression_algorithm_for_level(
|
60
55
|
grpc_compression_level level, uint32_t accepted_encodings);
|
61
56
|
|
62
|
-
/** Returns the stream compression algorithm corresponding to \a level for the
|
63
|
-
* compression algorithms encoded in the \a accepted_stream_encodings bitset.
|
64
|
-
* It abort()s for unknown levels. */
|
65
|
-
GRPCAPI grpc_stream_compression_algorithm
|
66
|
-
grpc_stream_compression_algorithm_for_level(grpc_stream_compression_level level,
|
67
|
-
uint32_t accepted_stream_encodings);
|
68
|
-
|
69
57
|
GRPCAPI void grpc_compression_options_init(grpc_compression_options* opts);
|
70
58
|
|
71
59
|
/** Mark \a algorithm as enabled in \a opts. */
|
@@ -80,11 +68,6 @@ GRPCAPI void grpc_compression_options_disable_algorithm(
|
|
80
68
|
GRPCAPI int grpc_compression_options_is_algorithm_enabled(
|
81
69
|
const grpc_compression_options* opts, grpc_compression_algorithm algorithm);
|
82
70
|
|
83
|
-
/** Returns true if \a algorithm is marked as enabled in \a opts. */
|
84
|
-
GRPCAPI int grpc_compression_options_is_stream_compression_algorithm_enabled(
|
85
|
-
const grpc_compression_options* opts,
|
86
|
-
grpc_stream_compression_algorithm algorithm);
|
87
|
-
|
88
71
|
#ifdef __cplusplus
|
89
72
|
}
|
90
73
|
#endif
|
data/include/grpc/grpc.h
CHANGED
@@ -160,25 +160,6 @@ GRPCAPI void grpc_completion_queue_thread_local_cache_init(
|
|
160
160
|
GRPCAPI int grpc_completion_queue_thread_local_cache_flush(
|
161
161
|
grpc_completion_queue* cq, void** tag, int* ok);
|
162
162
|
|
163
|
-
/** Create a completion queue alarm instance */
|
164
|
-
GRPCAPI grpc_alarm* grpc_alarm_create(void* reserved);
|
165
|
-
|
166
|
-
/** Set a completion queue alarm instance associated to \a cq.
|
167
|
-
*
|
168
|
-
* Once the alarm expires (at \a deadline) or it's cancelled (see \a
|
169
|
-
* grpc_alarm_cancel), an event with tag \a tag will be added to \a cq. If the
|
170
|
-
* alarm expired, the event's success bit will be true, false otherwise (ie,
|
171
|
-
* upon cancellation). */
|
172
|
-
GRPCAPI void grpc_alarm_set(grpc_alarm* alarm, grpc_completion_queue* cq,
|
173
|
-
gpr_timespec deadline, void* tag, void* reserved);
|
174
|
-
|
175
|
-
/** Cancel a completion queue alarm. Calling this function over an alarm that
|
176
|
-
* has already fired has no effect. */
|
177
|
-
GRPCAPI void grpc_alarm_cancel(grpc_alarm* alarm, void* reserved);
|
178
|
-
|
179
|
-
/** Destroy the given completion queue alarm, cancelling it in the process. */
|
180
|
-
GRPCAPI void grpc_alarm_destroy(grpc_alarm* alarm, void* reserved);
|
181
|
-
|
182
163
|
/** Check the connectivity state of a channel. */
|
183
164
|
GRPCAPI grpc_connectivity_state grpc_channel_check_connectivity_state(
|
184
165
|
grpc_channel* channel, int try_to_connect);
|
@@ -288,9 +269,11 @@ GRPCAPI void grpc_channel_get_info(grpc_channel* channel,
|
|
288
269
|
|
289
270
|
/** Create a client channel to 'target'. Additional channel level configuration
|
290
271
|
MAY be provided by grpc_channel_args, though the expectation is that most
|
291
|
-
clients will want to simply pass NULL.
|
292
|
-
|
293
|
-
|
272
|
+
clients will want to simply pass NULL. The user data in 'args' need only
|
273
|
+
live through the invocation of this function. However, if any args of the
|
274
|
+
'pointer' type are passed, then the referenced vtable must be maintained
|
275
|
+
by the caller until grpc_channel_destroy terminates. See grpc_channel_args
|
276
|
+
definition for more on this. */
|
294
277
|
GRPCAPI grpc_channel* grpc_insecure_channel_create(
|
295
278
|
const char* target, const grpc_channel_args* args, void* reserved);
|
296
279
|
|
@@ -383,8 +366,11 @@ GRPCAPI grpc_call_error grpc_server_request_registered_call(
|
|
383
366
|
|
384
367
|
/** Create a server. Additional configuration for each incoming channel can
|
385
368
|
be specified with args. If no additional configuration is needed, args can
|
386
|
-
be NULL.
|
387
|
-
|
369
|
+
be NULL. The user data in 'args' need only live through the invocation of
|
370
|
+
this function. However, if any args of the 'pointer' type are passed, then
|
371
|
+
the referenced vtable must be maintained by the caller until
|
372
|
+
grpc_server_destroy terminates. See grpc_channel_args definition for more
|
373
|
+
on this. */
|
388
374
|
GRPCAPI grpc_server* grpc_server_create(const grpc_channel_args* args,
|
389
375
|
void* reserved);
|
390
376
|
|
@@ -300,7 +300,13 @@ GRPCAPI grpc_call_credentials* grpc_metadata_credentials_create_from_plugin(
|
|
300
300
|
|
301
301
|
/** --- Secure channel creation. --- */
|
302
302
|
|
303
|
-
/** Creates a secure channel using the passed-in credentials.
|
303
|
+
/** Creates a secure channel using the passed-in credentials. Additional
|
304
|
+
channel level configuration MAY be provided by grpc_channel_args, though
|
305
|
+
the expectation is that most clients will want to simply pass NULL. The
|
306
|
+
user data in 'args' need only live through the invocation of this function.
|
307
|
+
However, if any args of the 'pointer' type are passed, then the referenced
|
308
|
+
vtable must be maintained by the caller until grpc_channel_destroy
|
309
|
+
terminates. See grpc_channel_args definition for more on this. */
|
304
310
|
GRPCAPI grpc_channel* grpc_secure_channel_create(
|
305
311
|
grpc_channel_credentials* creds, const char* target,
|
306
312
|
const grpc_channel_args* args, void* reserved);
|
@@ -29,11 +29,6 @@ extern "C" {
|
|
29
29
|
* algorithm */
|
30
30
|
#define GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY \
|
31
31
|
"grpc-internal-encoding-request"
|
32
|
-
/** To be used as initial metadata key for the request of a concrete stream
|
33
|
-
* compression
|
34
|
-
* algorithm */
|
35
|
-
#define GRPC_STREAM_COMPRESSION_REQUEST_ALGORITHM_MD_KEY \
|
36
|
-
"grpc-internal-stream-encoding-request"
|
37
32
|
|
38
33
|
/** To be used in channel arguments.
|
39
34
|
*
|
@@ -43,17 +38,9 @@ extern "C" {
|
|
43
38
|
* Its value is an int from the \a grpc_compression_algorithm enum. */
|
44
39
|
#define GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM \
|
45
40
|
"grpc.default_compression_algorithm"
|
46
|
-
/** Default stream compression algorithm for the channel.
|
47
|
-
* Its value is an int from the \a grpc_stream_compression_algorithm enum. */
|
48
|
-
#define GRPC_STREAM_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM \
|
49
|
-
"grpc.default_stream_compression_algorithm"
|
50
41
|
/** Default compression level for the channel.
|
51
42
|
* Its value is an int from the \a grpc_compression_level enum. */
|
52
43
|
#define GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL "grpc.default_compression_level"
|
53
|
-
/** Default stream compression level for the channel.
|
54
|
-
* Its value is an int from the \a grpc_stream_compression_level enum. */
|
55
|
-
#define GRPC_STREAM_COMPRESSION_CHANNEL_DEFAULT_LEVEL \
|
56
|
-
"grpc.default_stream_compression_level"
|
57
44
|
/** Compression algorithms supported by the channel.
|
58
45
|
* Its value is a bitset (an int). Bits correspond to algorithms in \a
|
59
46
|
* grpc_compression_algorithm. For example, its LSB corresponds to
|
@@ -63,15 +50,6 @@ extern "C" {
|
|
63
50
|
* be ignored). */
|
64
51
|
#define GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET \
|
65
52
|
"grpc.compression_enabled_algorithms_bitset"
|
66
|
-
/** Stream compression algorithms supported by the channel.
|
67
|
-
* Its value is a bitset (an int). Bits correspond to algorithms in \a
|
68
|
-
* grpc_stream_compression_algorithm. For example, its LSB corresponds to
|
69
|
-
* GRPC_STREAM_COMPRESS_NONE, the next bit to GRPC_STREAM_COMPRESS_DEFLATE, etc.
|
70
|
-
* Unset bits disable support for the algorithm. By default all algorithms are
|
71
|
-
* supported. It's not possible to disable GRPC_STREAM_COMPRESS_NONE (the
|
72
|
-
* attempt will be ignored). */
|
73
|
-
#define GRPC_STREAM_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET \
|
74
|
-
"grpc.stream_compression_enabled_algorithms_bitset"
|
75
53
|
/** \} */
|
76
54
|
|
77
55
|
/** The various compression algorithms supported by gRPC */
|
@@ -79,17 +57,12 @@ typedef enum {
|
|
79
57
|
GRPC_COMPRESS_NONE = 0,
|
80
58
|
GRPC_COMPRESS_DEFLATE,
|
81
59
|
GRPC_COMPRESS_GZIP,
|
60
|
+
/* EXPERIMENTAL: Stream compression is currently experimental. */
|
61
|
+
GRPC_COMPRESS_STREAM_GZIP,
|
82
62
|
/* TODO(ctiller): snappy */
|
83
63
|
GRPC_COMPRESS_ALGORITHMS_COUNT
|
84
64
|
} grpc_compression_algorithm;
|
85
65
|
|
86
|
-
/** Stream compresssion algorithms supported by gRPC */
|
87
|
-
typedef enum {
|
88
|
-
GRPC_STREAM_COMPRESS_NONE = 0,
|
89
|
-
GRPC_STREAM_COMPRESS_GZIP,
|
90
|
-
GRPC_STREAM_COMPRESS_ALGORITHMS_COUNT
|
91
|
-
} grpc_stream_compression_algorithm;
|
92
|
-
|
93
66
|
/** Compression levels allow a party with knowledge of its peer's accepted
|
94
67
|
* encodings to request compression in an abstract way. The level-algorithm
|
95
68
|
* mapping is performed internally and depends on the peer's supported
|
@@ -102,41 +75,22 @@ typedef enum {
|
|
102
75
|
GRPC_COMPRESS_LEVEL_COUNT
|
103
76
|
} grpc_compression_level;
|
104
77
|
|
105
|
-
/** Compression levels for stream compression algorithms */
|
106
|
-
typedef enum {
|
107
|
-
GRPC_STREAM_COMPRESS_LEVEL_NONE = 0,
|
108
|
-
GRPC_STREAM_COMPRESS_LEVEL_LOW,
|
109
|
-
GRPC_STREAM_COMPRESS_LEVEL_MED,
|
110
|
-
GRPC_STREAM_COMPRESS_LEVEL_HIGH,
|
111
|
-
GRPC_STREAM_COMPRESS_LEVEL_COUNT
|
112
|
-
} grpc_stream_compression_level;
|
113
|
-
|
114
78
|
typedef struct grpc_compression_options {
|
115
79
|
/** All algs are enabled by default. This option corresponds to the channel
|
116
80
|
* argument key behind \a GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET
|
117
81
|
*/
|
118
82
|
uint32_t enabled_algorithms_bitset;
|
119
|
-
uint32_t enabled_stream_compression_algorithms_bitset;
|
120
83
|
|
121
|
-
/** The default
|
122
|
-
*
|
84
|
+
/** The default compression level. It'll be used in the absence of call
|
85
|
+
* specific settings. This option corresponds to the channel
|
123
86
|
* argument key behind \a GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL. If present,
|
124
|
-
* takes precedence over \a default_algorithm
|
125
|
-
* default_stream_compression_algorithm.
|
87
|
+
* takes precedence over \a default_algorithm.
|
126
88
|
* TODO(dgq): currently only available for server channels. */
|
127
89
|
struct grpc_compression_options_default_level {
|
128
90
|
int is_set;
|
129
91
|
grpc_compression_level level;
|
130
92
|
} default_level;
|
131
93
|
|
132
|
-
/** The default stream compression level. It'll be used in the absence of call
|
133
|
-
* specefic settings. If present, takes precedence over \a default_level,
|
134
|
-
* \a default_algorithm and \a default_stream_compression_algorithm. */
|
135
|
-
struct grpc_stream_compression_options_default_level {
|
136
|
-
int is_set;
|
137
|
-
grpc_stream_compression_level level;
|
138
|
-
} default_stream_compression_level;
|
139
|
-
|
140
94
|
/** The default message compression algorithm. It'll be used in the absence of
|
141
95
|
* call specific settings. This option corresponds to the channel argument key
|
142
96
|
* behind \a GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM. */
|
@@ -144,17 +98,6 @@ typedef struct grpc_compression_options {
|
|
144
98
|
int is_set;
|
145
99
|
grpc_compression_algorithm algorithm;
|
146
100
|
} default_algorithm;
|
147
|
-
|
148
|
-
/** The default stream compression algorithm. It'll be used in the absence of
|
149
|
-
* call specific settings. If present, takes precedence over \a
|
150
|
-
* default_algorithm. This option corresponds to the channel
|
151
|
-
* argument key behind \a GRPC_STREAM_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM.
|
152
|
-
*/
|
153
|
-
struct grpc_stream_compression_options_default_algorithm {
|
154
|
-
int is_set;
|
155
|
-
grpc_stream_compression_algorithm algorithm;
|
156
|
-
} default_stream_compression_algorithm;
|
157
|
-
|
158
101
|
} grpc_compression_options;
|
159
102
|
|
160
103
|
#ifdef __cplusplus
|
@@ -119,9 +119,14 @@ typedef struct {
|
|
119
119
|
These configuration options are modelled as key-value pairs as defined
|
120
120
|
by grpc_arg; keys are strings to allow easy backwards-compatible extension
|
121
121
|
by arbitrary parties. All evaluation is performed at channel creation
|
122
|
-
time (i.e. the values in this structure need only live through the
|
122
|
+
time (i.e. the keys and values in this structure need only live through the
|
123
123
|
creation invocation).
|
124
124
|
|
125
|
+
However, if one of the args has grpc_arg_type==GRPC_ARG_POINTER, then the
|
126
|
+
grpc_arg_pointer_vtable must live until the channel args are done being
|
127
|
+
used by core (i.e. when the object for use with which they were passed
|
128
|
+
is destroyed).
|
129
|
+
|
125
130
|
See the description of the \ref grpc_arg_keys "available args" for more
|
126
131
|
details. */
|
127
132
|
typedef struct {
|
@@ -239,6 +244,9 @@ typedef struct {
|
|
239
244
|
/** The time between the first and second connection attempts, in ms */
|
240
245
|
#define GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS \
|
241
246
|
"grpc.initial_reconnect_backoff_ms"
|
247
|
+
/** Minimum amount of time between DNS resolutions, in ms */
|
248
|
+
#define GRPC_ARG_DNS_MIN_TIME_BETWEEN_RESOLUTIONS_MS \
|
249
|
+
"grpc.dns_min_time_between_resolutions_ms"
|
242
250
|
/** The timeout used on servers for finishing handshaking on an incoming
|
243
251
|
connection. Defaults to 120 seconds. */
|
244
252
|
#define GRPC_ARG_SERVER_HANDSHAKE_TIMEOUT_MS "grpc.server_handshake_timeout_ms"
|
@@ -293,7 +301,7 @@ typedef struct {
|
|
293
301
|
#define GRPC_ARG_GRPCLB_CALL_TIMEOUT_MS "grpc.grpclb_call_timeout_ms"
|
294
302
|
/* Timeout in milliseconds to wait for the serverlist from the grpclb load
|
295
303
|
balancer before using fallback backend addresses from the resolver.
|
296
|
-
If 0, fallback will never be used. */
|
304
|
+
If 0, fallback will never be used. Default value is 10000. */
|
297
305
|
#define GRPC_ARG_GRPCLB_FALLBACK_TIMEOUT_MS "grpc.grpclb_fallback_timeout_ms"
|
298
306
|
/** If non-zero, grpc server's cronet compression workaround will be enabled */
|
299
307
|
#define GRPC_ARG_WORKAROUND_CRONET_COMPRESSION \
|
@@ -515,10 +523,6 @@ typedef struct grpc_op {
|
|
515
523
|
uint8_t is_set;
|
516
524
|
grpc_compression_level level;
|
517
525
|
} maybe_compression_level;
|
518
|
-
struct grpc_op_send_initial_metadata_maybe_stream_compression_level {
|
519
|
-
uint8_t is_set;
|
520
|
-
grpc_stream_compression_level level;
|
521
|
-
} maybe_stream_compression_level;
|
522
526
|
} send_initial_metadata;
|
523
527
|
struct grpc_op_send_message {
|
524
528
|
/** This op takes ownership of the slices in send_message. After
|
@@ -4,21 +4,15 @@ framework module grpc {
|
|
4
4
|
|
5
5
|
header "support/alloc.h"
|
6
6
|
header "support/atm.h"
|
7
|
-
header "support/avl.h"
|
8
|
-
header "support/cmdline.h"
|
9
7
|
header "support/cpu.h"
|
10
|
-
header "support/host_port.h"
|
11
8
|
header "support/log.h"
|
12
9
|
header "support/log_windows.h"
|
13
10
|
header "support/port_platform.h"
|
14
11
|
header "support/string_util.h"
|
15
|
-
header "support/subprocess.h"
|
16
12
|
header "support/sync.h"
|
17
13
|
header "support/sync_generic.h"
|
18
|
-
header "support/
|
14
|
+
header "support/thd_id.h"
|
19
15
|
header "support/time.h"
|
20
|
-
header "support/tls.h"
|
21
|
-
header "support/useful.h"
|
22
16
|
header "impl/codegen/atm.h"
|
23
17
|
header "impl/codegen/fork.h"
|
24
18
|
header "impl/codegen/gpr_slice.h"
|
@@ -62,9 +56,6 @@ framework module grpc {
|
|
62
56
|
textual header "support/sync_custom.h"
|
63
57
|
textual header "support/sync_posix.h"
|
64
58
|
textual header "support/sync_windows.h"
|
65
|
-
textual header "support/tls_gcc.h"
|
66
|
-
textual header "support/tls_msvc.h"
|
67
|
-
textual header "support/tls_pthread.h"
|
68
59
|
textual header "impl/codegen/atm_gcc_atomic.h"
|
69
60
|
textual header "impl/codegen/atm_gcc_sync.h"
|
70
61
|
textual header "impl/codegen/atm_windows.h"
|
@@ -46,8 +46,9 @@ GPRAPI void* gpr_zalloc(size_t size);
|
|
46
46
|
GPRAPI void gpr_free(void* ptr);
|
47
47
|
/** realloc, never returns NULL */
|
48
48
|
GPRAPI void* gpr_realloc(void* p, size_t size);
|
49
|
-
/** aligned malloc, never returns NULL, will align to
|
50
|
-
|
49
|
+
/** aligned malloc, never returns NULL, will align to alignment, which
|
50
|
+
* must be a power of 2. */
|
51
|
+
GPRAPI void* gpr_malloc_aligned(size_t size, size_t alignment);
|
51
52
|
/** free memory allocated by gpr_malloc_aligned */
|
52
53
|
GPRAPI void gpr_free_aligned(void* ptr);
|
53
54
|
|
data/include/grpc/support/log.h
CHANGED
@@ -19,12 +19,11 @@
|
|
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
23
|
#include <inttypes.h>
|
23
24
|
#include <stdarg.h>
|
24
25
|
#include <stdlib.h> /* for abort() */
|
25
26
|
|
26
|
-
#include <grpc/impl/codegen/port_platform.h>
|
27
|
-
|
28
27
|
#ifdef __cplusplus
|
29
28
|
extern "C" {
|
30
29
|
#endif
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
*
|
3
|
-
* Copyright
|
3
|
+
* Copyright 2018 gRPC authors.
|
4
4
|
*
|
5
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
6
|
* you may not use this file except in compliance with the License.
|
@@ -16,15 +16,29 @@
|
|
16
16
|
*
|
17
17
|
*/
|
18
18
|
|
19
|
-
#ifndef
|
20
|
-
#define
|
19
|
+
#ifndef GRPC_SUPPORT_THD_ID_H
|
20
|
+
#define GRPC_SUPPORT_THD_ID_H
|
21
|
+
/** Thread ID interface for GPR.
|
21
22
|
|
22
|
-
|
23
|
+
Used by some wrapped languages for logging purposes.
|
23
24
|
|
24
|
-
|
25
|
-
|
25
|
+
Types
|
26
|
+
gpr_thd_id a unique opaque identifier for a thread.
|
27
|
+
*/
|
28
|
+
|
29
|
+
#include <grpc/support/port_platform.h>
|
30
|
+
|
31
|
+
#ifdef __cplusplus
|
32
|
+
extern "C" {
|
33
|
+
#endif
|
34
|
+
|
35
|
+
typedef uintptr_t gpr_thd_id;
|
36
|
+
|
37
|
+
/** Returns the identifier of the current thread. */
|
38
|
+
GPRAPI gpr_thd_id gpr_thd_currentid(void);
|
26
39
|
|
27
|
-
|
28
|
-
|
40
|
+
#ifdef __cplusplus
|
41
|
+
}
|
42
|
+
#endif
|
29
43
|
|
30
|
-
#endif /*
|
44
|
+
#endif /* GRPC_SUPPORT_THD_ID_H */
|
data/src/boringssl/err_data.c
CHANGED
@@ -62,158 +62,165 @@ const uint32_t kOpenSSLReasonValues[] = {
|
|
62
62
|
0xc348899,
|
63
63
|
0xc3508a5,
|
64
64
|
0xc3588c2,
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
65
|
+
0xc3608e2,
|
66
|
+
0xc3688f0,
|
67
|
+
0xc370900,
|
68
|
+
0xc37890d,
|
69
|
+
0xc38091d,
|
70
|
+
0xc388928,
|
71
|
+
0xc39093e,
|
72
|
+
0xc39894d,
|
73
|
+
0xc3a0961,
|
74
74
|
0xc3a8845,
|
75
75
|
0xc3b00ea,
|
76
|
+
0xc3b88d4,
|
76
77
|
0x10320845,
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
78
|
+
0x10329513,
|
79
|
+
0x1033151f,
|
80
|
+
0x10339538,
|
81
|
+
0x1034154b,
|
82
|
+
0x10348eed,
|
83
|
+
0x10350c5e,
|
84
|
+
0x1035955e,
|
85
|
+
0x10361573,
|
86
|
+
0x10369586,
|
87
|
+
0x103715a5,
|
88
|
+
0x103795be,
|
89
|
+
0x103815d3,
|
90
|
+
0x103895f1,
|
91
|
+
0x10391600,
|
92
|
+
0x1039961c,
|
93
|
+
0x103a1637,
|
94
|
+
0x103a9646,
|
95
|
+
0x103b1662,
|
96
|
+
0x103b967d,
|
97
|
+
0x103c1694,
|
97
98
|
0x103c80ea,
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
99
|
+
0x103d16a5,
|
100
|
+
0x103d96b9,
|
101
|
+
0x103e16d8,
|
102
|
+
0x103e96e7,
|
103
|
+
0x103f16fe,
|
104
|
+
0x103f9711,
|
105
|
+
0x10400c22,
|
106
|
+
0x10409724,
|
107
|
+
0x10411742,
|
108
|
+
0x10419755,
|
109
|
+
0x1042176f,
|
110
|
+
0x1042977f,
|
111
|
+
0x10431793,
|
112
|
+
0x104397a9,
|
113
|
+
0x104417c1,
|
114
|
+
0x104497d6,
|
115
|
+
0x104517ea,
|
116
|
+
0x104597fc,
|
116
117
|
0x104605fb,
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
118
|
+
0x1046894d,
|
119
|
+
0x10471811,
|
120
|
+
0x10479828,
|
121
|
+
0x1048183d,
|
122
|
+
0x1048984b,
|
123
|
+
0x10490e4f,
|
124
|
+
0x14320c05,
|
125
|
+
0x14328c13,
|
126
|
+
0x14330c22,
|
127
|
+
0x14338c34,
|
126
128
|
0x143400ac,
|
127
129
|
0x143480ea,
|
128
130
|
0x18320083,
|
129
|
-
|
131
|
+
0x18328f43,
|
130
132
|
0x183300ac,
|
131
|
-
|
132
|
-
|
133
|
+
0x18338f59,
|
134
|
+
0x18340f6d,
|
133
135
|
0x183480ea,
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
136
|
+
0x18350f82,
|
137
|
+
0x18358f9a,
|
138
|
+
0x18360faf,
|
139
|
+
0x18368fc3,
|
140
|
+
0x18370fe7,
|
141
|
+
0x18378ffd,
|
142
|
+
0x18381011,
|
143
|
+
0x18389021,
|
144
|
+
0x18390a73,
|
145
|
+
0x18399031,
|
146
|
+
0x183a1059,
|
147
|
+
0x183a907f,
|
148
|
+
0x183b0c6a,
|
149
|
+
0x183b90b4,
|
150
|
+
0x183c10c6,
|
151
|
+
0x183c90d1,
|
152
|
+
0x183d10e1,
|
153
|
+
0x183d90f2,
|
154
|
+
0x183e1103,
|
155
|
+
0x183e9115,
|
156
|
+
0x183f113e,
|
157
|
+
0x183f9157,
|
158
|
+
0x1840116f,
|
157
159
|
0x184086d3,
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
160
|
+
0x184110a2,
|
161
|
+
0x1841906d,
|
162
|
+
0x1842108c,
|
163
|
+
0x18429046,
|
164
|
+
0x20321196,
|
165
|
+
0x243211a2,
|
166
|
+
0x24328993,
|
167
|
+
0x243311b4,
|
168
|
+
0x243391c1,
|
169
|
+
0x243411ce,
|
170
|
+
0x243491e0,
|
171
|
+
0x243511ef,
|
172
|
+
0x2435920c,
|
173
|
+
0x24361219,
|
174
|
+
0x24369227,
|
175
|
+
0x24371235,
|
176
|
+
0x24379243,
|
177
|
+
0x2438124c,
|
178
|
+
0x24389259,
|
179
|
+
0x2439126c,
|
180
|
+
0x28320c52,
|
181
|
+
0x28328c6a,
|
182
|
+
0x28330c22,
|
183
|
+
0x28338c7d,
|
184
|
+
0x28340c5e,
|
179
185
|
0x283480ac,
|
180
186
|
0x283500ea,
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
187
|
+
0x2c322c30,
|
188
|
+
0x2c329283,
|
189
|
+
0x2c332c3e,
|
190
|
+
0x2c33ac50,
|
191
|
+
0x2c342c64,
|
192
|
+
0x2c34ac76,
|
193
|
+
0x2c352c91,
|
194
|
+
0x2c35aca3,
|
195
|
+
0x2c362cb6,
|
190
196
|
0x2c36832d,
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
197
|
+
0x2c372cc3,
|
198
|
+
0x2c37acd5,
|
199
|
+
0x2c382cfa,
|
200
|
+
0x2c38ad11,
|
201
|
+
0x2c392d1f,
|
202
|
+
0x2c39ad2f,
|
203
|
+
0x2c3a2d41,
|
204
|
+
0x2c3aad55,
|
205
|
+
0x2c3b2d66,
|
206
|
+
0x2c3bad85,
|
207
|
+
0x2c3c1295,
|
208
|
+
0x2c3c92ab,
|
209
|
+
0x2c3d2d99,
|
210
|
+
0x2c3d92c4,
|
211
|
+
0x2c3e2db6,
|
212
|
+
0x2c3eadc4,
|
213
|
+
0x2c3f2ddc,
|
214
|
+
0x2c3fadf4,
|
215
|
+
0x2c402e01,
|
216
|
+
0x2c409196,
|
217
|
+
0x2c412e12,
|
218
|
+
0x2c41ae25,
|
219
|
+
0x2c42116f,
|
220
|
+
0x2c42ae36,
|
215
221
|
0x2c430720,
|
216
|
-
|
222
|
+
0x2c43ad77,
|
223
|
+
0x2c442ce8,
|
217
224
|
0x30320000,
|
218
225
|
0x30328015,
|
219
226
|
0x3033001f,
|
@@ -306,249 +313,260 @@ const uint32_t kOpenSSLReasonValues[] = {
|
|
306
313
|
0x305e8700,
|
307
314
|
0x305f0716,
|
308
315
|
0x305f8720,
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
316
|
+
0x34320b63,
|
317
|
+
0x34328b77,
|
318
|
+
0x34330b94,
|
319
|
+
0x34338ba7,
|
320
|
+
0x34340bb6,
|
321
|
+
0x34348bef,
|
322
|
+
0x34350bd3,
|
315
323
|
0x3c320083,
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
324
|
+
0x3c328ca7,
|
325
|
+
0x3c330cc0,
|
326
|
+
0x3c338cdb,
|
327
|
+
0x3c340cf8,
|
328
|
+
0x3c348d22,
|
329
|
+
0x3c350d3d,
|
330
|
+
0x3c358d63,
|
331
|
+
0x3c360d7c,
|
332
|
+
0x3c368d94,
|
333
|
+
0x3c370da5,
|
334
|
+
0x3c378db3,
|
335
|
+
0x3c380dc0,
|
336
|
+
0x3c388dd4,
|
337
|
+
0x3c390c6a,
|
338
|
+
0x3c398de8,
|
339
|
+
0x3c3a0dfc,
|
340
|
+
0x3c3a890d,
|
341
|
+
0x3c3b0e0c,
|
342
|
+
0x3c3b8e27,
|
343
|
+
0x3c3c0e39,
|
344
|
+
0x3c3c8e6c,
|
345
|
+
0x3c3d0e76,
|
346
|
+
0x3c3d8e8a,
|
347
|
+
0x3c3e0e98,
|
348
|
+
0x3c3e8ebd,
|
349
|
+
0x3c3f0c93,
|
350
|
+
0x3c3f8ea6,
|
343
351
|
0x3c4000ac,
|
344
352
|
0x3c4080ea,
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
353
|
+
0x3c410d13,
|
354
|
+
0x3c418d52,
|
355
|
+
0x3c420e4f,
|
356
|
+
0x403218a4,
|
357
|
+
0x403298ba,
|
358
|
+
0x403318e8,
|
359
|
+
0x403398f2,
|
360
|
+
0x40341909,
|
361
|
+
0x40349927,
|
362
|
+
0x40351937,
|
363
|
+
0x40359949,
|
364
|
+
0x40361956,
|
365
|
+
0x40369962,
|
366
|
+
0x40371977,
|
367
|
+
0x40379989,
|
368
|
+
0x40381994,
|
369
|
+
0x403899a6,
|
370
|
+
0x40390eed,
|
371
|
+
0x403999b6,
|
372
|
+
0x403a19c9,
|
373
|
+
0x403a99ea,
|
374
|
+
0x403b19fb,
|
375
|
+
0x403b9a0b,
|
367
376
|
0x403c0064,
|
368
377
|
0x403c8083,
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
378
|
+
0x403d1a8f,
|
379
|
+
0x403d9aa5,
|
380
|
+
0x403e1ab4,
|
381
|
+
0x403e9aec,
|
382
|
+
0x403f1b06,
|
383
|
+
0x403f9b14,
|
384
|
+
0x40401b29,
|
385
|
+
0x40409b3d,
|
386
|
+
0x40411b5a,
|
387
|
+
0x40419b75,
|
388
|
+
0x40421b8e,
|
389
|
+
0x40429ba1,
|
390
|
+
0x40431bb5,
|
391
|
+
0x40439bcd,
|
392
|
+
0x40441be4,
|
384
393
|
0x404480ac,
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
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
|
-
0x4070a7ad,
|
394
|
+
0x40451bf9,
|
395
|
+
0x40459c0b,
|
396
|
+
0x40461c2f,
|
397
|
+
0x40469c4f,
|
398
|
+
0x40471c5d,
|
399
|
+
0x40479c84,
|
400
|
+
0x40481cc1,
|
401
|
+
0x40489cda,
|
402
|
+
0x40491cf1,
|
403
|
+
0x40499d0b,
|
404
|
+
0x404a1d22,
|
405
|
+
0x404a9d40,
|
406
|
+
0x404b1d58,
|
407
|
+
0x404b9d6f,
|
408
|
+
0x404c1d85,
|
409
|
+
0x404c9d97,
|
410
|
+
0x404d1db8,
|
411
|
+
0x404d9dda,
|
412
|
+
0x404e1dee,
|
413
|
+
0x404e9dfb,
|
414
|
+
0x404f1e28,
|
415
|
+
0x404f9e51,
|
416
|
+
0x40501e8c,
|
417
|
+
0x40509ea0,
|
418
|
+
0x40511ebb,
|
419
|
+
0x40521ecb,
|
420
|
+
0x40529eef,
|
421
|
+
0x40531f07,
|
422
|
+
0x40539f1a,
|
423
|
+
0x40541f2f,
|
424
|
+
0x40549f52,
|
425
|
+
0x40551f60,
|
426
|
+
0x40559f7d,
|
427
|
+
0x40561f8a,
|
428
|
+
0x40569fa3,
|
429
|
+
0x40571fbb,
|
430
|
+
0x40579fce,
|
431
|
+
0x40581fe3,
|
432
|
+
0x4058a00a,
|
433
|
+
0x40592039,
|
434
|
+
0x4059a066,
|
435
|
+
0x405a207a,
|
436
|
+
0x405aa08a,
|
437
|
+
0x405b20a2,
|
438
|
+
0x405ba0b3,
|
439
|
+
0x405c20c6,
|
440
|
+
0x405ca105,
|
441
|
+
0x405d2112,
|
442
|
+
0x405da129,
|
443
|
+
0x405e2167,
|
444
|
+
0x405e8ab1,
|
445
|
+
0x405f2188,
|
446
|
+
0x405fa195,
|
447
|
+
0x406021a3,
|
448
|
+
0x4060a1c5,
|
449
|
+
0x40612209,
|
450
|
+
0x4061a241,
|
451
|
+
0x40622258,
|
452
|
+
0x4062a269,
|
453
|
+
0x4063227a,
|
454
|
+
0x4063a28f,
|
455
|
+
0x406422a6,
|
456
|
+
0x4064a2d2,
|
457
|
+
0x406522ed,
|
458
|
+
0x4065a304,
|
459
|
+
0x4066231c,
|
460
|
+
0x4066a346,
|
461
|
+
0x40672371,
|
462
|
+
0x4067a392,
|
463
|
+
0x406823b9,
|
464
|
+
0x4068a3da,
|
465
|
+
0x4069240c,
|
466
|
+
0x4069a43a,
|
467
|
+
0x406a245b,
|
468
|
+
0x406aa47b,
|
469
|
+
0x406b2603,
|
470
|
+
0x406ba626,
|
471
|
+
0x406c263c,
|
472
|
+
0x406ca8b7,
|
473
|
+
0x406d28e6,
|
474
|
+
0x406da90e,
|
475
|
+
0x406e293c,
|
476
|
+
0x406ea989,
|
477
|
+
0x406f29a8,
|
478
|
+
0x406fa9e0,
|
479
|
+
0x407029f3,
|
480
|
+
0x4070aa10,
|
473
481
|
0x40710800,
|
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
|
-
|
482
|
+
0x4071aa22,
|
483
|
+
0x40722a35,
|
484
|
+
0x4072aa4e,
|
485
|
+
0x40732a66,
|
486
|
+
0x40739482,
|
487
|
+
0x40742a7a,
|
488
|
+
0x4074aa94,
|
489
|
+
0x40752aa5,
|
490
|
+
0x4075aab9,
|
491
|
+
0x40762ac7,
|
492
|
+
0x40769259,
|
493
|
+
0x40772aec,
|
494
|
+
0x4077ab0e,
|
495
|
+
0x40782b29,
|
496
|
+
0x4078ab62,
|
497
|
+
0x40792b79,
|
498
|
+
0x4079ab8f,
|
499
|
+
0x407a2b9b,
|
500
|
+
0x407aabae,
|
501
|
+
0x407b2bc3,
|
502
|
+
0x407babd5,
|
503
|
+
0x407c2c06,
|
504
|
+
0x407cac0f,
|
505
|
+
0x407d23f5,
|
506
|
+
0x407d9e61,
|
507
|
+
0x407e2b3e,
|
508
|
+
0x407ea01a,
|
509
|
+
0x407f1c71,
|
510
|
+
0x407f9a31,
|
511
|
+
0x40801e38,
|
512
|
+
0x40809c99,
|
513
|
+
0x40811edd,
|
514
|
+
0x40819e12,
|
515
|
+
0x40822927,
|
516
|
+
0x40829a17,
|
517
|
+
0x40831ff5,
|
518
|
+
0x4083a2b7,
|
519
|
+
0x40841cad,
|
520
|
+
0x4084a052,
|
521
|
+
0x408520d7,
|
522
|
+
0x4085a1ed,
|
523
|
+
0x40862149,
|
524
|
+
0x40869e7b,
|
525
|
+
0x4087296d,
|
526
|
+
0x4087a21e,
|
527
|
+
0x40881a78,
|
528
|
+
0x4088a3a5,
|
529
|
+
0x40891ac7,
|
530
|
+
0x40899a54,
|
531
|
+
0x408a265c,
|
532
|
+
0x408a9862,
|
533
|
+
0x408b2bea,
|
534
|
+
0x408ba9bd,
|
535
|
+
0x408c20e7,
|
536
|
+
0x408c987e,
|
537
|
+
0x41f4252e,
|
538
|
+
0x41f925c0,
|
539
|
+
0x41fe24b3,
|
540
|
+
0x41fea6a8,
|
541
|
+
0x41ff2799,
|
542
|
+
0x42032547,
|
543
|
+
0x42082569,
|
544
|
+
0x4208a5a5,
|
545
|
+
0x42092497,
|
546
|
+
0x4209a5df,
|
547
|
+
0x420a24ee,
|
548
|
+
0x420aa4ce,
|
549
|
+
0x420b250e,
|
550
|
+
0x420ba587,
|
551
|
+
0x420c27b5,
|
552
|
+
0x420ca675,
|
553
|
+
0x420d268f,
|
554
|
+
0x420da6c6,
|
555
|
+
0x421226e0,
|
556
|
+
0x4217277c,
|
557
|
+
0x4217a722,
|
558
|
+
0x421c2744,
|
559
|
+
0x421f26ff,
|
560
|
+
0x422127cc,
|
561
|
+
0x4226275f,
|
562
|
+
0x422b289b,
|
563
|
+
0x422ba849,
|
564
|
+
0x422c2883,
|
565
|
+
0x422ca808,
|
566
|
+
0x422d27e7,
|
567
|
+
0x422da868,
|
568
|
+
0x422e282e,
|
569
|
+
0x422ea954,
|
552
570
|
0x4432072b,
|
553
571
|
0x4432873a,
|
554
572
|
0x44330746,
|
@@ -566,131 +584,144 @@ const uint32_t kOpenSSLReasonValues[] = {
|
|
566
584
|
0x44390800,
|
567
585
|
0x4439880e,
|
568
586
|
0x443a0821,
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
587
|
+
0x48321283,
|
588
|
+
0x48329295,
|
589
|
+
0x483312ab,
|
590
|
+
0x483392c4,
|
591
|
+
0x4c3212e9,
|
592
|
+
0x4c3292f9,
|
593
|
+
0x4c33130c,
|
594
|
+
0x4c33932c,
|
573
595
|
0x4c3400ac,
|
574
596
|
0x4c3480ea,
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
597
|
+
0x4c351338,
|
598
|
+
0x4c359346,
|
599
|
+
0x4c361362,
|
600
|
+
0x4c369375,
|
601
|
+
0x4c371384,
|
602
|
+
0x4c379392,
|
603
|
+
0x4c3813a7,
|
604
|
+
0x4c3893b3,
|
605
|
+
0x4c3913d3,
|
606
|
+
0x4c3993fd,
|
607
|
+
0x4c3a1416,
|
608
|
+
0x4c3a942f,
|
587
609
|
0x4c3b05fb,
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
610
|
+
0x4c3b9448,
|
611
|
+
0x4c3c145a,
|
612
|
+
0x4c3c9469,
|
613
|
+
0x4c3d1482,
|
614
|
+
0x4c3d8c45,
|
615
|
+
0x4c3e14db,
|
616
|
+
0x4c3e9491,
|
617
|
+
0x4c3f14fd,
|
618
|
+
0x4c3f9259,
|
619
|
+
0x4c4014a7,
|
620
|
+
0x4c4092d5,
|
621
|
+
0x4c4114cb,
|
622
|
+
0x50322e48,
|
623
|
+
0x5032ae57,
|
624
|
+
0x50332e62,
|
625
|
+
0x5033ae72,
|
626
|
+
0x50342e8b,
|
627
|
+
0x5034aea5,
|
628
|
+
0x50352eb3,
|
629
|
+
0x5035aec9,
|
630
|
+
0x50362edb,
|
631
|
+
0x5036aef1,
|
632
|
+
0x50372f0a,
|
633
|
+
0x5037af1d,
|
634
|
+
0x50382f35,
|
635
|
+
0x5038af46,
|
636
|
+
0x50392f5b,
|
637
|
+
0x5039af6f,
|
638
|
+
0x503a2f8f,
|
639
|
+
0x503aafa5,
|
640
|
+
0x503b2fbd,
|
641
|
+
0x503bafcf,
|
642
|
+
0x503c2feb,
|
643
|
+
0x503cb002,
|
644
|
+
0x503d301b,
|
645
|
+
0x503db031,
|
646
|
+
0x503e303e,
|
647
|
+
0x503eb054,
|
648
|
+
0x503f3066,
|
621
649
|
0x503f8382,
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
650
|
+
0x50403079,
|
651
|
+
0x5040b089,
|
652
|
+
0x504130a3,
|
653
|
+
0x5041b0b2,
|
654
|
+
0x504230cc,
|
655
|
+
0x5042b0e9,
|
656
|
+
0x504330f9,
|
657
|
+
0x5043b109,
|
658
|
+
0x50443118,
|
631
659
|
0x5044843f,
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
660
|
+
0x5045312c,
|
661
|
+
0x5045b14a,
|
662
|
+
0x5046315d,
|
663
|
+
0x5046b173,
|
664
|
+
0x50473185,
|
665
|
+
0x5047b19a,
|
666
|
+
0x504831c0,
|
667
|
+
0x5048b1ce,
|
668
|
+
0x504931e1,
|
669
|
+
0x5049b1f6,
|
670
|
+
0x504a320c,
|
671
|
+
0x504ab21c,
|
672
|
+
0x504b323c,
|
673
|
+
0x504bb24f,
|
674
|
+
0x504c3272,
|
675
|
+
0x504cb2a0,
|
676
|
+
0x504d32b2,
|
677
|
+
0x504db2cf,
|
678
|
+
0x504e32ea,
|
679
|
+
0x504eb306,
|
680
|
+
0x504f3318,
|
681
|
+
0x504fb32f,
|
682
|
+
0x5050333e,
|
655
683
|
0x505086ef,
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
684
|
+
0x50513351,
|
685
|
+
0x58320f2b,
|
686
|
+
0x68320eed,
|
687
|
+
0x68328c6a,
|
688
|
+
0x68330c7d,
|
689
|
+
0x68338efb,
|
690
|
+
0x68340f0b,
|
663
691
|
0x683480ea,
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
692
|
+
0x6c320ec9,
|
693
|
+
0x6c328c34,
|
694
|
+
0x6c330ed4,
|
695
|
+
0x74320a19,
|
696
|
+
0x743280ac,
|
697
|
+
0x74330c45,
|
698
|
+
0x7832097e,
|
699
|
+
0x78328993,
|
700
|
+
0x7833099f,
|
671
701
|
0x78338083,
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
702
|
+
0x783409ae,
|
703
|
+
0x783489c3,
|
704
|
+
0x783509e2,
|
705
|
+
0x78358a04,
|
706
|
+
0x78360a19,
|
707
|
+
0x78368a2f,
|
708
|
+
0x78370a3f,
|
709
|
+
0x78378a60,
|
710
|
+
0x78380a73,
|
711
|
+
0x78388a85,
|
712
|
+
0x78390a92,
|
713
|
+
0x78398ab1,
|
714
|
+
0x783a0ac6,
|
715
|
+
0x783a8ad4,
|
716
|
+
0x783b0ade,
|
717
|
+
0x783b8af2,
|
718
|
+
0x783c0b09,
|
719
|
+
0x783c8b1e,
|
720
|
+
0x783d0b35,
|
721
|
+
0x783d8b4a,
|
722
|
+
0x783e0aa0,
|
723
|
+
0x783e8a52,
|
724
|
+
0x7c321185,
|
694
725
|
};
|
695
726
|
|
696
727
|
const size_t kOpenSSLReasonValuesLen = sizeof(kOpenSSLReasonValues) / sizeof(kOpenSSLReasonValues[0]);
|
@@ -814,6 +845,7 @@ const char kOpenSSLReasonStringData[] =
|
|
814
845
|
"DIV_BY_ZERO\0"
|
815
846
|
"EXPAND_ON_STATIC_BIGNUM_DATA\0"
|
816
847
|
"INPUT_NOT_REDUCED\0"
|
848
|
+
"INVALID_INPUT\0"
|
817
849
|
"INVALID_RANGE\0"
|
818
850
|
"NEGATIVE_NUMBER\0"
|
819
851
|
"NOT_A_SQUARE\0"
|
@@ -833,6 +865,7 @@ const char kOpenSSLReasonStringData[] =
|
|
833
865
|
"INPUT_NOT_INITIALIZED\0"
|
834
866
|
"INVALID_AD_SIZE\0"
|
835
867
|
"INVALID_KEY_LENGTH\0"
|
868
|
+
"INVALID_NONCE\0"
|
836
869
|
"INVALID_NONCE_SIZE\0"
|
837
870
|
"INVALID_OPERATION\0"
|
838
871
|
"IV_TOO_LARGE\0"
|
@@ -852,11 +885,13 @@ const char kOpenSSLReasonStringData[] =
|
|
852
885
|
"MISSING_EQUAL_SIGN\0"
|
853
886
|
"NO_CLOSE_BRACE\0"
|
854
887
|
"UNABLE_TO_CREATE_NEW_SECTION\0"
|
888
|
+
"VARIABLE_EXPANSION_TOO_LONG\0"
|
855
889
|
"VARIABLE_HAS_NO_VALUE\0"
|
856
890
|
"BAD_GENERATOR\0"
|
857
891
|
"INVALID_PUBKEY\0"
|
858
892
|
"MODULUS_TOO_LARGE\0"
|
859
893
|
"NO_PRIVATE_VALUE\0"
|
894
|
+
"UNKNOWN_HASH\0"
|
860
895
|
"BAD_Q_VALUE\0"
|
861
896
|
"BAD_VERSION\0"
|
862
897
|
"MISSING_PARAMETERS\0"
|
@@ -882,6 +917,7 @@ const char kOpenSSLReasonStringData[] =
|
|
882
917
|
"PKPARAMETERS2GROUP_FAILURE\0"
|
883
918
|
"POINT_AT_INFINITY\0"
|
884
919
|
"POINT_IS_NOT_ON_CURVE\0"
|
920
|
+
"PUBLIC_KEY_VALIDATION_FAILED\0"
|
885
921
|
"SLOT_FULL\0"
|
886
922
|
"UNDEFINED_GENERATOR\0"
|
887
923
|
"UNKNOWN_GROUP\0"
|
@@ -906,8 +942,12 @@ const char kOpenSSLReasonStringData[] =
|
|
906
942
|
"INVALID_KEYBITS\0"
|
907
943
|
"INVALID_MGF1_MD\0"
|
908
944
|
"INVALID_PADDING_MODE\0"
|
945
|
+
"INVALID_PARAMETERS\0"
|
909
946
|
"INVALID_PSS_SALTLEN\0"
|
947
|
+
"INVALID_SIGNATURE\0"
|
910
948
|
"KEYS_NOT_SET\0"
|
949
|
+
"MEMORY_LIMIT_EXCEEDED\0"
|
950
|
+
"NOT_A_PRIVATE_KEY\0"
|
911
951
|
"NO_DEFAULT_DIGEST\0"
|
912
952
|
"NO_KEY_SET\0"
|
913
953
|
"NO_MDC2_SUPPORT\0"
|
@@ -934,6 +974,11 @@ const char kOpenSSLReasonStringData[] =
|
|
934
974
|
"SHORT_HEADER\0"
|
935
975
|
"UNSUPPORTED_CIPHER\0"
|
936
976
|
"UNSUPPORTED_ENCRYPTION\0"
|
977
|
+
"BAD_PKCS7_VERSION\0"
|
978
|
+
"NOT_PKCS7_SIGNED_DATA\0"
|
979
|
+
"NO_CERTIFICATES_INCLUDED\0"
|
980
|
+
"NO_CRLS_INCLUDED\0"
|
981
|
+
"BAD_ITERATION_COUNT\0"
|
937
982
|
"BAD_PKCS12_DATA\0"
|
938
983
|
"BAD_PKCS12_VERSION\0"
|
939
984
|
"CIPHER_HAS_NO_OBJECT_IDENTIFIER\0"
|
@@ -954,8 +999,11 @@ const char kOpenSSLReasonStringData[] =
|
|
954
999
|
"UNKNOWN_CIPHER\0"
|
955
1000
|
"UNKNOWN_CIPHER_ALGORITHM\0"
|
956
1001
|
"UNKNOWN_DIGEST\0"
|
957
|
-
"
|
1002
|
+
"UNSUPPORTED_KEYLENGTH\0"
|
1003
|
+
"UNSUPPORTED_KEY_DERIVATION_FUNCTION\0"
|
1004
|
+
"UNSUPPORTED_PRF\0"
|
958
1005
|
"UNSUPPORTED_PRIVATE_KEY_ALGORITHM\0"
|
1006
|
+
"UNSUPPORTED_SALT_TYPE\0"
|
959
1007
|
"BAD_E_VALUE\0"
|
960
1008
|
"BAD_FIXED_HEADER_DECRYPT\0"
|
961
1009
|
"BAD_PAD_BYTE_COUNT\0"
|
@@ -995,6 +1043,8 @@ const char kOpenSSLReasonStringData[] =
|
|
995
1043
|
"UNKNOWN_PADDING_TYPE\0"
|
996
1044
|
"VALUE_MISSING\0"
|
997
1045
|
"WRONG_SIGNATURE_LENGTH\0"
|
1046
|
+
"ALPN_MISMATCH_ON_EARLY_DATA\0"
|
1047
|
+
"APPLICATION_DATA_INSTEAD_OF_HANDSHAKE\0"
|
998
1048
|
"APP_DATA_IN_HANDSHAKE\0"
|
999
1049
|
"ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT\0"
|
1000
1050
|
"BAD_ALERT\0"
|
@@ -1016,10 +1066,12 @@ const char kOpenSSLReasonStringData[] =
|
|
1016
1066
|
"BIO_NOT_SET\0"
|
1017
1067
|
"BLOCK_CIPHER_PAD_IS_WRONG\0"
|
1018
1068
|
"BUFFERED_MESSAGES_ON_CIPHER_CHANGE\0"
|
1069
|
+
"CANNOT_HAVE_BOTH_PRIVKEY_AND_METHOD\0"
|
1019
1070
|
"CANNOT_PARSE_LEAF_CERT\0"
|
1020
1071
|
"CA_DN_LENGTH_MISMATCH\0"
|
1021
1072
|
"CA_DN_TOO_LONG\0"
|
1022
1073
|
"CCS_RECEIVED_EARLY\0"
|
1074
|
+
"CERTIFICATE_AND_PRIVATE_KEY_MISMATCH\0"
|
1023
1075
|
"CERTIFICATE_VERIFY_FAILED\0"
|
1024
1076
|
"CERT_CB_ERROR\0"
|
1025
1077
|
"CERT_LENGTH_MISMATCH\0"
|
@@ -1064,7 +1116,6 @@ const char kOpenSSLReasonStringData[] =
|
|
1064
1116
|
"INVALID_SSL_SESSION\0"
|
1065
1117
|
"INVALID_TICKET_KEYS_LENGTH\0"
|
1066
1118
|
"LENGTH_MISMATCH\0"
|
1067
|
-
"LIBRARY_HAS_NO_CIPHERS\0"
|
1068
1119
|
"MISSING_EXTENSION\0"
|
1069
1120
|
"MISSING_KEY_SHARE\0"
|
1070
1121
|
"MISSING_RSA_CERTIFICATE\0"
|
@@ -1091,6 +1142,7 @@ const char kOpenSSLReasonStringData[] =
|
|
1091
1142
|
"NO_REQUIRED_DIGEST\0"
|
1092
1143
|
"NO_SHARED_CIPHER\0"
|
1093
1144
|
"NO_SHARED_GROUP\0"
|
1145
|
+
"NO_SUPPORTED_VERSIONS_ENABLED\0"
|
1094
1146
|
"NULL_SSL_CTX\0"
|
1095
1147
|
"NULL_SSL_METHOD_PASSED\0"
|
1096
1148
|
"OLD_SESSION_CIPHER_NOT_RETURNED\0"
|
@@ -1117,6 +1169,7 @@ const char kOpenSSLReasonStringData[] =
|
|
1117
1169
|
"RESUMED_NON_EMS_SESSION_WITH_EMS_EXTENSION\0"
|
1118
1170
|
"SCSV_RECEIVED_WHEN_RENEGOTIATING\0"
|
1119
1171
|
"SERVERHELLO_TLSEXT\0"
|
1172
|
+
"SERVER_CERT_CHANGED\0"
|
1120
1173
|
"SESSION_ID_CONTEXT_UNINITIALIZED\0"
|
1121
1174
|
"SESSION_MAY_NOT_BE_CREATED\0"
|
1122
1175
|
"SHUTDOWN_WHILE_IN_INIT\0"
|
@@ -1139,6 +1192,7 @@ const char kOpenSSLReasonStringData[] =
|
|
1139
1192
|
"SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION\0"
|
1140
1193
|
"SSL_HANDSHAKE_FAILURE\0"
|
1141
1194
|
"SSL_SESSION_ID_CONTEXT_TOO_LONG\0"
|
1195
|
+
"TICKET_ENCRYPTION_FAILED\0"
|
1142
1196
|
"TLSV1_ALERT_ACCESS_DENIED\0"
|
1143
1197
|
"TLSV1_ALERT_DECODE_ERROR\0"
|
1144
1198
|
"TLSV1_ALERT_DECRYPTION_FAILED\0"
|
@@ -1164,9 +1218,11 @@ const char kOpenSSLReasonStringData[] =
|
|
1164
1218
|
"TOO_MANY_EMPTY_FRAGMENTS\0"
|
1165
1219
|
"TOO_MANY_KEY_UPDATES\0"
|
1166
1220
|
"TOO_MANY_WARNING_ALERTS\0"
|
1221
|
+
"TOO_MUCH_READ_EARLY_DATA\0"
|
1167
1222
|
"TOO_MUCH_SKIPPED_EARLY_DATA\0"
|
1168
1223
|
"UNABLE_TO_FIND_ECDH_PARAMETERS\0"
|
1169
1224
|
"UNEXPECTED_EXTENSION\0"
|
1225
|
+
"UNEXPECTED_EXTENSION_ON_EARLY_DATA\0"
|
1170
1226
|
"UNEXPECTED_MESSAGE\0"
|
1171
1227
|
"UNEXPECTED_OPERATOR_IN_GROUP\0"
|
1172
1228
|
"UNEXPECTED_RECORD\0"
|
@@ -1190,10 +1246,10 @@ const char kOpenSSLReasonStringData[] =
|
|
1190
1246
|
"WRONG_SIGNATURE_TYPE\0"
|
1191
1247
|
"WRONG_SSL_VERSION\0"
|
1192
1248
|
"WRONG_VERSION_NUMBER\0"
|
1249
|
+
"WRONG_VERSION_ON_EARLY_DATA\0"
|
1193
1250
|
"X509_LIB\0"
|
1194
1251
|
"X509_VERIFICATION_SETUP_PROBLEMS\0"
|
1195
1252
|
"AKID_MISMATCH\0"
|
1196
|
-
"BAD_PKCS7_VERSION\0"
|
1197
1253
|
"BAD_X509_FILETYPE\0"
|
1198
1254
|
"BASE64_DECODE_ERROR\0"
|
1199
1255
|
"CANT_CHECK_DH_KEY\0"
|
@@ -1203,6 +1259,7 @@ const char kOpenSSLReasonStringData[] =
|
|
1203
1259
|
"IDP_MISMATCH\0"
|
1204
1260
|
"INVALID_DIRECTORY\0"
|
1205
1261
|
"INVALID_FIELD_NAME\0"
|
1262
|
+
"INVALID_PARAMETER\0"
|
1206
1263
|
"INVALID_PSS_PARAMETERS\0"
|
1207
1264
|
"INVALID_TRUST\0"
|
1208
1265
|
"ISSUER_MISMATCH\0"
|
@@ -1212,10 +1269,7 @@ const char kOpenSSLReasonStringData[] =
|
|
1212
1269
|
"LOADING_DEFAULTS\0"
|
1213
1270
|
"NAME_TOO_LONG\0"
|
1214
1271
|
"NEWER_CRL_NOT_NEWER\0"
|
1215
|
-
"NOT_PKCS7_SIGNED_DATA\0"
|
1216
|
-
"NO_CERTIFICATES_INCLUDED\0"
|
1217
1272
|
"NO_CERT_SET_FOR_US_TO_VERIFY\0"
|
1218
|
-
"NO_CRLS_INCLUDED\0"
|
1219
1273
|
"NO_CRL_NUMBER\0"
|
1220
1274
|
"PUBLIC_KEY_DECODE_ERROR\0"
|
1221
1275
|
"PUBLIC_KEY_ENCODE_ERROR\0"
|