|
|
@ -692,7 +692,7 @@ static void create_grpc_frame(grpc_exec_ctx *exec_ctx, |
|
|
|
uint8_t *p = (uint8_t *)write_buffer; |
|
|
|
uint8_t *p = (uint8_t *)write_buffer; |
|
|
|
/* Append 5 byte header */ |
|
|
|
/* Append 5 byte header */ |
|
|
|
/* Compressed flag */ |
|
|
|
/* Compressed flag */ |
|
|
|
*p++ = (flags & GRPC_WRITE_INTERNAL_COMPRESS) ? 1 : 0; |
|
|
|
*p++ = (uint8_t)((flags & GRPC_WRITE_INTERNAL_COMPRESS) ? 1 : 0); |
|
|
|
/* Message length */ |
|
|
|
/* Message length */ |
|
|
|
*p++ = (uint8_t)(length >> 24); |
|
|
|
*p++ = (uint8_t)(length >> 24); |
|
|
|
*p++ = (uint8_t)(length >> 16); |
|
|
|
*p++ = (uint8_t)(length >> 16); |
|
|
|