Removed spurious changes.

pull/2135/head
David Garcia Quintas 10 years ago
parent dd2ebee848
commit b910170667
  1. 3
      src/core/channel/compress_filter.c
  2. 1
      src/core/transport/transport.h

@ -114,9 +114,6 @@ static void process_send_ops(grpc_call_element *elem,
switch (sop->type) { switch (sop->type) {
case GRPC_OP_BEGIN_MESSAGE: case GRPC_OP_BEGIN_MESSAGE:
calld->remaining_slice_bytes = sop->data.begin_message.length; calld->remaining_slice_bytes = sop->data.begin_message.length;
/* TODO(dgq): we may want to get rid of the flags mechanism to have
* exceptions to compression: we can rely solely on metadata to set NONE
* as the compression algorithm */
if (sop->data.begin_message.flags & GRPC_WRITE_NO_COMPRESS) { if (sop->data.begin_message.flags & GRPC_WRITE_NO_COMPRESS) {
calld->has_compression_algorithm = 1; /* GPR_TRUE */ calld->has_compression_algorithm = 1; /* GPR_TRUE */
calld->compression_algorithm = GRPC_COMPRESS_NONE; calld->compression_algorithm = GRPC_COMPRESS_NONE;

@ -69,7 +69,6 @@ typedef struct grpc_transport_op {
grpc_stream_op_buffer *send_ops; grpc_stream_op_buffer *send_ops;
int is_last_send; int is_last_send;
int dont_compress;
void (*on_done_send)(void *user_data, int success); void (*on_done_send)(void *user_data, int success);
void *send_user_data; void *send_user_data;

Loading…
Cancel
Save