mergemergemerge

pull/10364/head
Craig Tiller 8 years ago
parent b6090a697b
commit f6cb0c0f06
  1. 2
      src/core/ext/client_channel/client_channel.c
  2. 3
      src/core/lib/channel/http_server_filter.c

@ -1185,7 +1185,7 @@ static void start_transport_stream_op_locked(grpc_exec_ctx *exec_ctx, void *arg,
grpc_call_element *elem = op->handler_private.extra_arg; grpc_call_element *elem = op->handler_private.extra_arg;
call_data *calld = elem->call_data; call_data *calld = elem->call_data;
if (op->recv_trailing_metadata != NULL) { if (op->recv_trailing_metadata) {
GPR_ASSERT(op->on_complete != NULL); GPR_ASSERT(op->on_complete != NULL);
calld->original_on_complete = op->on_complete; calld->original_on_complete = op->on_complete;
grpc_closure_init(&calld->on_complete, on_complete, elem, grpc_closure_init(&calld->on_complete, on_complete, elem,

@ -212,7 +212,8 @@ static grpc_error *server_filter_incoming_metadata(grpc_exec_ctx *exec_ctx,
grpc_error_set_str( grpc_error_set_str(
GRPC_ERROR_CREATE_FROM_STATIC_STRING("Missing header"), GRPC_ERROR_CREATE_FROM_STATIC_STRING("Missing header"),
GRPC_ERROR_STR_KEY, grpc_slice_from_static_string(":path"))); GRPC_ERROR_STR_KEY, grpc_slice_from_static_string(":path")));
} else if (*calld->recv_cacheable_request == true) { } else if (*calld->recv_initial_metadata_flags &
GRPC_INITIAL_METADATA_CACHEABLE_REQUEST) {
/* We have a cacheable request made with GET verb. The path contains the /* We have a cacheable request made with GET verb. The path contains the
* query parameter which is base64 encoded request payload. */ * query parameter which is base64 encoded request payload. */
const char k_query_separator = '?'; const char k_query_separator = '?';

Loading…
Cancel
Save