nxt_sendbuf.h (203:7794b01dd5aa) nxt_sendbuf.h (352:47649fbbcb53)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_SENDBUF_H_INCLUDED_
8#define _NXT_SENDBUF_H_INCLUDED_

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

53typedef struct {
54 nxt_buf_t *buf;
55 nxt_iobuf_t *iobuf;
56 nxt_uint_t niov;
57
58 uint32_t nmax;
59 uint8_t sync; /* 1 bit */
60 uint8_t last; /* 1 bit */
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_SENDBUF_H_INCLUDED_
8#define _NXT_SENDBUF_H_INCLUDED_

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

53typedef struct {
54 nxt_buf_t *buf;
55 nxt_iobuf_t *iobuf;
56 nxt_uint_t niov;
57
58 uint32_t nmax;
59 uint8_t sync; /* 1 bit */
60 uint8_t last; /* 1 bit */
61 uint8_t limit_reached;
62 uint8_t nmax_reached;
61
62 size_t size;
63 size_t limit;
64} nxt_sendbuf_coalesce_t;
65
66
67#if (NXT_HAVE_LINUX_SENDFILE)
68#define NXT_HAVE_SENDFILE 1

--- 59 unchanged lines hidden ---
63
64 size_t size;
65 size_t limit;
66} nxt_sendbuf_coalesce_t;
67
68
69#if (NXT_HAVE_LINUX_SENDFILE)
70#define NXT_HAVE_SENDFILE 1

--- 59 unchanged lines hidden ---