nxt_unix.h (0:a63ceefd6ab0) nxt_unix.h (1:fdc027c56872)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7
8#ifndef _NXT_UNIX_H_INCLUDED_

--- 220 unchanged lines hidden (view full) ---

229#endif
230
231#if (NXT_HAVE_SOLARIS_SENDFILEV)
232#include <sys/sendfile.h>
233#endif
234
235
236#if (NXT_TEST_BUILD)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7
8#ifndef _NXT_UNIX_H_INCLUDED_

--- 220 unchanged lines hidden (view full) ---

229#endif
230
231#if (NXT_HAVE_SOLARIS_SENDFILEV)
232#include <sys/sendfile.h>
233#endif
234
235
236#if (NXT_TEST_BUILD)
237#include <unix/nxt_test_build.h>
237#include <nxt_test_build.h>
238#endif
239
240
241/*
242 * On Linux IOV_MAX is 1024. Linux uses kernel stack for 8 iovec's
243 * to avoid kernel allocation/deallocation.
244 *
245 * On FreeBSD IOV_MAX is 1024. FreeBSD used kernel stack for 8 iovec's

--- 40 unchanged lines hidden ---
238#endif
239
240
241/*
242 * On Linux IOV_MAX is 1024. Linux uses kernel stack for 8 iovec's
243 * to avoid kernel allocation/deallocation.
244 *
245 * On FreeBSD IOV_MAX is 1024. FreeBSD used kernel stack for 8 iovec's

--- 40 unchanged lines hidden ---