Mercurial > hg > nginx-vendor-0-7
comparison src/core/ngx_inet.h @ 452:fc5ebf0e5f98 NGINX_0_7_38
nginx 0.7.38
*) Feature: authentication failures logging.
*) Bugfix: name/password in auth_basic_user_file were ignored after odd
number of empty lines.
Thanks to Alexander Zagrebin.
*) Bugfix: a segmentation fault occurred in a master process, if long
path was used in unix domain socket; the bug had appeared in 0.7.36.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Feb 2009 00:00:00 +0300 |
parents | 76a79816b771 |
children | a8424ffa495c |
comparison
equal
deleted
inserted
replaced
451:56fe58e64760 | 452:fc5ebf0e5f98 |
---|---|
20 | 20 |
21 | 21 |
22 /* | 22 /* |
23 * TODO: autoconfigure NGX_SOCKADDRLEN as | 23 * TODO: autoconfigure NGX_SOCKADDRLEN as |
24 * sizeof(struct sockaddr_storage) | 24 * sizeof(struct sockaddr_storage) |
25 * sizeof(struct sockaddr_un) | |
25 * sizeof(struct sockaddr_in6) | 26 * sizeof(struct sockaddr_in6) |
26 * sizeof(struct sockaddr_in) | 27 * sizeof(struct sockaddr_in) |
27 */ | 28 */ |
28 | 29 |
29 #if (NGX_HAVE_INET6) | 30 #if (NGX_HAVE_UNIX_DOMAIN) |
30 #define NGX_SOCKADDRLEN sizeof(struct sockaddr_in6) | 31 #define NGX_SOCKADDRLEN sizeof(struct sockaddr_un) |
31 #else | 32 #else |
32 #define NGX_SOCKADDRLEN sizeof(struct sockaddr_in) | 33 #define NGX_SOCKADDRLEN 512 |
33 #endif | 34 #endif |
34 | 35 |
35 | 36 |
36 typedef struct { | 37 typedef struct { |
37 in_addr_t addr; | 38 in_addr_t addr; |