Merge pull request #17753 from l8huang/master

grpc: init compression_algorithm_ in ClientContext ctor
pull/17765/head
Yang Gao 6 years ago committed by GitHub
commit 4fd0959e29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/cpp/client/client_context.cc

@ -57,6 +57,7 @@ ClientContext::ClientContext()
deadline_(gpr_inf_future(GPR_CLOCK_REALTIME)),
census_context_(nullptr),
propagate_from_call_(nullptr),
compression_algorithm_(GRPC_COMPRESS_NONE),
initial_metadata_corked_(false) {
g_client_callbacks->DefaultConstructor(this);
}

Loading…
Cancel
Save