Skip to content

Commit

Permalink
Removed influence of some options on structures.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdocguard committed Sep 20, 2016
1 parent f8a9d52 commit 1fd83ac
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions src/core/ngx_buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ struct ngx_output_chain_ctx_s {

unsigned sendfile:1;
unsigned directio:1;
#if (NGX_HAVE_ALIGNED_DIRECTIO)
unsigned unaligned:1;
#endif
unsigned need_in_memory:1;
unsigned need_in_temp:1;
#if (NGX_HAVE_FILE_AIO || NGX_THREADS)
Expand Down
2 changes: 0 additions & 2 deletions src/event/ngx_event_connect.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ struct ngx_peer_connection_s {
ngx_log_t *log;

unsigned cached:1;
#if (NGX_HAVE_TRANSPARENT_PROXY)
unsigned transparent:1;
#endif

/* ngx_connection_log_error_e */
unsigned log_error:2;
Expand Down
5 changes: 1 addition & 4 deletions src/http/ngx_http_request.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ typedef struct {
ngx_http_addr_conf_t *addr_conf;
ngx_http_conf_ctx_t *conf_ctx;

#if (NGX_HTTP_SSL && defined SSL_CTRL_SET_TLSEXT_HOSTNAME)
#if (NGX_HTTP_SSL)
ngx_str_t *ssl_servername;
#if (NGX_PCRE)
ngx_http_regex_t *ssl_servername_regex;
Expand Down Expand Up @@ -539,11 +539,8 @@ struct ngx_http_request_s {
unsigned subrequest_ranges:1;
unsigned single_range:1;
unsigned disable_not_modified:1;

#if (NGX_STAT_STUB)
unsigned stat_reading:1;
unsigned stat_writing:1;
#endif

/* used to parse HTTP headers */

Expand Down

0 comments on commit 1fd83ac

Please sign in to comment.