Mercurial > hg > nginx
comparison src/core/ngx_connection.h @ 6734:0c572ed91b36
Modules compatibility: compatibility with NGX_HAVE_FILE_AIO.
With this change it is now possible to load modules compiled without
the "--with-file-aio" configure option into nginx binary compiled with it,
and vice versa, assuming both use the "--with-compat" option.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 10 Oct 2016 18:44:17 +0300 |
parents | adc2414856b1 |
children | e38e9c50a40e |
comparison
equal
deleted
inserted
replaced
6733:adc2414856b1 | 6734:0c572ed91b36 |
---|---|
180 unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */ | 180 unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */ |
181 unsigned tcp_nopush:2; /* ngx_connection_tcp_nopush_e */ | 181 unsigned tcp_nopush:2; /* ngx_connection_tcp_nopush_e */ |
182 | 182 |
183 unsigned need_last_buf:1; | 183 unsigned need_last_buf:1; |
184 | 184 |
185 #if (NGX_HAVE_AIO_SENDFILE) | 185 #if (NGX_HAVE_AIO_SENDFILE || NGX_COMPAT) |
186 unsigned busy_count:2; | 186 unsigned busy_count:2; |
187 #endif | 187 #endif |
188 | 188 |
189 #if (NGX_THREADS || NGX_COMPAT) | 189 #if (NGX_THREADS || NGX_COMPAT) |
190 ngx_thread_task_t *sendfile_task; | 190 ngx_thread_task_t *sendfile_task; |