mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2972 from ctiller/get-reserved-things-right
Add some reserved checks that need to be present
This commit is contained in:
commit
066438eca1
|
@ -581,6 +581,7 @@ NAN_METHOD(Call::StartBatch) {
|
|||
uint32_t type = keys->Get(i)->Uint32Value();
|
||||
ops[i].op = static_cast<grpc_op_type>(type);
|
||||
ops[i].flags = 0;
|
||||
ops[i].reserved = NULL;
|
||||
switch (type) {
|
||||
case GRPC_OP_SEND_INITIAL_METADATA:
|
||||
op.reset(new SendMetadataOp());
|
||||
|
|
Loading…
Reference in New Issue