diff options
author | 2017-03-20 18:56:57 -0700 | |
---|---|---|
committer | 2017-03-20 18:56:57 -0700 | |
commit | b4478ff26496ceb3b92c8ad768bfe02121c5d158 (patch) | |
tree | 0451ae4b0f59d3af0c6d15b3abe94291d3fb000d /src/core/ext/transport | |
parent | eb6f20128ac2f902d9d6ad7e49a51897b3e06d44 (diff) |
Comment
Diffstat (limited to 'src/core/ext/transport')
-rw-r--r-- | src/core/ext/transport/cronet/transport/cronet_transport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ext/transport/cronet/transport/cronet_transport.c b/src/core/ext/transport/cronet/transport/cronet_transport.c index 4d80501ba8..50dee35786 100644 --- a/src/core/ext/transport/cronet/transport/cronet_transport.c +++ b/src/core/ext/transport/cronet/transport/cronet_transport.c @@ -655,7 +655,9 @@ static void create_grpc_frame(grpc_slice_buffer *write_slice_buffer, *pp_write_buffer = write_buffer; uint8_t *p = (uint8_t *)write_buffer; /* Append 5 byte header */ + /* Compressed flag */ *p++ = (flags & GRPC_WRITE_INTERNAL_COMPRESS) ? 1 : 0; + /* Message length */ *p++ = (uint8_t)(length >> 24); *p++ = (uint8_t)(length >> 16); *p++ = (uint8_t)(length >> 8); |