wearefair-grpc 1.3.1.pre.c → 1.4.0.fair

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +418 -126
  3. data/include/grpc/grpc.h +15 -69
  4. data/include/grpc/grpc_security.h +1 -1
  5. data/include/grpc/impl/codegen/compression_types.h +3 -4
  6. data/include/grpc/impl/codegen/gpr_types.h +0 -1
  7. data/include/grpc/impl/codegen/grpc_types.h +69 -3
  8. data/include/grpc/impl/codegen/port_platform.h +6 -0
  9. data/include/grpc/impl/codegen/slice.h +2 -1
  10. data/include/grpc/load_reporting.h +6 -6
  11. data/include/grpc/slice.h +25 -3
  12. data/include/grpc/slice_buffer.h +4 -0
  13. data/src/core/ext/census/context.c +1 -1
  14. data/src/core/ext/census/resource.c +3 -1
  15. data/src/core/ext/filters/client_channel/channel_connectivity.c +1 -1
  16. data/src/core/ext/filters/client_channel/client_channel.c +158 -100
  17. data/src/core/ext/filters/client_channel/client_channel_plugin.c +3 -2
  18. data/src/core/ext/filters/client_channel/lb_policy.c +2 -1
  19. data/src/core/ext/filters/client_channel/lb_policy.h +5 -6
  20. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c +153 -0
  21. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h +42 -0
  22. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c +344 -88
  23. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c +133 -0
  24. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +65 -0
  25. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c +47 -5
  26. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +6 -0
  27. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +19 -8
  28. data/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +63 -34
  29. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c +2 -1
  30. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c +13 -12
  31. data/src/core/ext/filters/client_channel/lb_policy_factory.c +28 -5
  32. data/src/core/ext/filters/client_channel/lb_policy_factory.h +18 -4
  33. data/src/core/ext/filters/client_channel/parse_address.c +37 -7
  34. data/src/core/ext/filters/client_channel/parse_address.h +11 -8
  35. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c +3 -3
  36. data/src/core/ext/filters/client_channel/subchannel.c +19 -16
  37. data/src/core/ext/filters/client_channel/subchannel.h +1 -0
  38. data/src/core/ext/filters/client_channel/uri_parser.c +36 -22
  39. data/src/core/ext/filters/client_channel/uri_parser.h +1 -1
  40. data/src/core/{lib/channel → ext/filters/deadline}/deadline_filter.c +42 -17
  41. data/src/core/{lib/channel → ext/filters/deadline}/deadline_filter.h +8 -9
  42. data/src/core/{lib/channel → ext/filters/http/client}/http_client_filter.c +19 -11
  43. data/src/core/{lib/channel → ext/filters/http/client}/http_client_filter.h +3 -6
  44. data/src/core/ext/filters/http/http_filters_plugin.c +104 -0
  45. data/src/core/{lib/channel/compress_filter.c → ext/filters/http/message_compress/message_compress_filter.c} +124 -23
  46. data/src/core/{lib/channel/compress_filter.h → ext/filters/http/message_compress/message_compress_filter.h} +5 -6
  47. data/src/core/{lib/channel → ext/filters/http/server}/http_server_filter.c +4 -6
  48. data/src/core/{lib/channel → ext/filters/http/server}/http_server_filter.h +3 -3
  49. data/src/core/ext/filters/load_reporting/load_reporting.c +2 -25
  50. data/src/core/ext/filters/load_reporting/load_reporting_filter.c +26 -1
  51. data/src/core/ext/filters/max_age/max_age_filter.c +14 -14
  52. data/src/core/{lib/channel → ext/filters/message_size}/message_size_filter.c +91 -47
  53. data/src/core/{lib/channel → ext/filters/message_size}/message_size_filter.h +3 -3
  54. data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +1 -1
  55. data/src/core/ext/transport/chttp2/server/chttp2_server.c +2 -2
  56. data/src/core/ext/transport/chttp2/transport/bin_decoder.c +2 -2
  57. data/src/core/ext/transport/chttp2/transport/bin_encoder.c +3 -3
  58. data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +296 -172
  59. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +3 -2
  60. data/src/core/ext/transport/chttp2/transport/frame_data.c +203 -164
  61. data/src/core/ext/transport/chttp2/transport/frame_data.h +8 -14
  62. data/src/core/ext/transport/chttp2/transport/frame_goaway.c +1 -1
  63. data/src/core/ext/transport/chttp2/transport/frame_ping.c +1 -1
  64. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +1 -1
  65. data/src/core/ext/transport/chttp2/transport/frame_settings.c +5 -5
  66. data/src/core/ext/transport/chttp2/transport/frame_window_update.c +1 -1
  67. data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +4 -4
  68. data/src/core/ext/transport/chttp2/transport/hpack_parser.c +2 -4
  69. data/src/core/ext/transport/chttp2/transport/hpack_table.c +4 -3
  70. data/src/core/ext/transport/chttp2/transport/internal.h +50 -33
  71. data/src/core/ext/transport/chttp2/transport/parsing.c +10 -11
  72. data/src/core/ext/transport/chttp2/transport/writing.c +32 -13
  73. data/src/core/lib/channel/channel_args.c +28 -9
  74. data/src/core/lib/channel/channel_args.h +5 -1
  75. data/src/core/lib/channel/channel_stack.c +1 -1
  76. data/src/core/lib/channel/channel_stack.h +2 -2
  77. data/src/core/lib/channel/channel_stack_builder.c +13 -1
  78. data/src/core/lib/channel/channel_stack_builder.h +5 -1
  79. data/src/core/lib/channel/connected_channel.c +3 -1
  80. data/src/core/lib/channel/context.h +2 -2
  81. data/src/core/lib/compression/message_compress.c +2 -2
  82. data/src/core/lib/debug/trace.c +13 -6
  83. data/src/core/lib/debug/trace.h +27 -1
  84. data/src/core/lib/http/httpcli.c +1 -1
  85. data/src/core/lib/http/httpcli_security_connector.c +6 -10
  86. data/src/core/lib/http/parser.c +2 -2
  87. data/src/core/lib/http/parser.h +2 -1
  88. data/src/core/lib/iomgr/combiner.c +6 -6
  89. data/src/core/lib/iomgr/combiner.h +2 -1
  90. data/src/core/lib/iomgr/error.c +12 -5
  91. data/src/core/lib/iomgr/error.h +13 -13
  92. data/src/core/lib/iomgr/ev_epoll1_linux.c +984 -0
  93. data/src/core/lib/iomgr/ev_epoll1_linux.h +44 -0
  94. data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c +2146 -0
  95. data/src/core/lib/iomgr/ev_epoll_limited_pollers_linux.h +43 -0
  96. data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.c +1337 -0
  97. data/src/core/lib/iomgr/ev_epoll_thread_pool_linux.h +43 -0
  98. data/src/core/lib/iomgr/ev_epollex_linux.c +1511 -0
  99. data/src/core/lib/iomgr/ev_epollex_linux.h +43 -0
  100. data/src/core/lib/iomgr/{ev_epoll_linux.c → ev_epollsig_linux.c} +24 -31
  101. data/src/core/lib/iomgr/{ev_epoll_linux.h → ev_epollsig_linux.h} +4 -4
  102. data/src/core/lib/iomgr/ev_poll_posix.c +12 -27
  103. data/src/core/lib/iomgr/ev_poll_posix.h +2 -2
  104. data/src/core/lib/iomgr/ev_posix.c +22 -8
  105. data/src/core/lib/iomgr/ev_posix.h +4 -3
  106. data/src/core/lib/iomgr/exec_ctx.c +5 -0
  107. data/src/core/lib/iomgr/exec_ctx.h +2 -0
  108. data/src/core/lib/iomgr/iomgr.c +4 -0
  109. data/src/core/lib/iomgr/iomgr.h +3 -0
  110. data/src/core/lib/iomgr/is_epollexclusive_available.c +116 -0
  111. data/src/core/lib/iomgr/is_epollexclusive_available.h +41 -0
  112. data/src/core/lib/iomgr/lockfree_event.c +16 -0
  113. data/src/core/lib/iomgr/pollset.h +2 -5
  114. data/src/core/lib/iomgr/pollset_uv.c +1 -1
  115. data/src/core/lib/iomgr/pollset_windows.c +3 -3
  116. data/src/core/lib/iomgr/resource_quota.c +9 -8
  117. data/src/core/lib/iomgr/resource_quota.h +2 -1
  118. data/src/core/lib/iomgr/sockaddr_utils.h +1 -1
  119. data/src/core/lib/iomgr/socket_mutator.h +2 -0
  120. data/src/core/lib/iomgr/sys_epoll_wrapper.h +43 -0
  121. data/src/core/lib/iomgr/tcp_client_posix.c +6 -6
  122. data/src/core/lib/iomgr/tcp_client_uv.c +3 -3
  123. data/src/core/lib/iomgr/tcp_posix.c +7 -7
  124. data/src/core/lib/iomgr/tcp_posix.h +2 -1
  125. data/src/core/lib/iomgr/tcp_server_posix.c +1 -1
  126. data/src/core/lib/iomgr/tcp_uv.c +6 -6
  127. data/src/core/lib/iomgr/tcp_uv.h +2 -1
  128. data/src/core/lib/iomgr/tcp_windows.c +1 -1
  129. data/src/core/lib/iomgr/timer_generic.c +24 -25
  130. data/src/core/lib/iomgr/timer_manager.c +276 -0
  131. data/src/core/lib/iomgr/timer_manager.h +52 -0
  132. data/src/core/lib/iomgr/timer_uv.c +6 -0
  133. data/src/core/lib/iomgr/udp_server.c +42 -9
  134. data/src/core/lib/iomgr/udp_server.h +3 -1
  135. data/src/core/lib/security/credentials/credentials.c +0 -1
  136. data/src/core/lib/security/credentials/fake/fake_credentials.c +23 -0
  137. data/src/core/lib/security/credentials/fake/fake_credentials.h +12 -9
  138. data/src/core/lib/security/credentials/google_default/google_default_credentials.c +1 -1
  139. data/src/core/lib/security/credentials/jwt/jwt_credentials.c +1 -1
  140. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +1 -1
  141. data/src/core/lib/security/credentials/ssl/ssl_credentials.c +24 -53
  142. data/src/core/lib/security/transport/client_auth_filter.c +9 -3
  143. data/src/core/lib/security/transport/secure_endpoint.c +7 -7
  144. data/src/core/lib/security/transport/secure_endpoint.h +1 -1
  145. data/src/core/lib/security/transport/security_connector.c +32 -51
  146. data/src/core/lib/security/transport/security_connector.h +10 -14
  147. data/src/core/lib/slice/b64.c +1 -1
  148. data/src/core/lib/slice/percent_encoding.c +3 -3
  149. data/src/core/lib/slice/slice.c +66 -33
  150. data/src/core/lib/slice/slice_buffer.c +25 -6
  151. data/src/core/lib/slice/slice_hash_table.c +33 -35
  152. data/src/core/lib/slice/slice_hash_table.h +7 -12
  153. data/src/core/lib/support/atomic.h +45 -0
  154. data/src/core/lib/support/atomic_with_atm.h +70 -0
  155. data/src/core/lib/support/atomic_with_std.h +48 -0
  156. data/src/core/lib/support/avl.c +14 -14
  157. data/src/core/lib/support/memory.h +74 -0
  158. data/src/core/lib/support/mpscq.c +12 -1
  159. data/src/core/lib/support/mpscq.h +4 -0
  160. data/src/core/lib/support/stack_lockfree.c +3 -36
  161. data/src/core/lib/support/time_posix.c +8 -0
  162. data/src/core/lib/support/tmpfile_posix.c +10 -10
  163. data/src/core/lib/surface/alarm.c +3 -1
  164. data/src/core/lib/surface/api_trace.c +2 -1
  165. data/src/core/lib/surface/api_trace.h +2 -2
  166. data/src/core/lib/surface/byte_buffer_reader.c +1 -1
  167. data/src/core/lib/surface/call.c +65 -22
  168. data/src/core/lib/surface/call.h +4 -2
  169. data/src/core/lib/surface/channel_init.c +2 -19
  170. data/src/core/lib/surface/channel_stack_type.c +18 -0
  171. data/src/core/lib/surface/channel_stack_type.h +2 -0
  172. data/src/core/lib/surface/completion_queue.c +249 -83
  173. data/src/core/lib/surface/completion_queue.h +18 -13
  174. data/src/core/lib/surface/completion_queue_factory.c +24 -9
  175. data/src/core/lib/surface/init.c +1 -52
  176. data/src/core/lib/surface/{lame_client.c → lame_client.cc} +37 -26
  177. data/src/core/lib/surface/server.c +50 -27
  178. data/src/core/lib/surface/server.h +2 -1
  179. data/src/core/lib/surface/version.c +2 -2
  180. data/src/core/lib/transport/bdp_estimator.c +20 -9
  181. data/src/core/lib/transport/bdp_estimator.h +5 -1
  182. data/src/core/lib/transport/byte_stream.c +23 -9
  183. data/src/core/lib/transport/byte_stream.h +15 -6
  184. data/src/core/lib/transport/connectivity_state.c +6 -6
  185. data/src/core/lib/transport/connectivity_state.h +2 -1
  186. data/src/core/lib/transport/service_config.c +6 -13
  187. data/src/core/lib/transport/service_config.h +2 -2
  188. data/src/core/lib/transport/static_metadata.c +403 -389
  189. data/src/core/lib/transport/static_metadata.h +127 -114
  190. data/src/core/plugin_registry/grpc_plugin_registry.c +12 -0
  191. data/src/core/tsi/fake_transport_security.c +5 -4
  192. data/src/core/tsi/ssl_transport_security.c +71 -82
  193. data/src/core/tsi/ssl_transport_security.h +39 -61
  194. data/src/core/tsi/transport_security.c +83 -2
  195. data/src/core/tsi/transport_security.h +27 -2
  196. data/src/core/tsi/transport_security_adapter.c +236 -0
  197. data/src/core/tsi/transport_security_adapter.h +62 -0
  198. data/src/core/tsi/transport_security_interface.h +179 -66
  199. data/src/ruby/ext/grpc/extconf.rb +2 -1
  200. data/src/ruby/ext/grpc/rb_byte_buffer.c +8 -6
  201. data/src/ruby/ext/grpc/rb_call.c +56 -48
  202. data/src/ruby/ext/grpc/rb_call.h +3 -4
  203. data/src/ruby/ext/grpc/rb_call_credentials.c +23 -22
  204. data/src/ruby/ext/grpc/rb_channel.c +45 -29
  205. data/src/ruby/ext/grpc/rb_channel_args.c +11 -9
  206. data/src/ruby/ext/grpc/rb_channel_credentials.c +16 -12
  207. data/src/ruby/ext/grpc/rb_completion_queue.c +7 -9
  208. data/src/ruby/ext/grpc/rb_compression_options.c +7 -6
  209. data/src/ruby/ext/grpc/rb_event_thread.c +10 -12
  210. data/src/ruby/ext/grpc/rb_event_thread.h +1 -2
  211. data/src/ruby/ext/grpc/rb_grpc.c +11 -15
  212. data/src/ruby/ext/grpc/rb_grpc.h +2 -2
  213. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +14 -6
  214. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +22 -10
  215. data/src/ruby/ext/grpc/rb_server.c +26 -28
  216. data/src/ruby/lib/grpc/version.rb +1 -1
  217. metadata +40 -18
  218. data/src/ruby/lib/grpc/grpc_c.bundle +0 -0
  219. data/src/ruby/lib/grpc/grpc_c.so +0 -0
@@ -44,7 +44,7 @@
44
44
 
45
45
  #include "src/core/lib/transport/metadata.h"
46
46
 
47
- #define GRPC_STATIC_MDSTR_COUNT 97
47
+ #define GRPC_STATIC_MDSTR_COUNT 99
48
48
  extern const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT];
49
49
  /* ":path" */
50
50
  #define GRPC_MDSTR_PATH (grpc_static_slice_table[0])
@@ -68,182 +68,186 @@ extern const grpc_slice grpc_static_slice_table[GRPC_STATIC_MDSTR_COUNT];
68
68
  #define GRPC_MDSTR_GRPC_ENCODING (grpc_static_slice_table[9])
69
69
  /* "grpc-accept-encoding" */
70
70
  #define GRPC_MDSTR_GRPC_ACCEPT_ENCODING (grpc_static_slice_table[10])
71
+ /* "grpc-server-stats-bin" */
72
+ #define GRPC_MDSTR_GRPC_SERVER_STATS_BIN (grpc_static_slice_table[11])
73
+ /* "grpc-tags-bin" */
74
+ #define GRPC_MDSTR_GRPC_TAGS_BIN (grpc_static_slice_table[12])
75
+ /* "grpc-trace-bin" */
76
+ #define GRPC_MDSTR_GRPC_TRACE_BIN (grpc_static_slice_table[13])
71
77
  /* "content-type" */
72
- #define GRPC_MDSTR_CONTENT_TYPE (grpc_static_slice_table[11])
78
+ #define GRPC_MDSTR_CONTENT_TYPE (grpc_static_slice_table[14])
73
79
  /* "grpc-internal-encoding-request" */
74
- #define GRPC_MDSTR_GRPC_INTERNAL_ENCODING_REQUEST (grpc_static_slice_table[12])
80
+ #define GRPC_MDSTR_GRPC_INTERNAL_ENCODING_REQUEST (grpc_static_slice_table[15])
75
81
  /* "user-agent" */
76
- #define GRPC_MDSTR_USER_AGENT (grpc_static_slice_table[13])
82
+ #define GRPC_MDSTR_USER_AGENT (grpc_static_slice_table[16])
77
83
  /* "host" */
78
- #define GRPC_MDSTR_HOST (grpc_static_slice_table[14])
84
+ #define GRPC_MDSTR_HOST (grpc_static_slice_table[17])
79
85
  /* "lb-token" */
80
- #define GRPC_MDSTR_LB_TOKEN (grpc_static_slice_table[15])
86
+ #define GRPC_MDSTR_LB_TOKEN (grpc_static_slice_table[18])
81
87
  /* "grpc-timeout" */
82
- #define GRPC_MDSTR_GRPC_TIMEOUT (grpc_static_slice_table[16])
83
- /* "grpc-tracing-bin" */
84
- #define GRPC_MDSTR_GRPC_TRACING_BIN (grpc_static_slice_table[17])
85
- /* "grpc-stats-bin" */
86
- #define GRPC_MDSTR_GRPC_STATS_BIN (grpc_static_slice_table[18])
88
+ #define GRPC_MDSTR_GRPC_TIMEOUT (grpc_static_slice_table[19])
87
89
  /* "" */
88
- #define GRPC_MDSTR_EMPTY (grpc_static_slice_table[19])
90
+ #define GRPC_MDSTR_EMPTY (grpc_static_slice_table[20])
89
91
  /* "grpc.wait_for_ready" */
90
- #define GRPC_MDSTR_GRPC_DOT_WAIT_FOR_READY (grpc_static_slice_table[20])
92
+ #define GRPC_MDSTR_GRPC_DOT_WAIT_FOR_READY (grpc_static_slice_table[21])
91
93
  /* "grpc.timeout" */
92
- #define GRPC_MDSTR_GRPC_DOT_TIMEOUT (grpc_static_slice_table[21])
94
+ #define GRPC_MDSTR_GRPC_DOT_TIMEOUT (grpc_static_slice_table[22])
93
95
  /* "grpc.max_request_message_bytes" */
94
96
  #define GRPC_MDSTR_GRPC_DOT_MAX_REQUEST_MESSAGE_BYTES \
95
- (grpc_static_slice_table[22])
97
+ (grpc_static_slice_table[23])
96
98
  /* "grpc.max_response_message_bytes" */
97
99
  #define GRPC_MDSTR_GRPC_DOT_MAX_RESPONSE_MESSAGE_BYTES \
98
- (grpc_static_slice_table[23])
100
+ (grpc_static_slice_table[24])
99
101
  /* "/grpc.lb.v1.LoadBalancer/BalanceLoad" */
100
102
  #define GRPC_MDSTR_SLASH_GRPC_DOT_LB_DOT_V1_DOT_LOADBALANCER_SLASH_BALANCELOAD \
101
- (grpc_static_slice_table[24])
103
+ (grpc_static_slice_table[25])
102
104
  /* "0" */
103
- #define GRPC_MDSTR_0 (grpc_static_slice_table[25])
105
+ #define GRPC_MDSTR_0 (grpc_static_slice_table[26])
104
106
  /* "1" */
105
- #define GRPC_MDSTR_1 (grpc_static_slice_table[26])
107
+ #define GRPC_MDSTR_1 (grpc_static_slice_table[27])
106
108
  /* "2" */
107
- #define GRPC_MDSTR_2 (grpc_static_slice_table[27])
109
+ #define GRPC_MDSTR_2 (grpc_static_slice_table[28])
108
110
  /* "identity" */
109
- #define GRPC_MDSTR_IDENTITY (grpc_static_slice_table[28])
111
+ #define GRPC_MDSTR_IDENTITY (grpc_static_slice_table[29])
110
112
  /* "gzip" */
111
- #define GRPC_MDSTR_GZIP (grpc_static_slice_table[29])
113
+ #define GRPC_MDSTR_GZIP (grpc_static_slice_table[30])
112
114
  /* "deflate" */
113
- #define GRPC_MDSTR_DEFLATE (grpc_static_slice_table[30])
115
+ #define GRPC_MDSTR_DEFLATE (grpc_static_slice_table[31])
114
116
  /* "trailers" */
115
- #define GRPC_MDSTR_TRAILERS (grpc_static_slice_table[31])
117
+ #define GRPC_MDSTR_TRAILERS (grpc_static_slice_table[32])
116
118
  /* "application/grpc" */
117
- #define GRPC_MDSTR_APPLICATION_SLASH_GRPC (grpc_static_slice_table[32])
119
+ #define GRPC_MDSTR_APPLICATION_SLASH_GRPC (grpc_static_slice_table[33])
118
120
  /* "POST" */
119
- #define GRPC_MDSTR_POST (grpc_static_slice_table[33])
121
+ #define GRPC_MDSTR_POST (grpc_static_slice_table[34])
120
122
  /* "200" */
121
- #define GRPC_MDSTR_200 (grpc_static_slice_table[34])
123
+ #define GRPC_MDSTR_200 (grpc_static_slice_table[35])
122
124
  /* "404" */
123
- #define GRPC_MDSTR_404 (grpc_static_slice_table[35])
125
+ #define GRPC_MDSTR_404 (grpc_static_slice_table[36])
124
126
  /* "http" */
125
- #define GRPC_MDSTR_HTTP (grpc_static_slice_table[36])
127
+ #define GRPC_MDSTR_HTTP (grpc_static_slice_table[37])
126
128
  /* "https" */
127
- #define GRPC_MDSTR_HTTPS (grpc_static_slice_table[37])
129
+ #define GRPC_MDSTR_HTTPS (grpc_static_slice_table[38])
128
130
  /* "grpc" */
129
- #define GRPC_MDSTR_GRPC (grpc_static_slice_table[38])
131
+ #define GRPC_MDSTR_GRPC (grpc_static_slice_table[39])
130
132
  /* "GET" */
131
- #define GRPC_MDSTR_GET (grpc_static_slice_table[39])
133
+ #define GRPC_MDSTR_GET (grpc_static_slice_table[40])
132
134
  /* "PUT" */
133
- #define GRPC_MDSTR_PUT (grpc_static_slice_table[40])
135
+ #define GRPC_MDSTR_PUT (grpc_static_slice_table[41])
134
136
  /* "/" */
135
- #define GRPC_MDSTR_SLASH (grpc_static_slice_table[41])
137
+ #define GRPC_MDSTR_SLASH (grpc_static_slice_table[42])
136
138
  /* "/index.html" */
137
- #define GRPC_MDSTR_SLASH_INDEX_DOT_HTML (grpc_static_slice_table[42])
139
+ #define GRPC_MDSTR_SLASH_INDEX_DOT_HTML (grpc_static_slice_table[43])
138
140
  /* "204" */
139
- #define GRPC_MDSTR_204 (grpc_static_slice_table[43])
141
+ #define GRPC_MDSTR_204 (grpc_static_slice_table[44])
140
142
  /* "206" */
141
- #define GRPC_MDSTR_206 (grpc_static_slice_table[44])
143
+ #define GRPC_MDSTR_206 (grpc_static_slice_table[45])
142
144
  /* "304" */
143
- #define GRPC_MDSTR_304 (grpc_static_slice_table[45])
145
+ #define GRPC_MDSTR_304 (grpc_static_slice_table[46])
144
146
  /* "400" */
145
- #define GRPC_MDSTR_400 (grpc_static_slice_table[46])
147
+ #define GRPC_MDSTR_400 (grpc_static_slice_table[47])
146
148
  /* "500" */
147
- #define GRPC_MDSTR_500 (grpc_static_slice_table[47])
149
+ #define GRPC_MDSTR_500 (grpc_static_slice_table[48])
148
150
  /* "accept-charset" */
149
- #define GRPC_MDSTR_ACCEPT_CHARSET (grpc_static_slice_table[48])
151
+ #define GRPC_MDSTR_ACCEPT_CHARSET (grpc_static_slice_table[49])
150
152
  /* "accept-encoding" */
151
- #define GRPC_MDSTR_ACCEPT_ENCODING (grpc_static_slice_table[49])
153
+ #define GRPC_MDSTR_ACCEPT_ENCODING (grpc_static_slice_table[50])
152
154
  /* "gzip, deflate" */
153
- #define GRPC_MDSTR_GZIP_COMMA_DEFLATE (grpc_static_slice_table[50])
155
+ #define GRPC_MDSTR_GZIP_COMMA_DEFLATE (grpc_static_slice_table[51])
154
156
  /* "accept-language" */
155
- #define GRPC_MDSTR_ACCEPT_LANGUAGE (grpc_static_slice_table[51])
157
+ #define GRPC_MDSTR_ACCEPT_LANGUAGE (grpc_static_slice_table[52])
156
158
  /* "accept-ranges" */
157
- #define GRPC_MDSTR_ACCEPT_RANGES (grpc_static_slice_table[52])
159
+ #define GRPC_MDSTR_ACCEPT_RANGES (grpc_static_slice_table[53])
158
160
  /* "accept" */
159
- #define GRPC_MDSTR_ACCEPT (grpc_static_slice_table[53])
161
+ #define GRPC_MDSTR_ACCEPT (grpc_static_slice_table[54])
160
162
  /* "access-control-allow-origin" */
161
- #define GRPC_MDSTR_ACCESS_CONTROL_ALLOW_ORIGIN (grpc_static_slice_table[54])
163
+ #define GRPC_MDSTR_ACCESS_CONTROL_ALLOW_ORIGIN (grpc_static_slice_table[55])
162
164
  /* "age" */
163
- #define GRPC_MDSTR_AGE (grpc_static_slice_table[55])
165
+ #define GRPC_MDSTR_AGE (grpc_static_slice_table[56])
164
166
  /* "allow" */
165
- #define GRPC_MDSTR_ALLOW (grpc_static_slice_table[56])
167
+ #define GRPC_MDSTR_ALLOW (grpc_static_slice_table[57])
166
168
  /* "authorization" */
167
- #define GRPC_MDSTR_AUTHORIZATION (grpc_static_slice_table[57])
169
+ #define GRPC_MDSTR_AUTHORIZATION (grpc_static_slice_table[58])
168
170
  /* "cache-control" */
169
- #define GRPC_MDSTR_CACHE_CONTROL (grpc_static_slice_table[58])
171
+ #define GRPC_MDSTR_CACHE_CONTROL (grpc_static_slice_table[59])
170
172
  /* "content-disposition" */
171
- #define GRPC_MDSTR_CONTENT_DISPOSITION (grpc_static_slice_table[59])
173
+ #define GRPC_MDSTR_CONTENT_DISPOSITION (grpc_static_slice_table[60])
172
174
  /* "content-encoding" */
173
- #define GRPC_MDSTR_CONTENT_ENCODING (grpc_static_slice_table[60])
175
+ #define GRPC_MDSTR_CONTENT_ENCODING (grpc_static_slice_table[61])
174
176
  /* "content-language" */
175
- #define GRPC_MDSTR_CONTENT_LANGUAGE (grpc_static_slice_table[61])
177
+ #define GRPC_MDSTR_CONTENT_LANGUAGE (grpc_static_slice_table[62])
176
178
  /* "content-length" */
177
- #define GRPC_MDSTR_CONTENT_LENGTH (grpc_static_slice_table[62])
179
+ #define GRPC_MDSTR_CONTENT_LENGTH (grpc_static_slice_table[63])
178
180
  /* "content-location" */
179
- #define GRPC_MDSTR_CONTENT_LOCATION (grpc_static_slice_table[63])
181
+ #define GRPC_MDSTR_CONTENT_LOCATION (grpc_static_slice_table[64])
180
182
  /* "content-range" */
181
- #define GRPC_MDSTR_CONTENT_RANGE (grpc_static_slice_table[64])
183
+ #define GRPC_MDSTR_CONTENT_RANGE (grpc_static_slice_table[65])
182
184
  /* "cookie" */
183
- #define GRPC_MDSTR_COOKIE (grpc_static_slice_table[65])
185
+ #define GRPC_MDSTR_COOKIE (grpc_static_slice_table[66])
184
186
  /* "date" */
185
- #define GRPC_MDSTR_DATE (grpc_static_slice_table[66])
187
+ #define GRPC_MDSTR_DATE (grpc_static_slice_table[67])
186
188
  /* "etag" */
187
- #define GRPC_MDSTR_ETAG (grpc_static_slice_table[67])
189
+ #define GRPC_MDSTR_ETAG (grpc_static_slice_table[68])
188
190
  /* "expect" */
189
- #define GRPC_MDSTR_EXPECT (grpc_static_slice_table[68])
191
+ #define GRPC_MDSTR_EXPECT (grpc_static_slice_table[69])
190
192
  /* "expires" */
191
- #define GRPC_MDSTR_EXPIRES (grpc_static_slice_table[69])
193
+ #define GRPC_MDSTR_EXPIRES (grpc_static_slice_table[70])
192
194
  /* "from" */
193
- #define GRPC_MDSTR_FROM (grpc_static_slice_table[70])
195
+ #define GRPC_MDSTR_FROM (grpc_static_slice_table[71])
194
196
  /* "if-match" */
195
- #define GRPC_MDSTR_IF_MATCH (grpc_static_slice_table[71])
197
+ #define GRPC_MDSTR_IF_MATCH (grpc_static_slice_table[72])
196
198
  /* "if-modified-since" */
197
- #define GRPC_MDSTR_IF_MODIFIED_SINCE (grpc_static_slice_table[72])
199
+ #define GRPC_MDSTR_IF_MODIFIED_SINCE (grpc_static_slice_table[73])
198
200
  /* "if-none-match" */
199
- #define GRPC_MDSTR_IF_NONE_MATCH (grpc_static_slice_table[73])
201
+ #define GRPC_MDSTR_IF_NONE_MATCH (grpc_static_slice_table[74])
200
202
  /* "if-range" */
201
- #define GRPC_MDSTR_IF_RANGE (grpc_static_slice_table[74])
203
+ #define GRPC_MDSTR_IF_RANGE (grpc_static_slice_table[75])
202
204
  /* "if-unmodified-since" */
203
- #define GRPC_MDSTR_IF_UNMODIFIED_SINCE (grpc_static_slice_table[75])
205
+ #define GRPC_MDSTR_IF_UNMODIFIED_SINCE (grpc_static_slice_table[76])
204
206
  /* "last-modified" */
205
- #define GRPC_MDSTR_LAST_MODIFIED (grpc_static_slice_table[76])
207
+ #define GRPC_MDSTR_LAST_MODIFIED (grpc_static_slice_table[77])
208
+ /* "lb-cost-bin" */
209
+ #define GRPC_MDSTR_LB_COST_BIN (grpc_static_slice_table[78])
206
210
  /* "link" */
207
- #define GRPC_MDSTR_LINK (grpc_static_slice_table[77])
211
+ #define GRPC_MDSTR_LINK (grpc_static_slice_table[79])
208
212
  /* "location" */
209
- #define GRPC_MDSTR_LOCATION (grpc_static_slice_table[78])
213
+ #define GRPC_MDSTR_LOCATION (grpc_static_slice_table[80])
210
214
  /* "max-forwards" */
211
- #define GRPC_MDSTR_MAX_FORWARDS (grpc_static_slice_table[79])
215
+ #define GRPC_MDSTR_MAX_FORWARDS (grpc_static_slice_table[81])
212
216
  /* "proxy-authenticate" */
213
- #define GRPC_MDSTR_PROXY_AUTHENTICATE (grpc_static_slice_table[80])
217
+ #define GRPC_MDSTR_PROXY_AUTHENTICATE (grpc_static_slice_table[82])
214
218
  /* "proxy-authorization" */
215
- #define GRPC_MDSTR_PROXY_AUTHORIZATION (grpc_static_slice_table[81])
219
+ #define GRPC_MDSTR_PROXY_AUTHORIZATION (grpc_static_slice_table[83])
216
220
  /* "range" */
217
- #define GRPC_MDSTR_RANGE (grpc_static_slice_table[82])
221
+ #define GRPC_MDSTR_RANGE (grpc_static_slice_table[84])
218
222
  /* "referer" */
219
- #define GRPC_MDSTR_REFERER (grpc_static_slice_table[83])
223
+ #define GRPC_MDSTR_REFERER (grpc_static_slice_table[85])
220
224
  /* "refresh" */
221
- #define GRPC_MDSTR_REFRESH (grpc_static_slice_table[84])
225
+ #define GRPC_MDSTR_REFRESH (grpc_static_slice_table[86])
222
226
  /* "retry-after" */
223
- #define GRPC_MDSTR_RETRY_AFTER (grpc_static_slice_table[85])
227
+ #define GRPC_MDSTR_RETRY_AFTER (grpc_static_slice_table[87])
224
228
  /* "server" */
225
- #define GRPC_MDSTR_SERVER (grpc_static_slice_table[86])
229
+ #define GRPC_MDSTR_SERVER (grpc_static_slice_table[88])
226
230
  /* "set-cookie" */
227
- #define GRPC_MDSTR_SET_COOKIE (grpc_static_slice_table[87])
231
+ #define GRPC_MDSTR_SET_COOKIE (grpc_static_slice_table[89])
228
232
  /* "strict-transport-security" */
229
- #define GRPC_MDSTR_STRICT_TRANSPORT_SECURITY (grpc_static_slice_table[88])
233
+ #define GRPC_MDSTR_STRICT_TRANSPORT_SECURITY (grpc_static_slice_table[90])
230
234
  /* "transfer-encoding" */
231
- #define GRPC_MDSTR_TRANSFER_ENCODING (grpc_static_slice_table[89])
235
+ #define GRPC_MDSTR_TRANSFER_ENCODING (grpc_static_slice_table[91])
232
236
  /* "vary" */
233
- #define GRPC_MDSTR_VARY (grpc_static_slice_table[90])
237
+ #define GRPC_MDSTR_VARY (grpc_static_slice_table[92])
234
238
  /* "via" */
235
- #define GRPC_MDSTR_VIA (grpc_static_slice_table[91])
239
+ #define GRPC_MDSTR_VIA (grpc_static_slice_table[93])
236
240
  /* "www-authenticate" */
237
- #define GRPC_MDSTR_WWW_AUTHENTICATE (grpc_static_slice_table[92])
241
+ #define GRPC_MDSTR_WWW_AUTHENTICATE (grpc_static_slice_table[94])
238
242
  /* "identity,deflate" */
239
- #define GRPC_MDSTR_IDENTITY_COMMA_DEFLATE (grpc_static_slice_table[93])
243
+ #define GRPC_MDSTR_IDENTITY_COMMA_DEFLATE (grpc_static_slice_table[95])
240
244
  /* "identity,gzip" */
241
- #define GRPC_MDSTR_IDENTITY_COMMA_GZIP (grpc_static_slice_table[94])
245
+ #define GRPC_MDSTR_IDENTITY_COMMA_GZIP (grpc_static_slice_table[96])
242
246
  /* "deflate,gzip" */
243
- #define GRPC_MDSTR_DEFLATE_COMMA_GZIP (grpc_static_slice_table[95])
247
+ #define GRPC_MDSTR_DEFLATE_COMMA_GZIP (grpc_static_slice_table[97])
244
248
  /* "identity,deflate,gzip" */
245
249
  #define GRPC_MDSTR_IDENTITY_COMMA_DEFLATE_COMMA_GZIP \
246
- (grpc_static_slice_table[96])
250
+ (grpc_static_slice_table[98])
247
251
 
248
252
  extern const grpc_slice_refcount_vtable grpc_static_metadata_vtable;
249
253
  extern grpc_slice_refcount
@@ -255,7 +259,7 @@ extern grpc_slice_refcount
255
259
  #define GRPC_STATIC_METADATA_INDEX(static_slice) \
256
260
  ((int)((static_slice).refcount - grpc_static_metadata_refcounts))
257
261
 
258
- #define GRPC_STATIC_MDELEM_COUNT 80
262
+ #define GRPC_STATIC_MDELEM_COUNT 81
259
263
  extern grpc_mdelem_data grpc_static_mdelem_table[GRPC_STATIC_MDELEM_COUNT];
260
264
  extern uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT];
261
265
  /* "grpc-status": "0" */
@@ -426,78 +430,81 @@ extern uintptr_t grpc_static_mdelem_user_data[GRPC_STATIC_MDELEM_COUNT];
426
430
  /* "lb-token": "" */
427
431
  #define GRPC_MDELEM_LB_TOKEN_EMPTY \
428
432
  (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[55], GRPC_MDELEM_STORAGE_STATIC))
433
+ /* "lb-cost-bin": "" */
434
+ #define GRPC_MDELEM_LB_COST_BIN_EMPTY \
435
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[56], GRPC_MDELEM_STORAGE_STATIC))
429
436
  /* "link": "" */
430
437
  #define GRPC_MDELEM_LINK_EMPTY \
431
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[56], GRPC_MDELEM_STORAGE_STATIC))
438
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[57], GRPC_MDELEM_STORAGE_STATIC))
432
439
  /* "location": "" */
433
440
  #define GRPC_MDELEM_LOCATION_EMPTY \
434
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[57], GRPC_MDELEM_STORAGE_STATIC))
441
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[58], GRPC_MDELEM_STORAGE_STATIC))
435
442
  /* "max-forwards": "" */
436
443
  #define GRPC_MDELEM_MAX_FORWARDS_EMPTY \
437
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[58], GRPC_MDELEM_STORAGE_STATIC))
444
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[59], GRPC_MDELEM_STORAGE_STATIC))
438
445
  /* "proxy-authenticate": "" */
439
446
  #define GRPC_MDELEM_PROXY_AUTHENTICATE_EMPTY \
440
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[59], GRPC_MDELEM_STORAGE_STATIC))
447
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[60], GRPC_MDELEM_STORAGE_STATIC))
441
448
  /* "proxy-authorization": "" */
442
449
  #define GRPC_MDELEM_PROXY_AUTHORIZATION_EMPTY \
443
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[60], GRPC_MDELEM_STORAGE_STATIC))
450
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[61], GRPC_MDELEM_STORAGE_STATIC))
444
451
  /* "range": "" */
445
452
  #define GRPC_MDELEM_RANGE_EMPTY \
446
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[61], GRPC_MDELEM_STORAGE_STATIC))
453
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[62], GRPC_MDELEM_STORAGE_STATIC))
447
454
  /* "referer": "" */
448
455
  #define GRPC_MDELEM_REFERER_EMPTY \
449
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[62], GRPC_MDELEM_STORAGE_STATIC))
456
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[63], GRPC_MDELEM_STORAGE_STATIC))
450
457
  /* "refresh": "" */
451
458
  #define GRPC_MDELEM_REFRESH_EMPTY \
452
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[63], GRPC_MDELEM_STORAGE_STATIC))
459
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[64], GRPC_MDELEM_STORAGE_STATIC))
453
460
  /* "retry-after": "" */
454
461
  #define GRPC_MDELEM_RETRY_AFTER_EMPTY \
455
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[64], GRPC_MDELEM_STORAGE_STATIC))
462
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[65], GRPC_MDELEM_STORAGE_STATIC))
456
463
  /* "server": "" */
457
464
  #define GRPC_MDELEM_SERVER_EMPTY \
458
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[65], GRPC_MDELEM_STORAGE_STATIC))
465
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[66], GRPC_MDELEM_STORAGE_STATIC))
459
466
  /* "set-cookie": "" */
460
467
  #define GRPC_MDELEM_SET_COOKIE_EMPTY \
461
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[66], GRPC_MDELEM_STORAGE_STATIC))
468
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[67], GRPC_MDELEM_STORAGE_STATIC))
462
469
  /* "strict-transport-security": "" */
463
470
  #define GRPC_MDELEM_STRICT_TRANSPORT_SECURITY_EMPTY \
464
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[67], GRPC_MDELEM_STORAGE_STATIC))
471
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[68], GRPC_MDELEM_STORAGE_STATIC))
465
472
  /* "transfer-encoding": "" */
466
473
  #define GRPC_MDELEM_TRANSFER_ENCODING_EMPTY \
467
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[68], GRPC_MDELEM_STORAGE_STATIC))
474
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[69], GRPC_MDELEM_STORAGE_STATIC))
468
475
  /* "user-agent": "" */
469
476
  #define GRPC_MDELEM_USER_AGENT_EMPTY \
470
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[69], GRPC_MDELEM_STORAGE_STATIC))
477
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[70], GRPC_MDELEM_STORAGE_STATIC))
471
478
  /* "vary": "" */
472
479
  #define GRPC_MDELEM_VARY_EMPTY \
473
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[70], GRPC_MDELEM_STORAGE_STATIC))
480
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[71], GRPC_MDELEM_STORAGE_STATIC))
474
481
  /* "via": "" */
475
482
  #define GRPC_MDELEM_VIA_EMPTY \
476
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[71], GRPC_MDELEM_STORAGE_STATIC))
483
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[72], GRPC_MDELEM_STORAGE_STATIC))
477
484
  /* "www-authenticate": "" */
478
485
  #define GRPC_MDELEM_WWW_AUTHENTICATE_EMPTY \
479
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[72], GRPC_MDELEM_STORAGE_STATIC))
486
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[73], GRPC_MDELEM_STORAGE_STATIC))
480
487
  /* "grpc-accept-encoding": "identity" */
481
488
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY \
482
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[73], GRPC_MDELEM_STORAGE_STATIC))
489
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[74], GRPC_MDELEM_STORAGE_STATIC))
483
490
  /* "grpc-accept-encoding": "deflate" */
484
491
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_DEFLATE \
485
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[74], GRPC_MDELEM_STORAGE_STATIC))
492
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[75], GRPC_MDELEM_STORAGE_STATIC))
486
493
  /* "grpc-accept-encoding": "identity,deflate" */
487
494
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_DEFLATE \
488
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[75], GRPC_MDELEM_STORAGE_STATIC))
495
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[76], GRPC_MDELEM_STORAGE_STATIC))
489
496
  /* "grpc-accept-encoding": "gzip" */
490
497
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_GZIP \
491
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[76], GRPC_MDELEM_STORAGE_STATIC))
498
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[77], GRPC_MDELEM_STORAGE_STATIC))
492
499
  /* "grpc-accept-encoding": "identity,gzip" */
493
500
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_GZIP \
494
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[77], GRPC_MDELEM_STORAGE_STATIC))
501
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[78], GRPC_MDELEM_STORAGE_STATIC))
495
502
  /* "grpc-accept-encoding": "deflate,gzip" */
496
503
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_DEFLATE_COMMA_GZIP \
497
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[78], GRPC_MDELEM_STORAGE_STATIC))
504
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[79], GRPC_MDELEM_STORAGE_STATIC))
498
505
  /* "grpc-accept-encoding": "identity,deflate,gzip" */
499
506
  #define GRPC_MDELEM_GRPC_ACCEPT_ENCODING_IDENTITY_COMMA_DEFLATE_COMMA_GZIP \
500
- (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[79], GRPC_MDELEM_STORAGE_STATIC))
507
+ (GRPC_MAKE_MDELEM(&grpc_static_mdelem_table[80], GRPC_MDELEM_STORAGE_STATIC))
501
508
 
502
509
  grpc_mdelem grpc_static_mdelem_for_static_strings(int a, int b);
503
510
  typedef enum {
@@ -512,6 +519,9 @@ typedef enum {
512
519
  GRPC_BATCH_GRPC_PAYLOAD_BIN,
513
520
  GRPC_BATCH_GRPC_ENCODING,
514
521
  GRPC_BATCH_GRPC_ACCEPT_ENCODING,
522
+ GRPC_BATCH_GRPC_SERVER_STATS_BIN,
523
+ GRPC_BATCH_GRPC_TAGS_BIN,
524
+ GRPC_BATCH_GRPC_TRACE_BIN,
515
525
  GRPC_BATCH_CONTENT_TYPE,
516
526
  GRPC_BATCH_GRPC_INTERNAL_ENCODING_REQUEST,
517
527
  GRPC_BATCH_USER_AGENT,
@@ -534,6 +544,9 @@ typedef union {
534
544
  struct grpc_linked_mdelem *grpc_payload_bin;
535
545
  struct grpc_linked_mdelem *grpc_encoding;
536
546
  struct grpc_linked_mdelem *grpc_accept_encoding;
547
+ struct grpc_linked_mdelem *grpc_server_stats_bin;
548
+ struct grpc_linked_mdelem *grpc_tags_bin;
549
+ struct grpc_linked_mdelem *grpc_trace_bin;
537
550
  struct grpc_linked_mdelem *content_type;
538
551
  struct grpc_linked_mdelem *grpc_internal_encoding_request;
539
552
  struct grpc_linked_mdelem *user_agent;
@@ -33,8 +33,12 @@
33
33
 
34
34
  #include <grpc/grpc.h>
35
35
 
36
+ extern void grpc_http_filters_init(void);
37
+ extern void grpc_http_filters_shutdown(void);
36
38
  extern void grpc_chttp2_plugin_init(void);
37
39
  extern void grpc_chttp2_plugin_shutdown(void);
40
+ extern void grpc_deadline_filter_init(void);
41
+ extern void grpc_deadline_filter_shutdown(void);
38
42
  extern void grpc_client_channel_init(void);
39
43
  extern void grpc_client_channel_shutdown(void);
40
44
  extern void grpc_lb_policy_grpclb_init(void);
@@ -55,10 +59,16 @@ extern void census_grpc_plugin_init(void);
55
59
  extern void census_grpc_plugin_shutdown(void);
56
60
  extern void grpc_max_age_filter_init(void);
57
61
  extern void grpc_max_age_filter_shutdown(void);
62
+ extern void grpc_message_size_filter_init(void);
63
+ extern void grpc_message_size_filter_shutdown(void);
58
64
 
59
65
  void grpc_register_built_in_plugins(void) {
66
+ grpc_register_plugin(grpc_http_filters_init,
67
+ grpc_http_filters_shutdown);
60
68
  grpc_register_plugin(grpc_chttp2_plugin_init,
61
69
  grpc_chttp2_plugin_shutdown);
70
+ grpc_register_plugin(grpc_deadline_filter_init,
71
+ grpc_deadline_filter_shutdown);
62
72
  grpc_register_plugin(grpc_client_channel_init,
63
73
  grpc_client_channel_shutdown);
64
74
  grpc_register_plugin(grpc_lb_policy_grpclb_init,
@@ -79,4 +89,6 @@ void grpc_register_built_in_plugins(void) {
79
89
  census_grpc_plugin_shutdown);
80
90
  grpc_register_plugin(grpc_max_age_filter_init,
81
91
  grpc_max_age_filter_shutdown);
92
+ grpc_register_plugin(grpc_message_size_filter_init,
93
+ grpc_message_size_filter_shutdown);
82
94
  }