~ubuntu-branches/ubuntu/utopic/nginx/utopic

« back to all changes in this revision

Viewing changes to src/core/ngx_connection.h

  • Committer: Package Import Robot
  • Author(s): Robie Basak
  • Date: 2014-08-15 16:46:48 UTC
  • mfrom: (4.3.16 sid)
  • Revision ID: package-import@ubuntu.com-20140815164648-a5f0kta1qhtpw161
Tags: 1.6.1-1ubuntu1
* Merge from Debian. Remaining changes:
  - debian/patches/ubuntu-branding.patch: add Ubuntu branding
    (refreshed).
  - debian/rules: Drop from -O3 to -O2 to work around a build failure.
  - d/{control,rules,nginx-core.*}: add new binary package for main,
    nginx-core, which contains only source-tarball-included modules
    and no third-party modules.
* Add dep8 smoke test

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    int                 setfib;
81
81
#endif
82
82
 
 
83
#if (NGX_HAVE_TCP_FASTOPEN)
 
84
    int                 fastopen;
 
85
#endif
 
86
 
83
87
};
84
88
 
85
89
 
108
112
 
109
113
#define NGX_LOWLEVEL_BUFFERED  0x0f
110
114
#define NGX_SSL_BUFFERED       0x01
 
115
#define NGX_SPDY_BUFFERED      0x02
111
116
 
112
117
 
113
118
struct ngx_connection_s {
134
139
    socklen_t           socklen;
135
140
    ngx_str_t           addr_text;
136
141
 
 
142
    ngx_str_t           proxy_protocol_addr;
 
143
 
137
144
#if (NGX_SSL)
138
145
    ngx_ssl_connection_t  *ssl;
139
146
#endif
140
147
 
141
148
    struct sockaddr    *local_sockaddr;
 
149
    socklen_t           local_socklen;
142
150
 
143
151
    ngx_buf_t          *buffer;
144
152
 
166
174
    unsigned            tcp_nodelay:2;   /* ngx_connection_tcp_nodelay_e */
167
175
    unsigned            tcp_nopush:2;    /* ngx_connection_tcp_nopush_e */
168
176
 
 
177
    unsigned            need_last_buf:1;
 
178
 
169
179
#if (NGX_HAVE_IOCP)
170
180
    unsigned            accept_context_updated:1;
171
181
#endif
172
182
 
173
183
#if (NGX_HAVE_AIO_SENDFILE)
174
184
    unsigned            aio_sendfile:1;
 
185
    unsigned            busy_count:2;
175
186
    ngx_buf_t          *busy_sendfile;
176
187
#endif
177
188