Skip to content

Commit

Permalink
nginx-0.3.3-RELEASE import
Browse files Browse the repository at this point in the history
    *) Change: the "bl" and "af" parameters of the "listen" directive was
       renamed to the "backlog" and "accept_filter".

    *) Feature: the "rcvbuf" and "sndbuf" parameters of the "listen"
       directive.

    *) Change: the "$msec" log parameter does not require now the
       additional the gettimeofday() system call.

    *) Feature: the -t switch now tests the "listen" directives.

    *) Bugfix: if the invalid address was specified in the "listen"
       directive, then after the -HUP signal nginx left an open socket in
       the CLOSED state.

    *) Bugfix: the mime type may be incorrectly set to default value for
       index file with variable in the name; the bug had appeared in 0.3.0.

    *) Feature: the "timer_resolution" directive.

    *) Feature: the millisecond "$upstream_response_time" log parameter.

    *) Bugfix: a temporary file with client request body now is removed
       just after the response header was transferred to a client.

    *) Bugfix: OpenSSL 0.9.6 compatibility.

    *) Bugfix: the SSL certificate and key file paths could not be relative.

    *) Bugfix: the "ssl_prefer_server_ciphers" directive did not work in
       the ngx_imap_ssl_module.

    *) Bugfix: the "ssl_protocols" directive allowed to specify the single
       protocol only.
  • Loading branch information
igorsysoev committed Oct 19, 2005
1 parent 8743f92 commit c2068d0
Show file tree
Hide file tree
Showing 86 changed files with 1,824 additions and 1,730 deletions.
4 changes: 3 additions & 1 deletion auto/cc/gcc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fi
case "$NGX_PLATFORM" in

*:sun4u)
# "-mcpu=v9" enables the "casxa" assembler instruction
# "-mcpu=v9" enables the "casa" assembler instruction
CFLAGS="$CFLAGS -mcpu=v9"
;;

Expand Down Expand Up @@ -134,6 +134,8 @@ case "$NGX_GCC_VER" in
# we have a lot of the unused function arguments
CFLAGS="$CFLAGS -Wno-unused-parameter"
CFLAGS="$CFLAGS -Wno-unused-function"
CFLAGS="$CFLAGS -Wunused-variable"
CFLAGS="$CFLAGS -Wunused-value"
#CFLAGS="$CFLAGS -Wunreachable-code"
;;

Expand Down
24 changes: 18 additions & 6 deletions auto/cc/icc
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,18 @@ CFLAGS="$CFLAGS -Ob2"

# single-file IP optimizations
#IPO="-ip"

# multi-file IP optimizations
IPO="-ipo -ipo_obj"
case "$NGX_ICC_VER" in
9.*)
IPO="-ipo"
;;

*)
IPO="-ipo -ipo_obj"
;;
esac

CFLAGS="$CFLAGS $IPO"
CORE_LINK="$CORE_LINK $IPO"
CORE_LINK="$CORE_LINK -opt_report_file=$NGX_OBJS/opt_report_file"
Expand Down Expand Up @@ -72,7 +82,7 @@ CFLAGS="$CFLAGS -wd171"
CFLAGS="$CFLAGS -wd181"
# zero used for undefined preprocessing identifier
CFLAGS="$CFLAGS -wd193"
#the format string ends before this argument
# the format string ends before this argument
CFLAGS="$CFLAGS -wd268"
# invalid format string conversion
CFLAGS="$CFLAGS -wd269"
Expand All @@ -92,15 +102,17 @@ CFLAGS="$CFLAGS -wd981"
CFLAGS="$CFLAGS -wd1418"
# external declaration in primary source file
CFLAGS="$CFLAGS -wd1419"
# explicit conversion of a 64-bit integral type to a smaller integral type
CFLAGS="$CFLAGS -wd1683"
# conversion from pointer to same-sized integral type, warning on offsetof()
CFLAGS="$CFLAGS -wd1684"

case "$NGX_ICC_VER" in
8.* | 9.*)
# "cc" clobber ignored, warnings for Liunx's htons()
CFLAGS="$CFLAGS -wd1469"
# explicit conversion of a 64-bit integral type to a smaller
# integral type
CFLAGS="$CFLAGS -wd1683"
# conversion from pointer to same-sized integral type,
# warning on offsetof()
CFLAGS="$CFLAGS -wd1684"

# STUB
# non-POD class type passed through ellipsis, Linux only ?
Expand Down
18 changes: 9 additions & 9 deletions auto/cc/name
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,47 @@ if [ $CC = cl ]; then
2>&1 >/dev/null`; then

NGX_CC_NAME=msvc7
echo " using Microsoft Visual C++ 7 compiler"
echo " Microsoft Visual C++ 7 compiler"

else
NGX_CC_NAME=msvc
echo " using Microsoft Visual C++ compiler"
echo " Microsoft Visual C++ compiler"
fi

else
if [ $CC = wcl386 ]; then
NGX_CC_NAME=owc
echo " using Open Watcom C compiler"
echo " Open Watcom C compiler"

else
if [ $CC = bcc32 ]; then
NGX_CC_NAME=bcc
echo " using Borland C++ compiler"
echo " Borland C++ compiler"

else
if `$CC -v 2>&1 | grep 'gcc version' 2>&1 >/dev/null`; then
NGX_CC_NAME=gcc
echo " using GNU C compiler"
echo " GNU C compiler"

else
if `$CC -V 2>&1 | grep '^Intel(R) C' 2>&1 >/dev/null`; then
NGX_CC_NAME=icc
echo " using Intel C++ compiler"
echo " Intel C++ compiler"

else
if `$CC -V 2>&1 | grep 'Sun C' 2>&1 >/dev/null`; then
NGX_CC_NAME=sunc
echo " using Sun C compiler"
echo " Sun C compiler"

else
if `$CC -V 2>&1 | grep '^Compaq C' 2>&1 >/dev/null`; then
NGX_CC_NAME=ccc
echo " using Compaq C compiler"
echo " Compaq C compiler"

else
if `$CC -V 2>&1 | grep '^aCC: ' 2>&1 >/dev/null`; then
NGX_CC_NAME=acc
echo " using HP aC++ compiler"
echo " HP aC++ compiler"

else
NGX_CC_NAME=unknown
Expand Down
18 changes: 17 additions & 1 deletion auto/configure
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,28 @@ if [ $NGX_DEBUG = YES ]; then
fi


if test -z "$NGX_PLATFORM"; then
echo "checking for OS"

NGX_SYSTEM=`uname -s 2>/dev/null`
NGX_RELEASE=`uname -r 2>/dev/null`
NGX_MACHINE=`uname -m 2>/dev/null`

echo " + $NGX_SYSTEM $NGX_RELEASE $NGX_MACHINE"

NGX_PLATFORM="$NGX_SYSTEM:$NGX_RELEASE:$NGX_MACHINE";

else
echo "building for $NGX_PLATFORM"
fi


if [ "$NGX_PLATFORM" != win32 ]; then
. auto/headers
fi

. auto/os/conf
. auto/cc/conf
. auto/os/conf

if [ "$NGX_PLATFORM" != win32 ]; then
. auto/os/features
Expand Down
15 changes: 1 addition & 14 deletions auto/os/conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@
# Copyright (C) Igor Sysoev


if test -z "$NGX_PLATFORM"; then
echo "checking for OS"

NGX_SYSTEM=`uname -s 2>/dev/null`
NGX_RELEASE=`uname -r 2>/dev/null`
NGX_MACHINE=`uname -m 2>/dev/null`

echo " + $NGX_SYSTEM $NGX_RELEASE $NGX_MACHINE"

NGX_PLATFORM="$NGX_SYSTEM:$NGX_RELEASE:$NGX_MACHINE";

else
echo "building for $NGX_PLATFORM"
fi
echo "checking for $NGX_SYSTEM specific features"

case "$NGX_PLATFORM" in

Expand Down
3 changes: 3 additions & 0 deletions auto/os/features
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ fi

if [ "$NGX_SYSTEM" = "NetBSD" ]; then

have=NGX_HAVE_TIMER_EVENT . auto/have
echo " + kqueue's EVFILT_TIMER found"

# NetBSD 2.0 incompatibly defines kevent.udata as "intptr_t"

cat << END >> $NGX_AUTO_CONFIG_H
Expand Down
15 changes: 12 additions & 3 deletions auto/os/freebsd
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fi
# sendfile

if [ $osreldate -gt 300007 ]; then
echo " + using sendfile()"
echo " + sendfile() found"

have=NGX_HAVE_SENDFILE . auto/have
CORE_SRCS="$CORE_SRCS $FREEBSD_SENDFILE_SRCS"
Expand All @@ -49,7 +49,7 @@ fi
if [ \( $osreldate -lt 500000 -a $osreldate -ge 410000 \) \
-o $osreldate -ge 500011 ]
then
echo " + using kqueue"
echo " + kqueue found"

have=NGX_HAVE_KQUEUE . auto/have
have=NGX_HAVE_CLEAR_EVENT . auto/have
Expand All @@ -67,10 +67,19 @@ NGX_KQUEUE_CHECKED=YES
if [ \( $version -lt 500000 -a $version -ge 430000 \) \
-o $version -ge 500018 ]
then
echo " + using kqueue's NOTE_LOWAT"
echo " + kqueue's NOTE_LOWAT found"
have=NGX_HAVE_LOWAT_EVENT . auto/have
fi

# kqueue's EVFILT_TIMER

if [ \( $version -lt 500000 -a $version -ge 440001 \) \
-o $version -ge 500023 ]
then
echo " + kqueue's EVFILT_TIMER found"
have=NGX_HAVE_TIMER_EVENT . auto/have
fi


if [ $USE_THREADS = "rfork" ]; then

Expand Down
2 changes: 1 addition & 1 deletion auto/os/linux
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version=${version:-0}
# enable the rt signals on Linux 2.2.19 and onward

if [ $version -ge 131609 -o $EVENT_RTSIG = YES ]; then
echo " + using rt signals"
echo " + rt signals found"
have=NGX_HAVE_RTSIG . auto/have
have=NGX_HAVE_POLL . auto/have
EVENT_MODULES="$EVENT_MODULES $RTSIG_MODULE"
Expand Down
135 changes: 135 additions & 0 deletions docs/xml/nginx/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,141 @@
<title lang="en">nginx changelog</title>


<changes ver="0.3.3" date="19.10.2005">

<change type="change">
<para lang="ru">
ÐÁÒÁÍÅÔÒÙ "bl" É "af" ÄÉÒÅËÔÉ×Ù listen ÐÅÒÅÉÍÅÎÏ×ÁÎÙ × "backlog"
É "accept_filter".
</para>
<para lang="en">
the "bl" and "af" parameters of the "listen" directive was renamed to
the "backlog" and "accept_filter".
</para>
</change>

<change type="feature">
<para lang="ru">
ÐÁÒÁÍÅÔÒÙ "rcvbuf" É "sndbuf" × ÄÉÒÅËÔÉ×Å listen.
</para>
<para lang="en">
the "rcvbuf" and "sndbuf" parameters of the "listen" directive.
</para>
</change>

<change type="change">
<para lang="ru">
ÐÁÒÁÍÅÔÒ ÌÏÇÁ $msec ÔÅÐÅÒØ ÎÅ ÔÒÅÂÕÅÔ ÄÏÐÏÌÎÉÔÅÌØÎÏÇÏ ÓÉÓÔÅÍÎÏÇÏ
×ÙÚÏ×Á gettimeofday().
</para>
<para lang="en">
the "$msec" log parameter does not require now the additional
the gettimeofday() system call.
</para>
</change>

<change type="feature">
<para lang="ru">
ËÌÀÞ -t ÔÅÐÅÒØ ÐÒÏ×ÅÒÑÅÔ ÄÉÒÅËÔÉ×Ù listen.
</para>
<para lang="en">
the -t switch now tests the "listen" directives.
</para>
</change>

<change type="bugfix">
<para lang="ru">
ÅÓÌÉ × ÄÉÒÅËÔÉ×Å listen ÂÙÌ ÕËÁÚÁÎ ÎÅ×ÅÒÎÙÊ ÁÄÒÅÓ, ÔÏ nginx ÐÏÓÌÅ
ÓÉÇÎÁÌÁ -HUP ÏÓÔÁ×ÌÑÌ ÏÔËÒÙÔÙÊ ÓÏËÅÔ × ÓÏÓÔÏÑÎÉÉ CLOSED.
</para>
<para lang="en">
if the invalid address was specified in the "listen" directive, then
after the -HUP signal nginx left an open socket in the CLOSED state.
</para>
</change>

<change type="bugfix">
<para lang="ru">
ÄÌÑ ÉÎÄÅËÓÎÙÈ ÆÁÊÌÏ×, ÓÏÄÅÒÖÁÝÉÈ × ÉÍÅÎÉ ÐÅÒÅÍÅÎÎÕÀ, ÍÏÇ ÎÅ×ÅÒÎÏ ×ÙÓÔÁ×ÌÑÔØÓÑ
ÔÉÐ mime ÐÏ ÕÍÏÌÞÁÎÉÀ;
ÏÛÉÂËÁ ÐÏÑ×ÉÌÁÓØ × 0.3.0.
</para>
<para lang="en">
the mime type may be incorrectly set to default value for index file with
variable in the name;
bug appeared in 0.3.0.
</para>
</change>

<change type="feature">
<para lang="ru">
ÄÉÒÅËÔÉ×Á timer_resolution.
</para>
<para lang="en">
the "timer_resolution" directive.
</para>
</change>

<change type="feature">
<para lang="ru">
ÐÁÒÁÍÅÔÒ ÌÏÇÁ $upstream_response_time × ÍÉÌÌÉÓÅËÕÎÄÁÈ.
</para>
<para lang="en">
the millisecond "$upstream_response_time" log parameter.
</para>
</change>

<change type="bugfix">
<para lang="ru">
×ÒÅÍÅÎÎÙÊ ÆÁÊÌ Ó ÔÅÌÏÍ ÚÁÐÒÏÓÁ ËÌÉÅÎÔÁ ÔÅÐÅÒØ ÕÄÁÌÑÅÔÓÑ ÓÒÁÚÕ ÐÏÓÌÅ ÔÏÇÏ,
ËÁË ËÌÉÅÎÔÕ ÐÅÒÅÄÁÎ ÚÁÇÏÌÏ×ÏË ÏÔ×ÅÔÁ.
</para>
<para lang="en">
a temporary file with client request body now is removed just after
the response header was transferred to a client.
</para>
</change>

<change type="bugfix">
<para lang="ru">
ÓÏ×ÍÅÓÔÉÍÏÓÔØ Ó OpenSSL 0.9.6.
</para>
<para lang="en">
OpenSSL 0.9.6 compatibility.
</para>
</change>

<change type="bugfix">
<para lang="ru">
ÐÕÔÉ Ë ÆÁÊÌÁÍ Ó SSL ÓÅÒÔÉÆÉËÁÔÏÍ É ËÌÀÞÏÍ ÎÅ ÍÏÇÌÉ ÂÙÔØ ÏÔÎÏÓÉÔÅÌØÎÙÍÉ.
</para>
<para lang="en">
the SSL certificate and key file paths could not be relative.
</para>
</change>

<change type="bugfix">
<para lang="ru">
ÄÉÒÅËÔÉ×Á ssl_prefer_server_ciphers ÎÅ ÒÁÂÏÔÁÌÁ ÄÌÑ ÍÏÄÕÌÑ ngx_imap_ssl_module.
</para>
<para lang="en">
the "ssl_prefer_server_ciphers" directive did not work in
the ngx_imap_ssl_module.
</para>
</change>

<change type="bugfix">
<para lang="ru">
ÄÉÒÅËÔÉ×Á ssl_protocols ÐÏÚ×ÏÌÑÌÁ ÚÁÄÁÔØ ÔÏÌØËÏ ÏÄÉÎ ÐÒÏÔÏËÏÌ.
</para>
<para lang="en">
the "ssl_protocols" directive allowed to specify the single protocol only.
</para>
</change>

</changes>


<changes ver="0.3.2" date="12.10.2005">

<change type="feature">
Expand Down
Loading

0 comments on commit c2068d0

Please sign in to comment.