Some compilers don't like big stack frames. There is no need

for this to be a power of 2, so let's just shrink it a little.
pull/7575/head
Vijay Pai 9 years ago
parent e51b9d2e39
commit 8f76df40a9
  1. 2
      src/core/lib/iomgr/tcp_posix.c

@ -284,7 +284,7 @@ static void tcp_read(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep,
} }
/* returns true if done, false if pending; if returning true, *error is set */ /* returns true if done, false if pending; if returning true, *error is set */
#define MAX_WRITE_IOVEC 1024 #define MAX_WRITE_IOVEC 1000
static bool tcp_flush(grpc_tcp *tcp, grpc_error **error) { static bool tcp_flush(grpc_tcp *tcp, grpc_error **error) {
struct msghdr msg; struct msghdr msg;
struct iovec iov[MAX_WRITE_IOVEC]; struct iovec iov[MAX_WRITE_IOVEC];

Loading…
Cancel
Save