Commit Graph

484 Commits

Author SHA1 Message Date
Igor Sysoev
bd91999ea5 Win32 master/workers model 2009-04-20 06:08:47 +00:00
Igor Sysoev
b533e98252 fix Win32 ngx_gettimezone() 2009-04-19 19:08:49 +00:00
Igor Sysoev
f7a08d5f9a support attaching to an existent Win32 shared memory 2009-04-18 19:27:28 +00:00
Igor Sysoev
6ac68bcc4c update c->sent in ngx_unix_send() 2009-04-18 19:13:53 +00:00
Igor Sysoev
c7f876bd4c move zone name from ngx_shm_zone_t to ngx_shm_t to use Win32 shared memory 2009-04-16 19:25:09 +00:00
Igor Sysoev
a2de7b9b93 delete win32 ngx_file_append_mode() as we use reliable
FILE_APPEND_DATA|SYNCHRONIZE flags
2009-04-08 19:13:28 +00:00
Igor Sysoev
2ec2e35efe adopt NGX_FILE_TRUNCATE for win32 2009-04-08 19:03:41 +00:00
Igor Sysoev
c919d3178a autoconfigure crypt_r(): uclibc has no crypt_r() 2009-04-02 13:46:39 +00:00
Igor Sysoev
76f42ca21a fix OpenBSD building, broken in r2616 2009-04-02 13:44:32 +00:00
Igor Sysoev
de9fca55b1 fix MacOSX building, broken in r2616 2009-04-01 13:09:36 +00:00
Igor Sysoev
24c2787163 Win32 appends synchronized if only FILE_APPEND_DATA and SYNCHRONIZE are set
without any other flags. On the other hand, Unix requires at least the write
flag to be set together with O_APPEND.
2009-03-31 13:52:01 +00:00
Igor Sysoev
fadc7a7e81 win32 ngx_open_file() supports utf8 names and NGX_FILE_APPEND 2009-03-30 14:51:51 +00:00
Igor Sysoev
8017a63cb3 ngx_process_tray() 2009-03-30 14:46:33 +00:00
Igor Sysoev
723f71ddfe fix FreeBSD before 7 building, broken in r2616 2009-03-30 12:33:33 +00:00
Igor Sysoev
19298ec1d3 introduce cache manager instead of cache cleaner 2009-03-30 07:45:55 +00:00
Igor Sysoev
1be7419d10 ngx_fs_bsize() 2009-03-30 07:43:06 +00:00
Igor Sysoev
a1e9bfbc85 fix ngx_wsasend_chain() 2009-03-29 16:58:23 +00:00
Igor Sysoev
52859f2f13 a prelimiary proxy cache support 2009-03-23 13:14:51 +00:00
Igor Sysoev
78c95de9da XFS on Linux does not set dirent.d_type,
therefore fallback to stat() if dirent.d_type is not set,
this fixes slash after directory name in ngx_http_autoindex_module;
the issue has been introduced in r2235
2009-03-06 13:01:21 +00:00
Igor Sysoev
49e140ed6c fix message 2009-02-23 09:42:35 +00:00
Igor Sysoev
a35eaccdec a prelimiary IPv6 support, HTTP listen 2009-02-21 07:02:02 +00:00
Igor Sysoev
9f751a8324 AIX has no WCOREDUMP() 2009-02-05 16:01:50 +00:00
Igor Sysoev
7dcbfe67ef use GetFileAttributesEx() instead of GetFileAttributes() 2009-01-21 15:56:29 +00:00
Igor Sysoev
5aa6d223a6 fix win32 ngx_is_dir(), etc 2009-01-21 15:53:09 +00:00
Igor Sysoev
1cf4988be6 fix r1981 on win32 2009-01-21 14:17:57 +00:00
Igor Sysoev
97bf6c760a set send() slot for POSIX systems 2008-12-25 20:07:12 +00:00
Igor Sysoev
ed9b6d8962 remove never used zero copy stuff 2008-12-17 20:47:18 +00:00
Igor Sysoev
524f54f56d use ngx_ext_rename_file() for single file MOVE 2008-12-10 14:53:45 +00:00
Igor Sysoev
a70d3962bb compact win32 errno logging 2008-12-09 17:41:17 +00:00
Igor Sysoev
04f7dbb9cd remove stale pragma 2008-12-09 17:26:42 +00:00
Igor Sysoev
33930d82ce ngx_strerror_r() style and size == 0 bug fix 2008-11-25 11:26:32 +00:00
Igor Sysoev
a25d29ff6f the sysctl "kern.ostype" and "kern.osrelease" had appeared in MacOSX 10.5 only 2008-11-11 19:44:30 +00:00
Igor Sysoev
f2884e194a compatibility with glibc 2.3, warn_unused_result attribute for write() 2008-11-11 16:17:45 +00:00
Igor Sysoev
6736614275 $realpath_root 2008-09-27 11:53:41 +00:00
Igor Sysoev
fae2c00d02 disable directio for unaligned reads in Linux 2008-09-12 13:50:12 +00:00
Igor Sysoev
dfc8dadd04 *) autoconfigure struct dirent capabilities
*) move src/os/.../ngx_types.h's content into src/os/.../ngx_files.h and
   delete src/os/.../ngx_types.h
2008-09-05 15:43:34 +00:00
Igor Sysoev
c3995ff670 style fix 2008-09-05 14:53:17 +00:00
Igor Sysoev
fcb5a705dd ngx_timezone_update() 2008-08-30 19:52:07 +00:00
Igor Sysoev
316eafb88d fix build on Linux and Solaris introduced in r2200 2008-08-26 17:15:11 +00:00
Igor Sysoev
843ad94e81 fix building on FreeBSD prior to 4.8, it has no GLOB_NOMATCH 2008-08-22 12:54:32 +00:00
Igor Sysoev
b17e33293a fix log message 2008-08-15 20:14:49 +00:00
Igor Sysoev
2b29a703bb fix building by bcc broken in r2143 2008-08-04 20:23:21 +00:00
Igor Sysoev
b83f893c75 Solaris directio() 2008-08-04 15:32:10 +00:00
Igor Sysoev
90815b49af fix building by msvc8 introduced in r2127 2008-08-04 14:56:25 +00:00
Igor Sysoev
eb3e4c8be0 fix building by bcc broken in r2130 2008-08-04 09:14:30 +00:00
Igor Sysoev
a3e9f7d306 fix conflicting names "true" and "false" 2008-07-31 07:55:46 +00:00
Igor Sysoev
385af28642 directio 2008-07-30 12:34:04 +00:00
Igor Sysoev
7494490978 *) move Darwin support to separate files
*) Darwin sendfile() support
2008-07-30 12:18:07 +00:00
Igor Sysoev
0f17f6ce9f case insensitive file system location support provided by locale only 2008-07-29 16:55:11 +00:00
Igor Sysoev
7f6b2ffc60 *) back out r2040
*) refactor ngx_palloc()
*) introduce ngx_pnalloc()
*) additional pool blocks have smaller header
2008-06-17 15:00:30 +00:00
Igor Sysoev
4c8eb4263f read channel until EAGAIN 2008-05-25 18:27:38 +00:00
Igor Sysoev
ccd55fc2ca fix building on modern Fedora 9 caused by IOV_MAX 2008-05-20 13:45:07 +00:00
Igor Sysoev
433608c180 style fix: remove tabs and trailing spaces 2008-05-14 07:54:52 +00:00
Igor Sysoev
a13b3b97ea ignore glob no match error 2008-04-29 09:28:42 +00:00
Igor Sysoev
b39b9aa59a Cygwin O_BINARY mode 2008-04-24 19:19:26 +00:00
Igor Sysoev
d52c878692 grammar fix 2008-04-09 19:09:13 +00:00
Igor Sysoev
f84ad941dc it seems that malloc.h is required for Cygwin only
and breaks building on other platforms
2008-03-23 15:42:40 +00:00
Igor Sysoev
5d6ca1e3e4 fix r1921 2008-03-12 19:34:36 +00:00
Igor Sysoev
001a9cfa37 disable rtsig automatic building in post 2.6.18 Linux kernels 2008-03-10 14:35:21 +00:00
Igor Sysoev
02aa53be83 left open sockets were not really tested 2008-02-28 20:31:33 +00:00
Igor Sysoev
09248b7a55 use CMSG_LEN(), this fixes an alert "sendmsg() failed (9: Bad file descriptor)"
on some 64-bit platforms
2008-02-19 16:34:55 +00:00
Igor Sysoev
bb7c84159f avoid endless loop if epoll is used 2008-02-19 16:30:54 +00:00
Igor Sysoev
c463ece9d7 reset ready flag if no data is available,
this fixes endless loop at least in lingering close
2008-01-31 15:36:33 +00:00
Igor Sysoev
02d8e8e377 add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWN 2008-01-25 14:57:35 +00:00
Igor Sysoev
5e593aa34e take MALLOC_OPTIONS=J into account in slab allocator 2007-12-22 11:06:53 +00:00
Igor Sysoev
86ef6aaa6b move condition declarations inside blocks where they are used 2007-12-10 12:09:51 +00:00
Igor Sysoev
27dd6a62bd use malloc() in ngx_win32_rename_file, set crit level instead of error 2007-12-07 19:57:13 +00:00
Igor Sysoev
e67d46189c ngx_udp_recv() 2007-12-03 16:46:46 +00:00
Igor Sysoev
26aae392f9 style fix 2007-12-01 21:05:19 +00:00
Igor Sysoev
f49491236f axe old unused alert message 2007-12-01 20:31:59 +00:00
Igor Sysoev
06187cec1e style fix 2007-12-01 20:25:32 +00:00
Igor Sysoev
b4e5b4c884 style fix: remove trailing spaces 2007-12-01 19:57:37 +00:00
Igor Sysoev
a8c1332720 enable getenv() and gmtime() in msvc8 2007-11-15 14:34:10 +00:00
Igor Sysoev
a0951d5494 fix win32 ngx_read_fd() and ngx_write_fd() 2007-11-11 19:56:46 +00:00
Igor Sysoev
479c786e0d TransmitPackets(), ConnectEx(), and DisconnectEx() 2007-11-11 18:56:50 +00:00
Igor Sysoev
2afdfdcadb fix win32 glob 2007-11-11 17:50:47 +00:00
Igor Sysoev
4724f2b17c use uname(2) instead of /proc/, this allows to run nginx in chroot 2007-10-26 16:38:53 +00:00
Igor Sysoev
31d6f9590a Cygwin can not pass SCM_RIGHTS via unix socket, use signals 2007-10-18 11:28:21 +00:00
Igor Sysoev
35ab2cb373 fix building broken in r1578 2007-10-16 19:22:27 +00:00
Igor Sysoev
ac03c9c303 delete code that should be deleted in r1576 2007-10-16 17:51:47 +00:00
Igor Sysoev
80c94f260e Cygwin support 2007-10-16 14:14:30 +00:00
Igor Sysoev
dde2abde39 avoid segfault if poll is used and endless loop if select is used 2007-10-16 14:12:52 +00:00
Igor Sysoev
2d3f3f6eb6 fix English grammar 2007-10-14 18:56:15 +00:00
Igor Sysoev
bfb23bf604 style fix: remove double semicolons 2007-10-09 20:11:03 +00:00
Igor Sysoev
1356622e55 destroy ngx_cycle->pool on exit 2007-08-30 18:59:44 +00:00
Igor Sysoev
b53e86a195 win32 ngx_is_exec() stub 2007-08-30 18:57:38 +00:00
Igor Sysoev
4edb1d61e9 set worker_priority, worker_rlimit_nofile, worker_rlimit_core, and
worker_rlimit_sigpending without super-user privileges testing
2007-08-15 20:53:30 +00:00
Igor Sysoev
031a6e2906 set default listen() backlog to 511 on all platforms except FreeBSD 2007-08-09 13:32:21 +00:00
Igor Sysoev
83a6851b28 make 64-bit ngx_int_t on 64-bit platforms 2007-07-29 18:24:53 +00:00
Igor Sysoev
d3cdbc85e8 Sun Studio 12 compatibility 2007-07-16 08:54:04 +00:00
Igor Sysoev
de27bce24e --with-cpu-opt=sparc32 and --with-cpu-opt=sparc64 2007-07-15 20:09:14 +00:00
Igor Sysoev
c5a60bb4a0 add debug log 2007-05-07 07:04:00 +00:00
Igor Sysoev
875893b846 fix building by owc12 2007-05-05 05:50:41 +00:00
Igor Sysoev
dc566e4bd6 fix atomic operations on sparc64 built by SunPro C 2007-04-27 14:36:28 +00:00
Igor Sysoev
57a713c67c fix sendfile on 64-bit Linux and limit_rate on all 64-bit platforms
for 2G+ files
2007-04-23 21:32:13 +00:00
Igor Sysoev
4ddeff4956 close keep-alive connections in the shuting down processes 2007-03-19 13:20:15 +00:00
Igor Sysoev
e1f43ce292 worker processes did not exit after reconfiguration and
did not rotate logs if eventport was used
2007-03-07 10:25:16 +00:00
Igor Sysoev
b69d913c6f style fix 2007-03-06 20:29:08 +00:00
Igor Sysoev
11d86a4457 style fix 2007-03-06 20:17:50 +00:00
Igor Sysoev
b4123b94ff ioctl FIONBIO uses int, so nginx did not work on big-endian 64-bit platforms 2007-02-17 19:53:52 +00:00