diff options
author | Mark D. Roth <roth@google.com> | 2016-07-01 14:17:55 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-07-01 14:17:55 -0700 |
commit | 98aa0c13f0f31584658dd7ad565f7a9a7a866f5e (patch) | |
tree | 4b5d3cbfd668fea862882335fde156b358e39de4 /src/core/lib/transport/transport.h | |
parent | 97b173dfb8d10bc68dcffa135762d2d152723bc6 (diff) | |
parent | 3c945ee2b3c3bf0fd01cc995332e252d1e10e51e (diff) |
Merge branch 'filter_call_init_failure' into filter_api
Diffstat (limited to 'src/core/lib/transport/transport.h')
-rw-r--r-- | src/core/lib/transport/transport.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/lib/transport/transport.h b/src/core/lib/transport/transport.h index e5b8906884..88453cfe43 100644 --- a/src/core/lib/transport/transport.h +++ b/src/core/lib/transport/transport.h @@ -139,13 +139,12 @@ typedef struct grpc_transport_stream_op { /** Collect any stats into provided buffer, zero internal stat counters */ grpc_transport_stream_stats *collect_stats; - /** If != GRPC_STATUS_OK, cancel this stream */ - grpc_status_code cancel_with_status; + /** If != GRPC_ERROR_NONE, cancel this stream */ + grpc_error *cancel_error; - /** If != GRPC_STATUS_OK, send grpc-status, grpc-message, and close this + /** If != GRPC_ERROR, send grpc-status, grpc-message, and close this stream for both reading and writing */ - grpc_status_code close_with_status; - gpr_slice *optional_close_message; + grpc_error *close_error; /* Indexes correspond to grpc_context_index enum values */ grpc_call_context_element *context; |