diff options
author | Yuchen Zeng <y-zeng@users.noreply.github.com> | 2017-03-10 11:25:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-10 11:25:41 -0800 |
commit | 4a8694fb3160c6525245c998842d727b339f2546 (patch) | |
tree | 8d4d1e47018f60f82e2827167a4efe4a37fbb47c /src | |
parent | b60e6ac1a765628313e5732033b47454fe039c09 (diff) | |
parent | 32af871b1a597edd0cd72746b3ef2b637bedda6f (diff) |
Merge pull request #10087 from y-zeng/fix_ping_1_2_x
Fix chttp2 ping parser
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/transport/chttp2/transport/frame_ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/transport/chttp2/transport/frame_ping.c b/src/core/ext/transport/chttp2/transport/frame_ping.c index f487533c41..9b4b1a7b84 100644 --- a/src/core/ext/transport/chttp2/transport/frame_ping.c +++ b/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++; } |