pull/10849/head
Muxi Yan 8 years ago
parent 1a138e9629
commit 286b696f81
  1. 3
      src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c
  2. 4
      src/core/ext/filters/workarounds/workaround_utils.h

@ -187,8 +187,7 @@ static bool parse_user_agent(grpc_mdelem md) {
gpr_free(user_agent_str);
return (grpc_objc_specifier_seen && cronet_specifier_seen &&
(major_version < 1 ||
(major_version == 1 && minor_version <= 3)));
(major_version < 1 || (major_version == 1 && minor_version <= 3)));
}
const grpc_channel_filter grpc_workaround_cronet_compression_filter = {

@ -29,8 +29,8 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
#ifndef GRPC_CORE_EXT_FILTERS_WORKAROUNDS_WORKAROUND_UTILS
#define GRPC_CORE_EXT_FILTERS_WORKAROUNDS_WORKAROUND_UTILS
#ifndef GRPC_CORE_EXT_FILTERS_WORKAROUNDS_WORKAROUND_UTILS_H
#define GRPC_CORE_EXT_FILTERS_WORKAROUNDS_WORKAROUND_UTILS_H
#include "src/core/lib/transport/metadata.h"

Loading…
Cancel
Save