comparison src/http/ngx_http.h @ 5200:9d83ec073c51

Fixed build with --with-mail_ssl_module. If nginx was compiled without --with-http_ssl_module, but with some other module which uses OpenSSL (e.g. --with-mail_ssl_module), insufficient preprocessor check resulted in build failure. The problem was introduced by e0a3714a36f8 (1.3.14). Reported by Roman Arutyunyan.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 11 May 2013 18:49:30 +0400
parents c0f7b94e88ba
children 3a48775f1535
comparison
equal deleted inserted replaced
5199:3494f14aa46a 5200:9d83ec073c51
87 87
88 88
89 void ngx_http_init_connection(ngx_connection_t *c); 89 void ngx_http_init_connection(ngx_connection_t *c);
90 void ngx_http_close_connection(ngx_connection_t *c); 90 void ngx_http_close_connection(ngx_connection_t *c);
91 91
92 #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME 92 #if (NGX_HTTP_SSL && defined SSL_CTRL_SET_TLSEXT_HOSTNAME)
93 int ngx_http_ssl_servername(ngx_ssl_conn_t *ssl_conn, int *ad, void *arg); 93 int ngx_http_ssl_servername(ngx_ssl_conn_t *ssl_conn, int *ad, void *arg);
94 #endif 94 #endif
95 95
96 ngx_int_t ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b); 96 ngx_int_t ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b);
97 ngx_int_t ngx_http_parse_uri(ngx_http_request_t *r); 97 ngx_int_t ngx_http_parse_uri(ngx_http_request_t *r);