Commit graph

97 commits

Author SHA1 Message Date
Igor Sysoev
462ab8826d merge r2986, r2992, r3032:
ngx_http_geoip_module
2009-10-26 16:38:44 +00:00
Igor Sysoev
fea94dde50 merge r2950, r2951:
cache related fixes:

*) fix building --without-http-cache, broken in r2945
*) fix ./configure error message
2009-06-22 09:29:10 +00:00
Igor Sysoev
4bf4a52828 merge r2897, r2898, r2899, r2901, r2902, r2904, r2905, r2906, r2907,
r2909, r2910, r2922, r2923, r2924, r2925, r2929:

various win32 fixes:

*) use no-threads for Unix builds only
*) Win32 returns ERROR_PATH_NOT_FOUND instead of ERROR_FILE_NOT_FOUND
*) add trailing zero to a file name in ngx_win32_rename_file()
*) fix logging in ngx_win32_rename_file()
*) allow shared memory segments more than 4G
*) fix memory leak in successful case
*) log shared memory name in failure case
*) test that zone has the same addresses in different processes
*) add drive letter for Win32 root path
*) log GetExitCodeProcess()'s errno
*) test premature process termination
*) fix debug logging
*) exit if no workers could not be started
*) do not quit old workers if no new workers could not be started
*) a signaller process should stop configuration processing just after
   it is able to get pid file, this allows to not open log files, etc.
*) win32 master process had aready closed listening sockets
2009-06-15 09:48:15 +00:00
Igor Sysoev
2f2fb78ff8 merge r2893, r2894, and r2917:
various ./configure fixes:

*) use md5/sha1 in OpenSSL only if OpenSSL is used
*) stop ./configure at once on library failure
*) librt must be tested before creating Makefile
   the bug has been introduced in r2817
2009-06-15 08:49:53 +00:00
Igor Sysoev
c8a13e5c23 allow absolute path in --with-openssl= 2009-05-24 14:14:08 +00:00
Igor Sysoev
434948cc98 use -ldl for any OS that needs it 2009-05-22 09:22:28 +00:00
Igor Sysoev
a1a327f287 fix building OpenSSL on Unix 2009-05-19 12:12:36 +00:00
Igor Sysoev
f8411dbc86 fix building OpenSSL on Win32 2009-05-14 15:46:34 +00:00
Igor Sysoev
6471b58d09 switch Win32 building to modern PCRE versions (starting from 7.1)
instead of single old 4.4 version
2009-05-13 19:48:21 +00:00
Igor Sysoev
71cf32439f add miltilines in OpenWatcom makefiles 2009-05-12 13:29:00 +00:00
Igor Sysoev
51e65de30a backout r2833: CURDIR was set to Unix style path
instead, do chdir inside Makefile
2009-05-12 13:15:43 +00:00
Igor Sysoev
2b4d8f60ad correctly apply patch 2009-05-12 09:35:14 +00:00
Igor Sysoev
5e2e84b975 use $(CURDIR) instead of "..\..\.." because the later does not allow to use
options as --with-zlib=../zlib-1.2.3.  It seems there is no common way
to learn the current directory in Win32 make's: although nmake has MAKEDIR
variable, nevertheless Borland make's MAKEDIR is the directory where make
is installed, and OpenWatcom wmake has no MAKEDIR at all.
2009-05-11 18:02:06 +00:00
Igor Sysoev
09dd00879f test whether libdl is required for dynamic linking:
Solaris 10 has dlopen()/etc. in libc
2009-05-08 09:39:53 +00:00
Igor Sysoev
377aa46831 move libmd test before libmd5,
this fixes wrong linking with /usr/local/lib/libmd5.so from libwww package
on FreeBSD. The library uses long's instead of int32_t's in MD5_CTX
and on 64-bit platforms its MD5_CTX is bigger than defined in <md5.h>
2009-05-07 19:18:10 +00:00
Igor Sysoev
24e8356bd3 add libgd include path 2009-05-04 15:57:12 +00:00
Igor Sysoev
7e2efefd53 ngx_http_image_filter_module 2009-05-01 18:42:09 +00:00
Igor Sysoev
75fb6526fc *) move advapi32.lib to core libs since it's required for Registry and Event Log
*) delete shell32.lib since we do not use tray icon anymore
2009-04-21 14:31:40 +00:00
Igor Sysoev
a9459cfc60 OpenSSL building by MSVC and BCC from sources 2009-04-15 19:46:24 +00:00
Igor Sysoev
93d9b413c1 hide grep errors 2009-04-15 11:47:51 +00:00
Igor Sysoev
fea52523b7 exslt support 2008-11-11 15:22:24 +00:00
Igor Sysoev
2e0ba6a9bd exit on libxslt test failure 2008-08-13 08:32:35 +00:00
Igor Sysoev
542e079b0e update comment 2008-08-04 14:54:12 +00:00
Igor Sysoev
99dbc09d5b ngx_http_xslt_filter_module 2008-08-04 14:48:15 +00:00
Igor Sysoev
098db9e3be simplify library autoconfigure 2008-05-16 14:32:58 +00:00
Igor Sysoev
e308649c82 ngx_google_perftools_module 2008-03-18 10:36:27 +00:00
Igor Sysoev
c7016edacd add rpath for Solaris 2007-09-19 12:14:05 +00:00
Igor Sysoev
12ee774d04 fix bug introduced by r1306 2007-07-20 18:33:44 +00:00
Igor Sysoev
5aff3fd765 fix building PCRE by SunStudio 2007-07-15 19:17:46 +00:00
Igor Sysoev
42e902b6aa Solaris compatibility 2007-07-15 14:45:51 +00:00
Igor Sysoev
81d5025013 icc/sunc and PCRE-7.1+ compatibility 2007-07-15 14:44:53 +00:00
Igor Sysoev
d70e20e6c2 fix building ngx_http_perl_module by Solaris make 2007-04-28 07:59:53 +00:00
Igor Sysoev
342df6886d fix make dependecies: pcre-6.5+ already has pcre.h 2007-04-18 11:09:38 +00:00
Igor Sysoev
326a213f77 test PCRE in MacPorts 2007-01-27 19:51:00 +00:00
Igor Sysoev
86cc87a98a icc and PCRE-6.5+ compatibility 2007-01-10 16:15:49 +00:00
Igor Sysoev
825766b6fb do not build OpenSSL with threads, if they are not used 2007-01-10 15:21:44 +00:00
Igor Sysoev
39592de19f fix for nginx.pm default installation 2006-12-24 18:23:11 +00:00
Igor Sysoev
eba84da7d6 backout the r945: the nginx.pm could not be loaded at all,
next try to fix --with-perl_modules_path= for unpriviliged user installation
2006-12-24 18:12:18 +00:00
Igor Sysoev
c01a183fd7 fix --with-perl_modules_path= for unpriviliged user installation 2006-12-23 19:16:06 +00:00
Igor Sysoev
61eca02df7 fix the previous commit 2006-11-27 11:12:34 +00:00
Igor Sysoev
3babe9f770 test PCRE in FreeBSD, Linux, and NetBSD 2006-11-27 11:07:09 +00:00
Igor Sysoev
97fd87d7ff Axe several perl interpreter instances: they may be useful in currently
unsupported threaded environment, but now they complicate code:
*) perl_clone() requires at least duplicating nginx stash;
*) the multiplicity requires to re-evalute all precompiled subroutines
   and nginx stash in new interpreter context.
2006-11-26 14:35:27 +00:00
Igor Sysoev
e332d9814e force perl modules reinstallation after rebuilding 2006-10-05 14:18:08 +00:00
Igor Sysoev
a5719ead3e nginx-0.4.0-RELEASE import
*) Change in internal API: the HTTP modules initialization was moved
       from the init module phase to the HTTP postconfiguration phase.

    *) Change: now the request body is not read beforehand for the
       ngx_http_perl_module: it's required to start the reading using the
       $r->has_request_body method.

    *) Feature: the ngx_http_perl_module supports the DECLINED return code.

    *) Feature: the ngx_http_dav_module supports the incoming "Date" header
       line for the PUT method.

    *) Feature: the "ssi" directive is available inside the "if" block.

    *) Bugfix: a segmentation fault occurred if there was an "index"
       directive with variables and the first index name was without
       variables; the bug had appeared in 0.1.29.
2006-08-30 10:39:17 +00:00
Igor Sysoev
fd09392ca9 nginx-0.3.59-RELEASE import
*) Feature: now is possible to do several redirection using the
       "error_page" directive.

    *) Bugfix: the "dav_access" directive did not support three parameters.

    *) Bugfix: the "error_page" directive did not changes the
       "Content-Type" header line after the "X-Accel-Redirect" was used;
       the bug had appeared in 0.3.58.
2006-08-16 13:09:33 +00:00
Igor Sysoev
f08b1910d9 nginx-0.3.56-RELEASE import
*) Feature: the "dav_access" directive.

    *) Feature: the "if" directive supports the "-d", "!-d", "-e", "!-e",
       "-x", and "!-x" operators.

    *) Bugfix: a segmentation fault occurred if a request returned a
       redirect and some sent to client header lines were logged in the
       access log.
2006-08-04 16:04:04 +00:00
Igor Sysoev
5bb8719d12 nginx-0.3.48-RELEASE import
*) Change: now the ngx_http_charset_module works for subrequests, if
       the response has no "Content-Type" header line.

    *) Bugfix: if the "proxy_pass" directive has no URI part, then the
       "proxy_redirect default" directive add the unnecessary slash in
       start of the rewritten redirect.

    *) Bugfix: the internal redirect always transform client's HTTP method
       to GET, now the transformation is made for the "X-Accel-Redirect"
       redirects only and if the method is not HEAD; the bug had appeared
       in 0.3.42.

    *) Bugfix: the ngx_http_perl_module could not be built, if the perl was
       built with the threads support; the bug had appeared in 0.3.46.
2006-05-29 17:28:12 +00:00
Igor Sysoev
4bcaae3ca6 nginx-0.3.22-RELEASE import
*) Feature: the ngx_http_perl_module supports the $r->args and
       $r->unescape methods.

    *) Feature: the method $r->query_string of ngx_http_perl_module was
       canceled.

    *) Bugfix: segmentation fault was occurred if the "none" or "blocked"
       values was specified in the "valid_referers" directive; the bug had
       appeared in 0.3.18.
2006-01-17 20:04:32 +00:00
Igor Sysoev
3ca3a6b229 nginx-0.3.21-RELEASE import
*) Feature: the ngx_http_perl_module.

    *) Change: the "valid_referers" directive allows the referreres without
       URI part.
2006-01-16 14:56:53 +00:00
Igor Sysoev
61e066131b nginx-0.3.18-RELEASE import
*) Feature: the "server_names" directive supports the ".domain.tld"
       names.

    *) Feature: the "server_names" directive uses the hash for the
       "*.domain.tld" names and more effective hash for usual names.

    *) Change: the "server_names_hash_max_size" and
       "server_names_hash_bucket_size" directives.

    *) Change: the "server_names_hash" and "server_names_hash_threshold"
       directives were canceled.

    *) Feature: the "valid_referers" directive uses the hash site names.

    *) Change: now the "valid_referers" directive checks the site names
       only without the URI part.

    *) Bugfix: some ".domain.tld" names incorrectly processed by the
       ngx_http_map_module.

    *) Bugfix: segmentation fault was occurred if configuration file did
       not exist; the bug had appeared in 0.3.12.

    *) Bugfix: on 64-bit platforms segmentation fault may occurred on
       start; the bug had appeared in 0.3.16.
2005-12-26 17:07:48 +00:00