Merge pull request #10087 from y-zeng/fix_ping_1_2_x

Fix chttp2 ping parser
pull/10105/head^2
Yuchen Zeng 8 years ago committed by GitHub
commit 4a8694fb31
  1. 2
      src/core/ext/transport/chttp2/transport/frame_ping.c

@ -91,7 +91,7 @@ grpc_error *grpc_chttp2_ping_parser_parse(grpc_exec_ctx *exec_ctx, void *parser,
grpc_chttp2_ping_parser *p = parser;
while (p->byte != 8 && cur != end) {
p->opaque_8bytes |= (((uint64_t)*cur) << (8 * p->byte));
p->opaque_8bytes |= (((uint64_t)*cur) << (56 - 8 * p->byte));
cur++;
p->byte++;
}

Loading…
Cancel
Save