comparison auto/os/solaris @ 469:2ff194b74f1e release-0.1.9

nginx-0.1.9-RELEASE import *) 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; the bug had appeared in 0.1.8.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 25 Nov 2004 16:17:31 +0000
parents 295d97d70c69
children 975f62e77f02
comparison
equal deleted inserted replaced
468:1a67596d0349 469:2ff194b74f1e
21 ngx_spacer= 21 ngx_spacer=
22 22
23 CC_AUX_FLAGS="-D_FILE_OFFSET_BITS=64 -lrt" 23 CC_AUX_FLAGS="-D_FILE_OFFSET_BITS=64 -lrt"
24 24
25 25
26 case $PLATFORM in 26 case $NGX_PLATFORM in
27 27
28 *:sun4u) 28 *:sun4u)
29 # "-mcpu=v9" enables the "casa" assembler instruction 29 # "-mcpu=v9" enables the "casa" assembler instruction
30 CFLAGS="$CFLAGS -mcpu=v9" 30 CFLAGS="$CFLAGS -mcpu=v9"
31 ;; 31 ;;
41 exit 1 41 exit 1
42 fi 42 fi
43 43
44 44
45 ngx_feature="sendfilev()" 45 ngx_feature="sendfilev()"
46 ngx_feature_name="sendfile" 46 ngx_feature_name="NGX_HAVE_SENDFILE"
47 ngx_feature_run=no 47 ngx_feature_run=no
48 ngx_feature_incs="#include <sys/sendfile.h>" 48 ngx_feature_incs="#include <sys/sendfile.h>"
49 ngx_feature_libs="-lsendfile" 49 ngx_feature_libs="-lsendfile"
50 ngx_feature_test="int fd = 1; sendfilevec_t vec[1]; 50 ngx_feature_test="int fd = 1; sendfilevec_t vec[1];
51 size_t sent; ssize_t n; 51 size_t sent; ssize_t n;
52 n = sendfilev(fd, vec, 1, &sent)" 52 n = sendfilev(fd, vec, 1, &sent)"
53 . auto/feature 53 . auto/feature
54 54
55 55
56 if [ $ngx_found = yes ]; then 56 if [ $ngx_found = yes ]; then
57 have=HAVE_SENDFILE . auto/have
58 CORE_SRCS="$CORE_SRCS $SOLARIS_SENDFILEV_SRCS" 57 CORE_SRCS="$CORE_SRCS $SOLARIS_SENDFILEV_SRCS"
59 CORE_LIBS="$CORE_LIBS -lsendfile" 58 CORE_LIBS="$CORE_LIBS -lsendfile"
60 fi 59 fi