Bazel 0.24.0 upgraded grpc from 1.13.0 to 1.18.0, and the latter makes use of the TCP_USER_TIMEOUT socket option. Problem: grpc conditions the option on the Linux kernel version but sources the option from glibc's `netinet/tcp.h`. glibc != Linux kernel, and that option wasn't imported to glibc until 2.17. We can't just build Bazel with glibc 2.17 because we still have to support CentOS 6 dev nodes which ship with glibc 2.12. So instead this change tweaks the grpc headers to conditionally include <linux/tcp.h> instead of <netinet/tcp.h>. Resolves https://github.com/grpc/grpc/issues/18728.pull/18729/head
parent
21e3fd490a
commit
d47f2d5cc9
2 changed files with 13 additions and 0 deletions
Loading…
Reference in new issue