Skip to content
Snippets Groups Projects
Commit 8f76df40 authored by Vijay Pai's avatar Vijay Pai
Browse files

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.
parent e51b9d2e
No related branches found
No related tags found
No related merge requests found
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment