grpc 1.6.7 → 1.7.0.pre1

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

Potentially problematic release.


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

Files changed (277) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +579 -77
  3. data/include/grpc/byte_buffer.h +1 -63
  4. data/include/grpc/compression.h +27 -5
  5. data/include/grpc/fork.h +24 -0
  6. data/include/grpc/grpc.h +12 -6
  7. data/include/grpc/grpc_security.h +28 -7
  8. data/include/grpc/impl/codegen/atm.h +1 -0
  9. data/include/grpc/impl/codegen/byte_buffer.h +86 -0
  10. data/include/grpc/impl/codegen/compression_types.h +63 -5
  11. data/include/grpc/impl/codegen/fork.h +48 -0
  12. data/include/grpc/impl/codegen/grpc_types.h +26 -9
  13. data/include/grpc/impl/codegen/port_platform.h +11 -4
  14. data/include/grpc/impl/codegen/slice.h +6 -1
  15. data/include/grpc/impl/codegen/sync.h +3 -1
  16. data/include/grpc/impl/codegen/sync_custom.h +36 -0
  17. data/include/grpc/module.modulemap +75 -3
  18. data/include/grpc/slice.h +1 -5
  19. data/include/grpc/support/sync_custom.h +24 -0
  20. data/src/core/ext/census/base_resources.c +14 -14
  21. data/src/core/ext/census/context.c +7 -5
  22. data/src/core/ext/census/grpc_filter.c +12 -14
  23. data/src/core/ext/census/mlog.c +2 -1
  24. data/src/core/ext/census/resource.c +13 -9
  25. data/src/core/ext/filters/client_channel/channel_connectivity.c +15 -8
  26. data/src/core/ext/filters/client_channel/client_channel.c +418 -439
  27. data/src/core/ext/filters/client_channel/client_channel_factory.c +4 -5
  28. data/src/core/ext/filters/client_channel/client_channel_plugin.c +2 -2
  29. data/src/core/ext/filters/client_channel/http_connect_handshaker.c +7 -5
  30. data/src/core/ext/filters/client_channel/http_proxy.c +17 -21
  31. data/src/core/ext/filters/client_channel/lb_policy.c +1 -1
  32. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c +7 -7
  33. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c +371 -257
  34. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c +7 -5
  35. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c +25 -14
  36. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c +16 -16
  37. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c +33 -28
  38. data/src/core/ext/filters/client_channel/lb_policy_factory.c +10 -8
  39. data/src/core/ext/filters/client_channel/lb_policy_factory.h +1 -1
  40. data/src/core/ext/filters/client_channel/proxy_mapper_registry.c +1 -1
  41. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c +7 -6
  42. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c +62 -28
  43. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c +29 -23
  44. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c +25 -14
  45. data/src/core/ext/filters/client_channel/retry_throttle.c +9 -6
  46. data/src/core/ext/filters/client_channel/subchannel.c +30 -30
  47. data/src/core/ext/filters/client_channel/subchannel.h +1 -4
  48. data/src/core/ext/filters/client_channel/subchannel_index.c +31 -15
  49. data/src/core/ext/filters/client_channel/subchannel_index.h +7 -0
  50. data/src/core/ext/filters/client_channel/uri_parser.c +4 -3
  51. data/src/core/ext/filters/deadline/deadline_filter.c +78 -39
  52. data/src/core/ext/filters/deadline/deadline_filter.h +7 -1
  53. data/src/core/ext/filters/http/client/http_client_filter.c +14 -14
  54. data/src/core/ext/filters/http/http_filters_plugin.c +1 -1
  55. data/src/core/ext/filters/http/message_compress/message_compress_filter.c +240 -175
  56. data/src/core/ext/filters/http/server/http_server_filter.c +48 -36
  57. data/src/core/ext/filters/load_reporting/{load_reporting_filter.c → server_load_reporting_filter.c} +11 -12
  58. data/src/core/ext/filters/load_reporting/{load_reporting_filter.h → server_load_reporting_filter.h} +6 -5
  59. data/src/core/ext/filters/load_reporting/{load_reporting.c → server_load_reporting_plugin.c} +19 -13
  60. data/src/core/ext/filters/load_reporting/{load_reporting.h → server_load_reporting_plugin.h} +4 -3
  61. data/src/core/ext/filters/max_age/max_age_filter.c +2 -3
  62. data/src/core/ext/filters/message_size/message_size_filter.c +4 -2
  63. data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c +0 -1
  64. data/src/core/ext/transport/chttp2/client/chttp2_connector.c +5 -5
  65. data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +1 -1
  66. data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c +1 -1
  67. data/src/core/ext/transport/chttp2/server/chttp2_server.c +20 -18
  68. data/src/core/ext/transport/chttp2/transport/chttp2_plugin.c +1 -0
  69. data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +493 -210
  70. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +1 -0
  71. data/src/core/ext/transport/chttp2/transport/flow_control.c +9 -8
  72. data/src/core/ext/transport/chttp2/transport/frame_data.c +2 -2
  73. data/src/core/ext/transport/chttp2/transport/frame_goaway.c +2 -2
  74. data/src/core/ext/transport/chttp2/transport/frame_ping.c +5 -4
  75. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +1 -1
  76. data/src/core/ext/transport/chttp2/transport/frame_settings.c +10 -9
  77. data/src/core/ext/transport/chttp2/transport/frame_window_update.c +9 -5
  78. data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +62 -41
  79. data/src/core/ext/transport/chttp2/transport/hpack_parser.c +52 -8
  80. data/src/core/ext/transport/chttp2/transport/hpack_table.c +2 -2
  81. data/src/core/ext/transport/chttp2/transport/incoming_metadata.c +3 -2
  82. data/src/core/ext/transport/chttp2/transport/internal.h +60 -30
  83. data/src/core/ext/transport/chttp2/transport/parsing.c +16 -5
  84. data/src/core/ext/transport/chttp2/transport/stream_lists.c +36 -16
  85. data/src/core/ext/transport/chttp2/transport/stream_map.c +6 -4
  86. data/src/core/ext/transport/chttp2/transport/writing.c +133 -105
  87. data/src/core/ext/transport/inproc/inproc_transport.c +61 -65
  88. data/src/core/lib/channel/channel_args.c +112 -12
  89. data/src/core/lib/channel/channel_args.h +31 -0
  90. data/src/core/lib/channel/channel_stack.c +1 -15
  91. data/src/core/lib/channel/channel_stack.h +3 -10
  92. data/src/core/lib/channel/channel_stack_builder.c +41 -10
  93. data/src/core/lib/channel/channel_stack_builder.h +10 -0
  94. data/src/core/lib/channel/connected_channel.c +94 -23
  95. data/src/core/lib/channel/handshaker.c +8 -6
  96. data/src/core/lib/channel/handshaker_registry.c +1 -1
  97. data/src/core/lib/compression/algorithm_metadata.h +14 -0
  98. data/src/core/lib/compression/compression.c +101 -1
  99. data/src/core/lib/compression/stream_compression.c +32 -146
  100. data/src/core/lib/compression/stream_compression.h +28 -4
  101. data/src/core/lib/compression/stream_compression_gzip.c +228 -0
  102. data/src/core/lib/{iomgr/ev_epoll_thread_pool_linux.h → compression/stream_compression_gzip.h} +5 -7
  103. data/src/core/lib/compression/stream_compression_identity.c +94 -0
  104. data/src/core/lib/{iomgr/ev_epoll_limited_pollers_linux.h → compression/stream_compression_identity.h} +7 -8
  105. data/src/core/lib/debug/stats.c +174 -0
  106. data/src/core/lib/debug/stats.h +61 -0
  107. data/src/core/lib/debug/stats_data.c +687 -0
  108. data/src/core/lib/debug/stats_data.h +470 -0
  109. data/src/core/lib/debug/trace.c +3 -3
  110. data/src/core/lib/debug/trace.h +1 -1
  111. data/src/core/lib/http/format_request.c +1 -1
  112. data/src/core/lib/http/httpcli.c +8 -7
  113. data/src/core/lib/http/httpcli_security_connector.c +2 -1
  114. data/src/core/lib/http/parser.c +4 -3
  115. data/src/core/lib/iomgr/call_combiner.c +202 -0
  116. data/src/core/lib/iomgr/call_combiner.h +121 -0
  117. data/src/core/lib/iomgr/closure.c +18 -4
  118. data/src/core/lib/iomgr/combiner.c +11 -4
  119. data/src/core/lib/iomgr/error.c +26 -24
  120. data/src/core/lib/iomgr/ev_epoll1_linux.c +395 -212
  121. data/src/core/lib/iomgr/ev_epollex_linux.c +141 -128
  122. data/src/core/lib/iomgr/ev_epollsig_linux.c +44 -41
  123. data/src/core/lib/iomgr/ev_poll_posix.c +99 -75
  124. data/src/core/lib/iomgr/ev_posix.c +5 -9
  125. data/src/core/lib/iomgr/ev_posix.h +1 -1
  126. data/src/core/lib/iomgr/exec_ctx.h +6 -1
  127. data/src/core/lib/iomgr/executor.c +142 -36
  128. data/src/core/lib/iomgr/executor.h +6 -1
  129. data/src/core/lib/iomgr/fork_posix.c +88 -0
  130. data/src/core/lib/iomgr/fork_windows.c +39 -0
  131. data/src/core/lib/iomgr/iocp_windows.c +2 -0
  132. data/src/core/lib/iomgr/iomgr.c +2 -8
  133. data/src/core/lib/iomgr/is_epollexclusive_available.c +6 -6
  134. data/src/core/lib/iomgr/load_file.c +2 -1
  135. data/src/core/lib/iomgr/polling_entity.c +9 -9
  136. data/src/core/lib/iomgr/polling_entity.h +7 -1
  137. data/src/core/lib/iomgr/pollset.h +1 -1
  138. data/src/core/lib/iomgr/pollset_uv.c +1 -1
  139. data/src/core/lib/iomgr/pollset_windows.c +3 -3
  140. data/src/core/lib/iomgr/port.h +4 -0
  141. data/src/core/lib/iomgr/resolve_address_posix.c +8 -7
  142. data/src/core/lib/iomgr/resolve_address_windows.c +1 -1
  143. data/src/core/lib/iomgr/resource_quota.c +24 -19
  144. data/src/core/lib/iomgr/socket_factory_posix.c +4 -4
  145. data/src/core/lib/iomgr/socket_mutator.c +4 -4
  146. data/src/core/lib/iomgr/socket_utils_windows.c +0 -4
  147. data/src/core/lib/iomgr/tcp_client_posix.c +5 -4
  148. data/src/core/lib/iomgr/tcp_posix.c +181 -20
  149. data/src/core/lib/iomgr/tcp_server_posix.c +8 -7
  150. data/src/core/lib/iomgr/tcp_server_utils_posix_common.c +1 -1
  151. data/src/core/lib/iomgr/timer.h +4 -0
  152. data/src/core/lib/iomgr/timer_generic.c +138 -3
  153. data/src/core/lib/iomgr/timer_generic.h +3 -0
  154. data/src/core/lib/iomgr/timer_heap.c +4 -4
  155. data/src/core/lib/iomgr/timer_manager.c +2 -2
  156. data/src/core/lib/iomgr/timer_uv.c +2 -0
  157. data/src/core/lib/iomgr/udp_server.c +10 -8
  158. data/src/core/lib/iomgr/unix_sockets_posix.c +4 -2
  159. data/src/core/lib/iomgr/wakeup_fd_cv.c +9 -8
  160. data/src/core/lib/iomgr/wakeup_fd_cv.h +2 -2
  161. data/src/core/lib/json/json.c +1 -1
  162. data/src/core/lib/json/json_string.c +13 -13
  163. data/src/core/lib/profiling/timers.h +18 -8
  164. data/src/core/lib/security/credentials/composite/composite_credentials.c +4 -10
  165. data/src/core/lib/security/credentials/google_default/google_default_credentials.c +2 -1
  166. data/src/core/lib/security/credentials/jwt/jwt_verifier.c +11 -6
  167. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +4 -4
  168. data/src/core/lib/security/credentials/plugin/plugin_credentials.c +132 -50
  169. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +2 -0
  170. data/src/core/lib/security/transport/client_auth_filter.c +68 -135
  171. data/src/core/lib/security/transport/secure_endpoint.c +110 -90
  172. data/src/core/lib/security/transport/secure_endpoint.h +8 -3
  173. data/src/core/lib/security/transport/security_connector.c +10 -12
  174. data/src/core/lib/security/transport/security_handshaker.c +45 -24
  175. data/src/core/lib/security/transport/server_auth_filter.c +71 -20
  176. data/src/core/lib/slice/b64.c +2 -2
  177. data/src/core/lib/slice/slice.c +16 -14
  178. data/src/core/lib/slice/slice_buffer.c +5 -4
  179. data/src/core/lib/slice/slice_hash_table.c +3 -2
  180. data/src/core/lib/slice/slice_intern.c +8 -5
  181. data/src/core/lib/support/block_annotate.h +22 -0
  182. data/src/core/lib/support/fork.c +62 -0
  183. data/src/core/lib/support/fork.h +35 -0
  184. data/src/core/lib/support/log_linux.c +1 -1
  185. data/src/core/lib/support/string.c +15 -1
  186. data/src/core/lib/support/string.h +3 -0
  187. data/src/core/lib/support/thd_internal.h +6 -0
  188. data/src/core/lib/support/thd_posix.c +56 -0
  189. data/src/core/lib/support/thd_windows.c +2 -0
  190. data/src/core/lib/surface/alarm.c +22 -15
  191. data/src/core/lib/surface/byte_buffer.c +4 -2
  192. data/src/core/lib/surface/call.c +442 -141
  193. data/src/core/lib/surface/call.h +6 -6
  194. data/src/core/lib/surface/call_log_batch.c +1 -1
  195. data/src/core/lib/surface/call_test_only.h +12 -0
  196. data/src/core/lib/surface/channel.c +39 -4
  197. data/src/core/lib/surface/channel_init.c +6 -6
  198. data/src/core/lib/surface/channel_ping.c +2 -2
  199. data/src/core/lib/surface/completion_queue.c +56 -57
  200. data/src/core/lib/surface/init.c +17 -3
  201. data/src/core/lib/surface/init_secure.c +5 -1
  202. data/src/core/lib/surface/lame_client.cc +9 -10
  203. data/src/core/lib/surface/server.c +81 -72
  204. data/src/core/lib/surface/version.c +2 -2
  205. data/src/core/lib/transport/byte_stream.c +1 -0
  206. data/src/core/lib/transport/byte_stream.h +3 -1
  207. data/src/core/lib/transport/connectivity_state.c +2 -1
  208. data/src/core/lib/transport/metadata.c +7 -4
  209. data/src/core/lib/transport/metadata_batch.c +18 -16
  210. data/src/core/lib/transport/metadata_batch.h +1 -0
  211. data/src/core/lib/transport/service_config.c +5 -3
  212. data/src/core/lib/transport/static_metadata.c +395 -614
  213. data/src/core/lib/transport/static_metadata.h +165 -133
  214. data/src/core/lib/transport/status_conversion.c +1 -1
  215. data/src/core/lib/transport/transport.c +20 -20
  216. data/src/core/lib/transport/transport.h +8 -5
  217. data/src/core/lib/transport/transport_impl.h +0 -3
  218. data/src/core/lib/transport/transport_op_string.c +8 -1
  219. data/src/core/plugin_registry/grpc_plugin_registry.c +4 -4
  220. data/src/core/tsi/fake_transport_security.c +133 -2
  221. data/src/core/tsi/fake_transport_security.h +5 -0
  222. data/src/core/tsi/ssl_transport_security.c +105 -8
  223. data/src/core/tsi/ssl_transport_security.h +30 -7
  224. data/src/core/tsi/transport_security.h +8 -2
  225. data/src/core/tsi/transport_security_grpc.c +20 -13
  226. data/src/core/tsi/transport_security_grpc.h +13 -9
  227. data/src/ruby/ext/grpc/rb_call_credentials.c +6 -2
  228. data/src/ruby/ext/grpc/rb_grpc.c +1 -1
  229. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +30 -20
  230. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +50 -35
  231. data/src/ruby/lib/grpc.rb +1 -0
  232. data/src/ruby/lib/grpc/generic/active_call.rb +34 -9
  233. data/src/ruby/lib/grpc/generic/bidi_call.rb +19 -10
  234. data/src/ruby/lib/grpc/generic/client_stub.rb +95 -38
  235. data/src/ruby/lib/grpc/generic/interceptor_registry.rb +53 -0
  236. data/src/ruby/lib/grpc/generic/interceptors.rb +186 -0
  237. data/src/ruby/lib/grpc/generic/rpc_desc.rb +66 -20
  238. data/src/ruby/lib/grpc/generic/rpc_server.rb +15 -3
  239. data/src/ruby/lib/grpc/google_rpc_status_utils.rb +1 -2
  240. data/src/ruby/lib/grpc/version.rb +1 -1
  241. data/src/ruby/pb/grpc/testing/duplicate/echo_duplicate_services_pb.rb +1 -0
  242. data/src/ruby/spec/channel_connection_spec.rb +1 -34
  243. data/src/ruby/spec/client_server_spec.rb +188 -82
  244. data/src/ruby/spec/generic/active_call_spec.rb +65 -11
  245. data/src/ruby/spec/generic/client_interceptors_spec.rb +153 -0
  246. data/src/ruby/spec/generic/interceptor_registry_spec.rb +65 -0
  247. data/src/ruby/spec/generic/rpc_desc_spec.rb +38 -0
  248. data/src/ruby/spec/generic/rpc_server_spec.rb +1 -34
  249. data/src/ruby/spec/generic/server_interceptors_spec.rb +218 -0
  250. data/src/ruby/spec/spec_helper.rb +4 -0
  251. data/src/ruby/spec/support/helpers.rb +73 -0
  252. data/src/ruby/spec/support/services.rb +147 -0
  253. data/third_party/cares/ares_build.h +21 -62
  254. data/third_party/cares/cares/ares.h +23 -1
  255. data/third_party/cares/cares/ares__close_sockets.c +2 -2
  256. data/third_party/cares/cares/ares_create_query.c +3 -3
  257. data/third_party/cares/cares/ares_expand_name.c +6 -2
  258. data/third_party/cares/cares/ares_expand_string.c +1 -1
  259. data/third_party/cares/cares/ares_getnameinfo.c +27 -7
  260. data/third_party/cares/cares/ares_init.c +407 -39
  261. data/third_party/cares/cares/ares_library_init.c +10 -0
  262. data/third_party/cares/cares/ares_library_init.h +2 -1
  263. data/third_party/cares/cares/ares_nowarn.c +6 -6
  264. data/third_party/cares/cares/ares_nowarn.h +2 -2
  265. data/third_party/cares/cares/ares_parse_naptr_reply.c +6 -1
  266. data/third_party/cares/cares/ares_private.h +11 -0
  267. data/third_party/cares/cares/ares_process.c +126 -37
  268. data/third_party/cares/cares/ares_version.h +2 -2
  269. data/third_party/cares/cares/ares_writev.c +2 -2
  270. data/third_party/cares/cares/config-win32.h +8 -34
  271. data/third_party/cares/cares/inet_net_pton.c +2 -2
  272. data/third_party/cares/cares/setup_once.h +5 -5
  273. data/third_party/cares/config_darwin/ares_config.h +98 -196
  274. data/third_party/cares/config_linux/ares_config.h +103 -203
  275. metadata +47 -20
  276. data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c +0 -1957
  277. data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.c +0 -1182
@@ -29,7 +29,7 @@
29
29
 
30
30
  #include "src/core/lib/transport/metadata.h"
31
31
 
32
- #define GRPC_STATIC_MDSTR_COUNT 99
32
+ #define GRPC_STATIC_MDSTR_COUNT 100
33
33
  extern const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT];
34
34
  /* ":path" */
35
35
  #define GRPC_MDSTR_PATH (grpc_static_slice_table[0])
@@ -61,178 +61,181 @@ extern const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT];
61
61
  #define GRPC_MDSTR_GRPC_TRACE_BIN (grpc_static_slice_table[13])
62
62
  /* "content-type" */
63
63
  #define GRPC_MDSTR_CONTENT_TYPE (grpc_static_slice_table[14])
64
+ /* "content-encoding" */
65
+ #define GRPC_MDSTR_CONTENT_ENCODING (grpc_static_slice_table[15])
66
+ /* "accept-encoding" */
67
+ #define GRPC_MDSTR_ACCEPT_ENCODING (grpc_static_slice_table[16])
64
68
  /* "grpc-internal-encoding-request" */
65
- #define GRPC_MDSTR_GRPC_INTERNAL_ENCODING_REQUEST (grpc_static_slice_table[15])
69
+ #define GRPC_MDSTR_GRPC_INTERNAL_ENCODING_REQUEST (grpc_static_slice_table[17])
70
+ /* "grpc-internal-stream-encoding-request" */
71
+ #define GRPC_MDSTR_GRPC_INTERNAL_STREAM_ENCODING_REQUEST \
72
+ (grpc_static_slice_table[18])
66
73
  /* "user-agent" */
67
- #define GRPC_MDSTR_USER_AGENT (grpc_static_slice_table[16])
74
+ #define GRPC_MDSTR_USER_AGENT (grpc_static_slice_table[19])
68
75
  /* "host" */
69
- #define GRPC_MDSTR_HOST (grpc_static_slice_table[17])
76
+ #define GRPC_MDSTR_HOST (grpc_static_slice_table[20])
70
77
  /* "lb-token" */
71
- #define GRPC_MDSTR_LB_TOKEN (grpc_static_slice_table[18])
78
+ #define GRPC_MDSTR_LB_TOKEN (grpc_static_slice_table[21])
72
79
  /* "grpc-timeout" */
73
- #define GRPC_MDSTR_GRPC_TIMEOUT (grpc_static_slice_table[19])
80
+ #define GRPC_MDSTR_GRPC_TIMEOUT (grpc_static_slice_table[22])
74
81
  /* "" */
75
- #define GRPC_MDSTR_EMPTY (grpc_static_slice_table[20])
82
+ #define GRPC_MDSTR_EMPTY (grpc_static_slice_table[23])
76
83
  /* "grpc.wait_for_ready" */
77
- #define GRPC_MDSTR_GRPC_DOT_WAIT_FOR_READY (grpc_static_slice_table[21])
84
+ #define GRPC_MDSTR_GRPC_DOT_WAIT_FOR_READY (grpc_static_slice_table[24])
78
85
  /* "grpc.timeout" */
79
- #define GRPC_MDSTR_GRPC_DOT_TIMEOUT (grpc_static_slice_table[22])
86
+ #define GRPC_MDSTR_GRPC_DOT_TIMEOUT (grpc_static_slice_table[25])
80
87
  /* "grpc.max_request_message_bytes" */
81
88
  #define GRPC_MDSTR_GRPC_DOT_MAX_REQUEST_MESSAGE_BYTES \
82
- (grpc_static_slice_table[23])
89
+ (grpc_static_slice_table[26])
83
90
  /* "grpc.max_response_message_bytes" */
84
91
  #define GRPC_MDSTR_GRPC_DOT_MAX_RESPONSE_MESSAGE_BYTES \
85
- (grpc_static_slice_table[24])
92
+ (grpc_static_slice_table[27])
86
93
  /* "/grpc.lb.v1.LoadBalancer/BalanceLoad" */
87
94
  #define GRPC_MDSTR_SLASH_GRPC_DOT_LB_DOT_V1_DOT_LOADBALANCER_SLASH_BALANCELOAD \
88
- (grpc_static_slice_table[25])
95
+ (grpc_static_slice_table[28])
89
96
  /* "0" */
90
- #define GRPC_MDSTR_0 (grpc_static_slice_table[26])
97
+ #define GRPC_MDSTR_0 (grpc_static_slice_table[29])
91
98
  /* "1" */
92
- #define GRPC_MDSTR_1 (grpc_static_slice_table[27])
99
+ #define GRPC_MDSTR_1 (grpc_static_slice_table[30])
93
100
  /* "2" */
94
- #define GRPC_MDSTR_2 (grpc_static_slice_table[28])
101
+ #define GRPC_MDSTR_2 (grpc_static_slice_table[31])
95
102
  /* "identity" */
96
- #define GRPC_MDSTR_IDENTITY (grpc_static_slice_table[29])
103
+ #define GRPC_MDSTR_IDENTITY (grpc_static_slice_table[32])
97
104
  /* "gzip" */
98
- #define GRPC_MDSTR_GZIP (grpc_static_slice_table[30])
105
+ #define GRPC_MDSTR_GZIP (grpc_static_slice_table[33])
99
106
  /* "deflate" */
100
- #define GRPC_MDSTR_DEFLATE (grpc_static_slice_table[31])
107
+ #define GRPC_MDSTR_DEFLATE (grpc_static_slice_table[34])
101
108
  /* "trailers" */
102
- #define GRPC_MDSTR_TRAILERS (grpc_static_slice_table[32])
109
+ #define GRPC_MDSTR_TRAILERS (grpc_static_slice_table[35])
103
110
  /* "application/grpc" */
104
- #define GRPC_MDSTR_APPLICATION_SLASH_GRPC (grpc_static_slice_table[33])
111
+ #define GRPC_MDSTR_APPLICATION_SLASH_GRPC (grpc_static_slice_table[36])
105
112
  /* "POST" */
106
- #define GRPC_MDSTR_POST (grpc_static_slice_table[34])
113
+ #define GRPC_MDSTR_POST (grpc_static_slice_table[37])
107
114
  /* "200" */
108
- #define GRPC_MDSTR_200 (grpc_static_slice_table[35])
115
+ #define GRPC_MDSTR_200 (grpc_static_slice_table[38])
109
116
  /* "404" */
110
- #define GRPC_MDSTR_404 (grpc_static_slice_table[36])
117
+ #define GRPC_MDSTR_404 (grpc_static_slice_table[39])
111
118
  /* "http" */
112
- #define GRPC_MDSTR_HTTP (grpc_static_slice_table[37])
119
+ #define GRPC_MDSTR_HTTP (grpc_static_slice_table[40])
113
120
  /* "https" */
114
- #define GRPC_MDSTR_HTTPS (grpc_static_slice_table[38])
121
+ #define GRPC_MDSTR_HTTPS (grpc_static_slice_table[41])
115
122
  /* "grpc" */
116
- #define GRPC_MDSTR_GRPC (grpc_static_slice_table[39])
123
+ #define GRPC_MDSTR_GRPC (grpc_static_slice_table[42])
117
124
  /* "GET" */
118
- #define GRPC_MDSTR_GET (grpc_static_slice_table[40])
125
+ #define GRPC_MDSTR_GET (grpc_static_slice_table[43])
119
126
  /* "PUT" */
120
- #define GRPC_MDSTR_PUT (grpc_static_slice_table[41])
127
+ #define GRPC_MDSTR_PUT (grpc_static_slice_table[44])
121
128
  /* "/" */
122
- #define GRPC_MDSTR_SLASH (grpc_static_slice_table[42])
129
+ #define GRPC_MDSTR_SLASH (grpc_static_slice_table[45])
123
130
  /* "/index.html" */
124
- #define GRPC_MDSTR_SLASH_INDEX_DOT_HTML (grpc_static_slice_table[43])
131
+ #define GRPC_MDSTR_SLASH_INDEX_DOT_HTML (grpc_static_slice_table[46])
125
132
  /* "204" */
126
- #define GRPC_MDSTR_204 (grpc_static_slice_table[44])
133
+ #define GRPC_MDSTR_204 (grpc_static_slice_table[47])
127
134
  /* "206" */
128
- #define GRPC_MDSTR_206 (grpc_static_slice_table[45])
135
+ #define GRPC_MDSTR_206 (grpc_static_slice_table[48])
129
136
  /* "304" */
130
- #define GRPC_MDSTR_304 (grpc_static_slice_table[46])
137
+ #define GRPC_MDSTR_304 (grpc_static_slice_table[49])
131
138
  /* "400" */
132
- #define GRPC_MDSTR_400 (grpc_static_slice_table[47])
139
+ #define GRPC_MDSTR_400 (grpc_static_slice_table[50])
133
140
  /* "500" */
134
- #define GRPC_MDSTR_500 (grpc_static_slice_table[48])
141
+ #define GRPC_MDSTR_500 (grpc_static_slice_table[51])
135
142
  /* "accept-charset" */
136
- #define GRPC_MDSTR_ACCEPT_CHARSET (grpc_static_slice_table[49])
137
- /* "accept-encoding" */
138
- #define GRPC_MDSTR_ACCEPT_ENCODING (grpc_static_slice_table[50])
143
+ #define GRPC_MDSTR_ACCEPT_CHARSET (grpc_static_slice_table[52])
139
144
  /* "gzip, deflate" */
140
- #define GRPC_MDSTR_GZIP_COMMA_DEFLATE (grpc_static_slice_table[51])
145
+ #define GRPC_MDSTR_GZIP_COMMA_DEFLATE (grpc_static_slice_table[53])
141
146
  /* "accept-language" */
142
- #define GRPC_MDSTR_ACCEPT_LANGUAGE (grpc_static_slice_table[52])
147
+ #define GRPC_MDSTR_ACCEPT_LANGUAGE (grpc_static_slice_table[54])
143
148
  /* "accept-ranges" */
144
- #define GRPC_MDSTR_ACCEPT_RANGES (grpc_static_slice_table[53])
149
+ #define GRPC_MDSTR_ACCEPT_RANGES (grpc_static_slice_table[55])
145
150
  /* "accept" */
146
- #define GRPC_MDSTR_ACCEPT (grpc_static_slice_table[54])
151
+ #define GRPC_MDSTR_ACCEPT (grpc_static_slice_table[56])
147
152
  /* "access-control-allow-origin" */
148
- #define GRPC_MDSTR_ACCESS_CONTROL_ALLOW_ORIGIN (grpc_static_slice_table[55])
153
+ #define GRPC_MDSTR_ACCESS_CONTROL_ALLOW_ORIGIN (grpc_static_slice_table[57])
149
154
  /* "age" */
150
- #define GRPC_MDSTR_AGE (grpc_static_slice_table[56])
155
+ #define GRPC_MDSTR_AGE (grpc_static_slice_table[58])
151
156
  /* "allow" */
152
- #define GRPC_MDSTR_ALLOW (grpc_static_slice_table[57])
157
+ #define GRPC_MDSTR_ALLOW (grpc_static_slice_table[59])
153
158
  /* "authorization" */
154
- #define GRPC_MDSTR_AUTHORIZATION (grpc_static_slice_table[58])
159
+ #define GRPC_MDSTR_AUTHORIZATION (grpc_static_slice_table[60])
155
160
  /* "cache-control" */
156
- #define GRPC_MDSTR_CACHE_CONTROL (grpc_static_slice_table[59])
161
+ #define GRPC_MDSTR_CACHE_CONTROL (grpc_static_slice_table[61])
157
162
  /* "content-disposition" */
158
- #define GRPC_MDSTR_CONTENT_DISPOSITION (grpc_static_slice_table[60])
159
- /* "content-encoding" */
160
- #define GRPC_MDSTR_CONTENT_ENCODING (grpc_static_slice_table[61])
163
+ #define GRPC_MDSTR_CONTENT_DISPOSITION (grpc_static_slice_table[62])
161
164
  /* "content-language" */
162
- #define GRPC_MDSTR_CONTENT_LANGUAGE (grpc_static_slice_table[62])
165
+ #define GRPC_MDSTR_CONTENT_LANGUAGE (grpc_static_slice_table[63])
163
166
  /* "content-length" */
164
- #define GRPC_MDSTR_CONTENT_LENGTH (grpc_static_slice_table[63])
167
+ #define GRPC_MDSTR_CONTENT_LENGTH (grpc_static_slice_table[64])
165
168
  /* "content-location" */
166
- #define GRPC_MDSTR_CONTENT_LOCATION (grpc_static_slice_table[64])
169
+ #define GRPC_MDSTR_CONTENT_LOCATION (grpc_static_slice_table[65])
167
170
  /* "content-range" */
168
- #define GRPC_MDSTR_CONTENT_RANGE (grpc_static_slice_table[65])
171
+ #define GRPC_MDSTR_CONTENT_RANGE (grpc_static_slice_table[66])
169
172
  /* "cookie" */
170
- #define GRPC_MDSTR_COOKIE (grpc_static_slice_table[66])
173
+ #define GRPC_MDSTR_COOKIE (grpc_static_slice_table[67])
171
174
  /* "date" */
172
- #define GRPC_MDSTR_DATE (grpc_static_slice_table[67])
175
+ #define GRPC_MDSTR_DATE (grpc_static_slice_table[68])
173
176
  /* "etag" */
174
- #define GRPC_MDSTR_ETAG (grpc_static_slice_table[68])
177
+ #define GRPC_MDSTR_ETAG (grpc_static_slice_table[69])
175
178
  /* "expect" */
176
- #define GRPC_MDSTR_EXPECT (grpc_static_slice_table[69])
179
+ #define GRPC_MDSTR_EXPECT (grpc_static_slice_table[70])
177
180
  /* "expires" */
178
- #define GRPC_MDSTR_EXPIRES (grpc_static_slice_table[70])
181
+ #define GRPC_MDSTR_EXPIRES (grpc_static_slice_table[71])
179
182
  /* "from" */
180
- #define GRPC_MDSTR_FROM (grpc_static_slice_table[71])
183
+ #define GRPC_MDSTR_FROM (grpc_static_slice_table[72])
181
184
  /* "if-match" */
182
- #define GRPC_MDSTR_IF_MATCH (grpc_static_slice_table[72])
185
+ #define GRPC_MDSTR_IF_MATCH (grpc_static_slice_table[73])
183
186
  /* "if-modified-since" */
184
- #define GRPC_MDSTR_IF_MODIFIED_SINCE (grpc_static_slice_table[73])
187
+ #define GRPC_MDSTR_IF_MODIFIED_SINCE (grpc_static_slice_table[74])
185
188
  /* "if-none-match" */
186
- #define GRPC_MDSTR_IF_NONE_MATCH (grpc_static_slice_table[74])
189
+ #define GRPC_MDSTR_IF_NONE_MATCH (grpc_static_slice_table[75])
187
190
  /* "if-range" */
188
- #define GRPC_MDSTR_IF_RANGE (grpc_static_slice_table[75])
191
+ #define GRPC_MDSTR_IF_RANGE (grpc_static_slice_table[76])
189
192
  /* "if-unmodified-since" */
190
- #define GRPC_MDSTR_IF_UNMODIFIED_SINCE (grpc_static_slice_table[76])
193
+ #define GRPC_MDSTR_IF_UNMODIFIED_SINCE (grpc_static_slice_table[77])
191
194
  /* "last-modified" */
192
- #define GRPC_MDSTR_LAST_MODIFIED (grpc_static_slice_table[77])
195
+ #define GRPC_MDSTR_LAST_MODIFIED (grpc_static_slice_table[78])
193
196
  /* "lb-cost-bin" */
194
- #define GRPC_MDSTR_LB_COST_BIN (grpc_static_slice_table[78])
197
+ #define GRPC_MDSTR_LB_COST_BIN (grpc_static_slice_table[79])
195
198
  /* "link" */
196
- #define GRPC_MDSTR_LINK (grpc_static_slice_table[79])
199
+ #define GRPC_MDSTR_LINK (grpc_static_slice_table[80])
197
200
  /* "location" */
198
- #define GRPC_MDSTR_LOCATION (grpc_static_slice_table[80])
201
+ #define GRPC_MDSTR_LOCATION (grpc_static_slice_table[81])
199
202
  /* "max-forwards" */
200
- #define GRPC_MDSTR_MAX_FORWARDS (grpc_static_slice_table[81])
203
+ #define GRPC_MDSTR_MAX_FORWARDS (grpc_static_slice_table[82])
201
204
  /* "proxy-authenticate" */
202
- #define GRPC_MDSTR_PROXY_AUTHENTICATE (grpc_static_slice_table[82])
205
+ #define GRPC_MDSTR_PROXY_AUTHENTICATE (grpc_static_slice_table[83])
203
206
  /* "proxy-authorization" */
204
- #define GRPC_MDSTR_PROXY_AUTHORIZATION (grpc_static_slice_table[83])
207
+ #define GRPC_MDSTR_PROXY_AUTHORIZATION (grpc_static_slice_table[84])
205
208
  /* "range" */
206
- #define GRPC_MDSTR_RANGE (grpc_static_slice_table[84])
209
+ #define GRPC_MDSTR_RANGE (grpc_static_slice_table[85])
207
210
  /* "referer" */
208
- #define GRPC_MDSTR_REFERER (grpc_static_slice_table[85])
211
+ #define GRPC_MDSTR_REFERER (grpc_static_slice_table[86])
209
212
  /* "refresh" */
210
- #define GRPC_MDSTR_REFRESH (grpc_static_slice_table[86])
213
+ #define GRPC_MDSTR_REFRESH (grpc_static_slice_table[87])
211
214
  /* "retry-after" */
212
- #define GRPC_MDSTR_RETRY_AFTER (grpc_static_slice_table[87])
215
+ #define GRPC_MDSTR_RETRY_AFTER (grpc_static_slice_table[88])
213
216
  /* "server" */
214
- #define GRPC_MDSTR_SERVER (grpc_static_slice_table[88])
217
+ #define GRPC_MDSTR_SERVER (grpc_static_slice_table[89])
215
218
  /* "set-cookie" */
216
- #define GRPC_MDSTR_SET_COOKIE (grpc_static_slice_table[89])
219
+ #define GRPC_MDSTR_SET_COOKIE (grpc_static_slice_table[90])
217
220
  /* "strict-transport-security" */
218
- #define GRPC_MDSTR_STRICT_TRANSPORT_SECURITY (grpc_static_slice_table[90])
221
+ #define GRPC_MDSTR_STRICT_TRANSPORT_SECURITY (grpc_static_slice_table[91])
219
222
  /* "transfer-encoding" */
220
- #define GRPC_MDSTR_TRANSFER_ENCODING (grpc_static_slice_table[91])
223
+ #define GRPC_MDSTR_TRANSFER_ENCODING (grpc_static_slice_table[92])
221
224
  /* "vary" */
222
- #define GRPC_MDSTR_VARY (grpc_static_slice_table[92])
225
+ #define GRPC_MDSTR_VARY (grpc_static_slice_table[93])
223
226
  /* "via" */
224
- #define GRPC_MDSTR_VIA (grpc_static_slice_table[93])
227
+ #define GRPC_MDSTR_VIA (grpc_static_slice_table[94])
225
228
  /* "www-authenticate" */
226
- #define GRPC_MDSTR_WWW_AUTHENTICATE (grpc_static_slice_table[94])
229
+ #define GRPC_MDSTR_WWW_AUTHENTICATE (grpc_static_slice_table[95])
227
230
  /* "identity,deflate" */
228
- #define GRPC_MDSTR_IDENTITY_COMMA_DEFLATE (grpc_static_slice_table[95])
231
+ #define GRPC_MDSTR_IDENTITY_COMMA_DEFLATE (grpc_static_slice_table[96])
229
232
  /* "identity,gzip" */
230
- #define GRPC_MDSTR_IDENTITY_COMMA_GZIP (grpc_static_slice_table[96])
233
+ #define GRPC_MDSTR_IDENTITY_COMMA_GZIP (grpc_static_slice_table[97])
231
234
  /* "deflate,gzip" */
232
- #define GRPC_MDSTR_DEFLATE_COMMA_GZIP (grpc_static_slice_table[97])
235
+ #define GRPC_MDSTR_DEFLATE_COMMA_GZIP (grpc_static_slice_table[98])
233
236
  /* "identity,deflate,gzip" */
234
237
  #define GRPC_MDSTR_IDENTITY_COMMA_DEFLATE_COMMA_GZIP \
235
- (grpc_static_slice_table[98])
238
+ (grpc_static_slice_table[99])
236
239
 
237
240
  extern const grpc_slice_refcount_vtable grpc_static_metadata_vtable;
238
241
  extern grpc_slice_refcount
@@ -244,7 +247,7 @@ extern grpc_slice_refcount
244
247
  #define GRPC_STATIC_METADATA_INDEX(static_slice) \
245
248
  ((int)((static_slice).refcount - grpc_static_metadata_refcounts))
246
249
 
247
- #define GRPC_STATIC_MDELEM_COUNT 81
250
+ #define GRPC_STATIC_MDELEM_COUNT 86
248
251
  extern grpc_mdelem_data grpc_static_mdelem_table[GRPC_STATIC_MDELEM_COUNT];
249
252
  extern uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT];
250
253
  /* "grpc-status": "0" */
@@ -355,141 +358,156 @@ extern uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT];
355
358
  /* "content-disposition": "" */
356
359
  #define GRPC_MDELEM_CONTENT_DISPOSITION_EMPTY \
357
360
  (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[35], GRPC_MDELEM_STORAGE_STATIC))
361
+ /* "content-encoding": "identity" */
362
+ #define GRPC_MDELEM_CONTENT_ENCODING_IDENTITY \
363
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[36], GRPC_MDELEM_STORAGE_STATIC))
364
+ /* "content-encoding": "gzip" */
365
+ #define GRPC_MDELEM_CONTENT_ENCODING_GZIP \
366
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[37], GRPC_MDELEM_STORAGE_STATIC))
358
367
  /* "content-encoding": "" */
359
368
  #define GRPC_MDELEM_CONTENT_ENCODING_EMPTY \
360
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[36], GRPC_MDELEM_STORAGE_STATIC))
369
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[38], GRPC_MDELEM_STORAGE_STATIC))
361
370
  /* "content-language": "" */
362
371
  #define GRPC_MDELEM_CONTENT_LANGUAGE_EMPTY \
363
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[37], GRPC_MDELEM_STORAGE_STATIC))
372
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[39], GRPC_MDELEM_STORAGE_STATIC))
364
373
  /* "content-length": "" */
365
374
  #define GRPC_MDELEM_CONTENT_LENGTH_EMPTY \
366
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[38], GRPC_MDELEM_STORAGE_STATIC))
375
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[40], GRPC_MDELEM_STORAGE_STATIC))
367
376
  /* "content-location": "" */
368
377
  #define GRPC_MDELEM_CONTENT_LOCATION_EMPTY \
369
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[39], GRPC_MDELEM_STORAGE_STATIC))
378
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[41], GRPC_MDELEM_STORAGE_STATIC))
370
379
  /* "content-range": "" */
371
380
  #define GRPC_MDELEM_CONTENT_RANGE_EMPTY \
372
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[40], GRPC_MDELEM_STORAGE_STATIC))
381
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[42], GRPC_MDELEM_STORAGE_STATIC))
373
382
  /* "content-type": "" */
374
383
  #define GRPC_MDELEM_CONTENT_TYPE_EMPTY \
375
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[41], GRPC_MDELEM_STORAGE_STATIC))
384
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[43], GRPC_MDELEM_STORAGE_STATIC))
376
385
  /* "cookie": "" */
377
386
  #define GRPC_MDELEM_COOKIE_EMPTY \
378
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[42], GRPC_MDELEM_STORAGE_STATIC))
387
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[44], GRPC_MDELEM_STORAGE_STATIC))
379
388
  /* "date": "" */
380
389
  #define GRPC_MDELEM_DATE_EMPTY \
381
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[43], GRPC_MDELEM_STORAGE_STATIC))
390
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[45], GRPC_MDELEM_STORAGE_STATIC))
382
391
  /* "etag": "" */
383
392
  #define GRPC_MDELEM_ETAG_EMPTY \
384
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[44], GRPC_MDELEM_STORAGE_STATIC))
393
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[46], GRPC_MDELEM_STORAGE_STATIC))
385
394
  /* "expect": "" */
386
395
  #define GRPC_MDELEM_EXPECT_EMPTY \
387
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[45], GRPC_MDELEM_STORAGE_STATIC))
396
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[47], GRPC_MDELEM_STORAGE_STATIC))
388
397
  /* "expires": "" */
389
398
  #define GRPC_MDELEM_EXPIRES_EMPTY \
390
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[46], GRPC_MDELEM_STORAGE_STATIC))
399
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[48], GRPC_MDELEM_STORAGE_STATIC))
391
400
  /* "from": "" */
392
401
  #define GRPC_MDELEM_FROM_EMPTY \
393
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[47], GRPC_MDELEM_STORAGE_STATIC))
402
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[49], GRPC_MDELEM_STORAGE_STATIC))
394
403
  /* "host": "" */
395
404
  #define GRPC_MDELEM_HOST_EMPTY \
396
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[48], GRPC_MDELEM_STORAGE_STATIC))
405
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[50], GRPC_MDELEM_STORAGE_STATIC))
397
406
  /* "if-match": "" */
398
407
  #define GRPC_MDELEM_IF_MATCH_EMPTY \
399
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[49], GRPC_MDELEM_STORAGE_STATIC))
408
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[51], GRPC_MDELEM_STORAGE_STATIC))
400
409
  /* "if-modified-since": "" */
401
410
  #define GRPC_MDELEM_IF_MODIFIED_SINCE_EMPTY \
402
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[50], GRPC_MDELEM_STORAGE_STATIC))
411
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[52], GRPC_MDELEM_STORAGE_STATIC))
403
412
  /* "if-none-match": "" */
404
413
  #define GRPC_MDELEM_IF_NONE_MATCH_EMPTY \
405
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[51], GRPC_MDELEM_STORAGE_STATIC))
414
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[53], GRPC_MDELEM_STORAGE_STATIC))
406
415
  /* "if-range": "" */
407
416
  #define GRPC_MDELEM_IF_RANGE_EMPTY \
408
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[52], GRPC_MDELEM_STORAGE_STATIC))
417
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[54], GRPC_MDELEM_STORAGE_STATIC))
409
418
  /* "if-unmodified-since": "" */
410
419
  #define GRPC_MDELEM_IF_UNMODIFIED_SINCE_EMPTY \
411
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[53], GRPC_MDELEM_STORAGE_STATIC))
420
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[55], GRPC_MDELEM_STORAGE_STATIC))
412
421
  /* "last-modified": "" */
413
422
  #define GRPC_MDELEM_LAST_MODIFIED_EMPTY \
414
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[54], GRPC_MDELEM_STORAGE_STATIC))
423
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[56], GRPC_MDELEM_STORAGE_STATIC))
415
424
  /* "lb-token": "" */
416
425
  #define GRPC_MDELEM_LB_TOKEN_EMPTY \
417
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[55], GRPC_MDELEM_STORAGE_STATIC))
426
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[57], GRPC_MDELEM_STORAGE_STATIC))
418
427
  /* "lb-cost-bin": "" */
419
428
  #define GRPC_MDELEM_LB_COST_BIN_EMPTY \
420
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[56], GRPC_MDELEM_STORAGE_STATIC))
429
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[58], GRPC_MDELEM_STORAGE_STATIC))
421
430
  /* "link": "" */
422
431
  #define GRPC_MDELEM_LINK_EMPTY \
423
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[57], GRPC_MDELEM_STORAGE_STATIC))
432
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[59], GRPC_MDELEM_STORAGE_STATIC))
424
433
  /* "location": "" */
425
434
  #define GRPC_MDELEM_LOCATION_EMPTY \
426
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[58], GRPC_MDELEM_STORAGE_STATIC))
435
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[60], GRPC_MDELEM_STORAGE_STATIC))
427
436
  /* "max-forwards": "" */
428
437
  #define GRPC_MDELEM_MAX_FORWARDS_EMPTY \
429
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[59], GRPC_MDELEM_STORAGE_STATIC))
438
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[61], GRPC_MDELEM_STORAGE_STATIC))
430
439
  /* "proxy-authenticate": "" */
431
440
  #define GRPC_MDELEM_PROXY_AUTHENTICATE_EMPTY \
432
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[60], GRPC_MDELEM_STORAGE_STATIC))
441
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[62], GRPC_MDELEM_STORAGE_STATIC))
433
442
  /* "proxy-authorization": "" */
434
443
  #define GRPC_MDELEM_PROXY_AUTHORIZATION_EMPTY \
435
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[61], GRPC_MDELEM_STORAGE_STATIC))
444
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[63], GRPC_MDELEM_STORAGE_STATIC))
436
445
  /* "range": "" */
437
446
  #define GRPC_MDELEM_RANGE_EMPTY \
438
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[62], GRPC_MDELEM_STORAGE_STATIC))
447
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[64], GRPC_MDELEM_STORAGE_STATIC))
439
448
  /* "referer": "" */
440
449
  #define GRPC_MDELEM_REFERER_EMPTY \
441
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[63], GRPC_MDELEM_STORAGE_STATIC))
450
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[65], GRPC_MDELEM_STORAGE_STATIC))
442
451
  /* "refresh": "" */
443
452
  #define GRPC_MDELEM_REFRESH_EMPTY \
444
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[64], GRPC_MDELEM_STORAGE_STATIC))
453
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[66], GRPC_MDELEM_STORAGE_STATIC))
445
454
  /* "retry-after": "" */
446
455
  #define GRPC_MDELEM_RETRY_AFTER_EMPTY \
447
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[65], GRPC_MDELEM_STORAGE_STATIC))
456
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[67], GRPC_MDELEM_STORAGE_STATIC))
448
457
  /* "server": "" */
449
458
  #define GRPC_MDELEM_SERVER_EMPTY \
450
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[66], GRPC_MDELEM_STORAGE_STATIC))
459
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[68], GRPC_MDELEM_STORAGE_STATIC))
451
460
  /* "set-cookie": "" */
452
461
  #define GRPC_MDELEM_SET_COOKIE_EMPTY \
453
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[67], GRPC_MDELEM_STORAGE_STATIC))
462
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[69], GRPC_MDELEM_STORAGE_STATIC))
454
463
  /* "strict-transport-security": "" */
455
464
  #define GRPC_MDELEM_STRICT_TRANSPORT_SECURITY_EMPTY \
456
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[68], GRPC_MDELEM_STORAGE_STATIC))
465
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[70], GRPC_MDELEM_STORAGE_STATIC))
457
466
  /* "transfer-encoding": "" */
458
467
  #define GRPC_MDELEM_TRANSFER_ENCODING_EMPTY \
459
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[69], GRPC_MDELEM_STORAGE_STATIC))
468
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[71], GRPC_MDELEM_STORAGE_STATIC))
460
469
  /* "user-agent": "" */
461
470
  #define GRPC_MDELEM_USER_AGENT_EMPTY \
462
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[70], GRPC_MDELEM_STORAGE_STATIC))
471
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[72], GRPC_MDELEM_STORAGE_STATIC))
463
472
  /* "vary": "" */
464
473
  #define GRPC_MDELEM_VARY_EMPTY \
465
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[71], GRPC_MDELEM_STORAGE_STATIC))
474
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[73], GRPC_MDELEM_STORAGE_STATIC))
466
475
  /* "via": "" */
467
476
  #define GRPC_MDELEM_VIA_EMPTY \
468
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[72], GRPC_MDELEM_STORAGE_STATIC))
477
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[74], GRPC_MDELEM_STORAGE_STATIC))
469
478
  /* "www-authenticate": "" */
470
479
  #define GRPC_MDELEM_WWW_AUTHENTICATE_EMPTY \
471
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[73], GRPC_MDELEM_STORAGE_STATIC))
480
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[75], GRPC_MDELEM_STORAGE_STATIC))
472
481
  /* "grpc-accept-encoding": "identity" */
473
482
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY \
474
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[74], GRPC_MDELEM_STORAGE_STATIC))
483
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[76], GRPC_MDELEM_STORAGE_STATIC))
475
484
  /* "grpc-accept-encoding": "deflate" */
476
485
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_DEFLATE \
477
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[75], GRPC_MDELEM_STORAGE_STATIC))
486
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[77], GRPC_MDELEM_STORAGE_STATIC))
478
487
  /* "grpc-accept-encoding": "identity,deflate" */
479
488
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_DEFLATE \
480
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[76], GRPC_MDELEM_STORAGE_STATIC))
489
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[78], GRPC_MDELEM_STORAGE_STATIC))
481
490
  /* "grpc-accept-encoding": "gzip" */
482
491
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_GZIP \
483
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[77], GRPC_MDELEM_STORAGE_STATIC))
492
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[79], GRPC_MDELEM_STORAGE_STATIC))
484
493
  /* "grpc-accept-encoding": "identity,gzip" */
485
494
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_GZIP \
486
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[78], GRPC_MDELEM_STORAGE_STATIC))
495
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[80], GRPC_MDELEM_STORAGE_STATIC))
487
496
  /* "grpc-accept-encoding": "deflate,gzip" */
488
497
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_DEFLATE_COMMA_GZIP \
489
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[79], GRPC_MDELEM_STORAGE_STATIC))
498
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[81], GRPC_MDELEM_STORAGE_STATIC))
490
499
  /* "grpc-accept-encoding": "identity,deflate,gzip" */
491
500
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_DEFLATE_COMMA_GZIP \
492
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[80], GRPC_MDELEM_STORAGE_STATIC))
501
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[82], GRPC_MDELEM_STORAGE_STATIC))
502
+ /* "accept-encoding": "identity" */
503
+ #define GRPC_MDELEM_ACCEPT_ENCODING_IDENTITY \
504
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[83], GRPC_MDELEM_STORAGE_STATIC))
505
+ /* "accept-encoding": "gzip" */
506
+ #define GRPC_MDELEM_ACCEPT_ENCODING_GZIP \
507
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[84], GRPC_MDELEM_STORAGE_STATIC))
508
+ /* "accept-encoding": "identity,gzip" */
509
+ #define GRPC_MDELEM_ACCEPT_ENCODING_IDENTITY_COMMA_GZIP \
510
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[85], GRPC_MDELEM_STORAGE_STATIC))
493
511
 
494
512
  grpc_mdelem grpc_static_mdelem_for_static_strings(int a, int b);
495
513
  typedef enum {
@@ -508,7 +526,10 @@ typedef enum {
508
526
  GRPC_BATCH_GRPC_TAGS_BIN,
509
527
  GRPC_BATCH_GRPC_TRACE_BIN,
510
528
  GRPC_BATCH_CONTENT_TYPE,
529
+ GRPC_BATCH_CONTENT_ENCODING,
530
+ GRPC_BATCH_ACCEPT_ENCODING,
511
531
  GRPC_BATCH_GRPC_INTERNAL_ENCODING_REQUEST,
532
+ GRPC_BATCH_GRPC_INTERNAL_STREAM_ENCODING_REQUEST,
512
533
  GRPC_BATCH_USER_AGENT,
513
534
  GRPC_BATCH_HOST,
514
535
  GRPC_BATCH_LB_TOKEN,
@@ -533,7 +554,10 @@ typedef union {
533
554
  struct grpc_linked_mdelem *grpc_tags_bin;
534
555
  struct grpc_linked_mdelem *grpc_trace_bin;
535
556
  struct grpc_linked_mdelem *content_type;
557
+ struct grpc_linked_mdelem *content_encoding;
558
+ struct grpc_linked_mdelem *accept_encoding;
536
559
  struct grpc_linked_mdelem *grpc_internal_encoding_request;
560
+ struct grpc_linked_mdelem *grpc_internal_stream_encoding_request;
537
561
  struct grpc_linked_mdelem *user_agent;
538
562
  struct grpc_linked_mdelem *host;
539
563
  struct grpc_linked_mdelem *lb_token;
@@ -547,9 +571,17 @@ typedef union {
547
571
  GRPC_BATCH_CALLOUTS_COUNT) \
548
572
  : GRPC_BATCH_CALLOUTS_COUNT)
549
573
 
574
+ extern bool grpc_static_callout_is_default[GRPC_BATCH_CALLOUTS_COUNT];
575
+
550
576
  extern const uint8_t grpc_static_accept_encoding_metadata[8];
551
577
  #define GRPC_MDELEM_ACCEPT_ENCODING_FOR_ALGORITHMS(algs) \
552
578
  (GRPC_MAKE_MDELEM( \
553
579
  &grpc_static_mdelem_table[grpc_static_accept_encoding_metadata[(algs)]], \
554
580
  GRPC_MDELEM_STORAGE_STATIC))
581
+
582
+ extern const uint8_t grpc_static_accept_stream_encoding_metadata[4];
583
+ #define GRPC_MDELEM_ACCEPT_STREAM_ENCODING_FOR_ALGORITHMS(algs) \
584
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table \
585
+ [grpc_static_accept_stream_encoding_metadata[(algs)]], \
586
+ GRPC_MDELEM_STORAGE_STATIC))
555
587
  #endif /* GRPC_CORE_LIB_TRANSPORT_STATIC_METADATA_H */