mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
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…
x
Reference in New Issue
Block a user