Merge pull request #7575 from vjpai/make_stack_small_again

Shrink a stack-allocated array to avoid giant frame
pull/7447/head
Vijay Pai 8 years ago committed by GitHub
commit abaa70502d
  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 */
#define MAX_WRITE_IOVEC 1024
#define MAX_WRITE_IOVEC 1000
static bool tcp_flush(grpc_tcp *tcp, grpc_error **error) {
struct msghdr msg;
struct iovec iov[MAX_WRITE_IOVEC];

Loading…
Cancel
Save