comparison auto/os/freebsd @ 18:6f8b0dc0f8dd NGINX_0_1_9

nginx 0.1.9 *) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; bug appeared in 0.1.8.
author Igor Sysoev <http://sysoev.ru>
date Thu, 25 Nov 2004 00:00:00 +0300
parents 74b1868dd3cd
children 2879cd3a40cb
comparison
equal deleted inserted replaced
17:9acb68bb0698 18:6f8b0dc0f8dd
43 # sendfile 43 # sendfile
44 44
45 if [ $osreldate -gt 300007 ]; then 45 if [ $osreldate -gt 300007 ]; then
46 echo " + using sendfile()" 46 echo " + using sendfile()"
47 47
48 have=HAVE_SENDFILE . auto/have 48 have=NGX_HAVE_SENDFILE . auto/have
49 CORE_SRCS="$CORE_SRCS $FREEBSD_SENDFILE_SRCS" 49 CORE_SRCS="$CORE_SRCS $FREEBSD_SENDFILE_SRCS"
50 fi 50 fi
51 51
52 52
53 # kqueue 53 # kqueue
55 if [ \( $osreldate -lt 500000 -a $osreldate -ge 410000 \) \ 55 if [ \( $osreldate -lt 500000 -a $osreldate -ge 410000 \) \
56 -o $osreldate -ge 500011 ] 56 -o $osreldate -ge 500011 ]
57 then 57 then
58 echo " + using kqueue" 58 echo " + using kqueue"
59 59
60 have=HAVE_KQUEUE . auto/have 60 have=NGX_HAVE_KQUEUE . auto/have
61 have=HAVE_CLEAR_EVENT . auto/have 61 have=NGX_HAVE_CLEAR_EVENT . auto/have
62 EVENT_MODULES="$EVENT_MODULES $KQUEUE_MODULE" 62 EVENT_MODULES="$EVENT_MODULES $KQUEUE_MODULE"
63 CORE_SRCS="$CORE_SRCS $KQUEUE_SRCS" 63 CORE_SRCS="$CORE_SRCS $KQUEUE_SRCS"
64 EVENT_FOUND=YES 64 EVENT_FOUND=YES
65 fi 65 fi
66 66
71 71
72 if [ \( $version -lt 500000 -a $version -ge 430000 \) \ 72 if [ \( $version -lt 500000 -a $version -ge 430000 \) \
73 -o $version -ge 500018 ] 73 -o $version -ge 500018 ]
74 then 74 then
75 echo " + using kqueue's NOTE_LOWAT" 75 echo " + using kqueue's NOTE_LOWAT"
76 have=HAVE_LOWAT_EVENT . auto/have 76 have=NGX_HAVE_LOWAT_EVENT . auto/have
77 fi 77 fi
78 78
79 79
80 if [ $USE_THREADS = "rfork" ]; then 80 if [ $USE_THREADS = "rfork" ]; then
81 81
83 83
84 # # kqueue's EVFILT_SIGNAL is safe 84 # # kqueue's EVFILT_SIGNAL is safe
85 # 85 #
86 # if [ $version -gt 460101 ]; then 86 # if [ $version -gt 460101 ]; then
87 # echo " + kqueue's EVFILT_SIGNAL is safe" 87 # echo " + kqueue's EVFILT_SIGNAL is safe"
88 # have=HAVE_SAFE_EVFILT_SIGNAL . auto/have 88 # have=NGX_HAVE_SAFE_EVFILT_SIGNAL . auto/have
89 # else 89 # else
90 # echo "$0: error: the kqueue's EVFILT_SIGNAL is unsafe on this" 90 # echo "$0: error: the kqueue's EVFILT_SIGNAL is unsafe on this"
91 # echo "FreeBSD version, so --with-threads=rfork could not be used" 91 # echo "FreeBSD version, so --with-threads=rfork could not be used"
92 # echo 92 # echo
93 # 93 #
98 98
99 if [ $EVENT_AIO = YES ]; then 99 if [ $EVENT_AIO = YES ]; then
100 if [ \( $version -lt 500000 -a $version -ge 430000 \) \ 100 if [ \( $version -lt 500000 -a $version -ge 430000 \) \
101 -o $version -ge 500014 ] 101 -o $version -ge 500014 ]
102 then 102 then
103 have=HAVE_AIO . auto/have 103 have=NGX_HAVE_AIO . auto/have
104 EVENT_MODULES="$EVENT_MODULES $AIO_MODULE" 104 EVENT_MODULES="$EVENT_MODULES $AIO_MODULE"
105 CORE_SRCS="$CORE_SRCS $AIO_SRCS" 105 CORE_SRCS="$CORE_SRCS $AIO_SRCS"
106 else 106 else
107 107
108 cat << END 108 cat << END