comparison src/os/unix/ngx_freebsd_config.h @ 4:4b2dafa26fe2 NGINX_0_1_2

nginx 0.1.2 *) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS options in configure. *) Feature: the server_name directive supports *.domain.tld. *) Bugfix: the portability improvements. *) Bugfix: if configuration file was set in command line, the reconfiguration was impossible; bug appeared in 0.1.1. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. *) Bugfix: with sendfile the response was not recoded according to the charset module directives; bug appeared in 0.1.1. *) Bugfix: very seldom bug in the kqueue processing. *) Bugfix: the gzip module compressed the proxied responses that was already compressed.
author Igor Sysoev <http://sysoev.ru>
date Thu, 21 Oct 2004 00:00:00 +0400
parents cc9f381affaa
children 74b1868dd3cd
comparison
equal deleted inserted replaced
3:8beaf7b3241f 4:4b2dafa26fe2
20 #include <signal.h> 20 #include <signal.h>
21 #include <pwd.h> 21 #include <pwd.h>
22 #include <grp.h> 22 #include <grp.h>
23 #include <dirent.h> 23 #include <dirent.h>
24 24
25 #include <sys/filio.h> /* FIONBIO */
25 #include <sys/uio.h> 26 #include <sys/uio.h>
26 #include <sys/filio.h> /* FIONBIO */
27 #include <sys/stat.h> 27 #include <sys/stat.h>
28 #include <fcntl.h> 28 #include <fcntl.h>
29 29
30 #include <sys/wait.h> 30 #include <sys/wait.h>
31 #include <sys/mman.h> 31 #include <sys/mman.h>
39 #include <netdb.h> 39 #include <netdb.h>
40 40
41 #include <libutil.h> /* setproctitle() before 4.1 */ 41 #include <libutil.h> /* setproctitle() before 4.1 */
42 #include <osreldate.h> 42 #include <osreldate.h>
43 #include <sys/sysctl.h> 43 #include <sys/sysctl.h>
44 #include <sys/param.h> /* ALIGN() */
44 45
45 46
46 #if __FreeBSD_version < 400017 47 #if __FreeBSD_version < 400017
47
48 #include <sys/param.h> /* ALIGN() */
49 48
50 /* FreeBSD 3.x has no CMSG_SPACE() at all and has the broken CMSG_DATA() */ 49 /* FreeBSD 3.x has no CMSG_SPACE() at all and has the broken CMSG_DATA() */
51 50
52 #undef CMSG_SPACE 51 #undef CMSG_SPACE
53 #define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l)) 52 #define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l))