Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/nginx.c16
-rw-r--r--src/core/nginx.h2
-rw-r--r--src/core/ngx_array.c2
-rw-r--r--src/core/ngx_array.h2
-rw-r--r--src/core/ngx_buf.c2
-rw-r--r--src/core/ngx_buf.h2
-rw-r--r--src/core/ngx_conf_file.c2
-rw-r--r--src/core/ngx_conf_file.h2
-rw-r--r--src/core/ngx_config.h2
-rw-r--r--src/core/ngx_connection.c2
-rw-r--r--src/core/ngx_connection.h2
-rw-r--r--src/core/ngx_core.h2
-rw-r--r--src/core/ngx_crc.h2
-rw-r--r--src/core/ngx_cycle.c6
-rw-r--r--src/core/ngx_cycle.h2
-rw-r--r--src/core/ngx_file.c2
-rw-r--r--src/core/ngx_file.h2
-rw-r--r--src/core/ngx_garbage_collector.c2
-rw-r--r--src/core/ngx_garbage_collector.h2
-rw-r--r--src/core/ngx_inet.c2
-rw-r--r--src/core/ngx_inet.h2
-rw-r--r--src/core/ngx_list.c2
-rw-r--r--src/core/ngx_list.h2
-rw-r--r--src/core/ngx_log.c57
-rw-r--r--src/core/ngx_log.h2
-rw-r--r--src/core/ngx_output_chain.c2
-rw-r--r--src/core/ngx_palloc.c2
-rw-r--r--src/core/ngx_palloc.h2
-rw-r--r--src/core/ngx_parse.c2
-rw-r--r--src/core/ngx_parse.h2
-rw-r--r--src/core/ngx_radix_tree.c2
-rw-r--r--src/core/ngx_radix_tree.h2
-rw-r--r--src/core/ngx_rbtree.c2
-rw-r--r--src/core/ngx_rbtree.h2
-rw-r--r--src/core/ngx_regex.c2
-rw-r--r--src/core/ngx_regex.h2
-rw-r--r--src/core/ngx_slab.c2
-rw-r--r--src/core/ngx_slab.h2
-rw-r--r--src/core/ngx_spinlock.c2
-rw-r--r--src/core/ngx_string.c2
-rw-r--r--src/core/ngx_string.h2
-rw-r--r--src/core/ngx_table.h2
-rw-r--r--src/core/ngx_times.c2
-rw-r--r--src/core/ngx_times.h2
-rw-r--r--src/event/modules/ngx_aio_module.c2
-rw-r--r--src/event/modules/ngx_aio_module.h2
-rw-r--r--src/event/modules/ngx_devpoll_module.c2
-rw-r--r--src/event/modules/ngx_epoll_module.c2
-rw-r--r--src/event/modules/ngx_iocp_module.c2
-rw-r--r--src/event/modules/ngx_iocp_module.h2
-rw-r--r--src/event/modules/ngx_kqueue_module.c2
-rw-r--r--src/event/modules/ngx_kqueue_module.h2
-rw-r--r--src/event/modules/ngx_poll_module.c2
-rw-r--r--src/event/modules/ngx_rtsig_module.c2
-rw-r--r--src/event/modules/ngx_select_module.c2
-rw-r--r--src/event/ngx_event.c2
-rw-r--r--src/event/ngx_event.h2
-rw-r--r--src/event/ngx_event_accept.c2
-rw-r--r--src/event/ngx_event_acceptex.c2
-rw-r--r--src/event/ngx_event_busy_lock.c2
-rw-r--r--src/event/ngx_event_busy_lock.h2
-rw-r--r--src/event/ngx_event_connect.c2
-rw-r--r--src/event/ngx_event_connect.h2
-rw-r--r--src/event/ngx_event_connectex.c2
-rw-r--r--src/event/ngx_event_mutex.c2
-rw-r--r--src/event/ngx_event_openssl.c2
-rw-r--r--src/event/ngx_event_openssl.h2
-rw-r--r--src/event/ngx_event_pipe.c2
-rw-r--r--src/event/ngx_event_pipe.h2
-rw-r--r--src/event/ngx_event_posted.c2
-rw-r--r--src/event/ngx_event_posted.h2
-rw-r--r--src/event/ngx_event_timer.c2
-rw-r--r--src/event/ngx_event_timer.h2
-rw-r--r--src/http/modules/ngx_http_access_handler.c2
-rw-r--r--src/http/modules/ngx_http_charset_filter.c2
-rw-r--r--src/http/modules/ngx_http_chunked_filter.c2
-rw-r--r--src/http/modules/ngx_http_gzip_filter.c2
-rw-r--r--src/http/modules/ngx_http_headers_filter.c2
-rw-r--r--src/http/modules/ngx_http_index_handler.c2
-rw-r--r--src/http/modules/ngx_http_not_modified_filter.c2
-rw-r--r--src/http/modules/ngx_http_range_filter.c2
-rw-r--r--src/http/modules/ngx_http_rewrite_handler.c2
-rw-r--r--src/http/modules/ngx_http_ssi_filter.c2
-rw-r--r--src/http/modules/ngx_http_ssl_module.c2
-rw-r--r--src/http/modules/ngx_http_ssl_module.h2
-rw-r--r--src/http/modules/ngx_http_static_handler.c2
-rw-r--r--src/http/modules/ngx_http_status_handler.c2
-rw-r--r--src/http/modules/ngx_http_userid_filter.c2
-rw-r--r--src/http/modules/proxy/ngx_http_proxy_cache.c2
-rw-r--r--src/http/modules/proxy/ngx_http_proxy_handler.c2
-rw-r--r--src/http/modules/proxy/ngx_http_proxy_handler.h2
-rw-r--r--src/http/modules/proxy/ngx_http_proxy_header.c2
-rw-r--r--src/http/modules/proxy/ngx_http_proxy_parse.c2
-rw-r--r--src/http/modules/proxy/ngx_http_proxy_upstream.c2
-rw-r--r--src/http/ngx_http.c2
-rw-r--r--src/http/ngx_http.h2
-rw-r--r--src/http/ngx_http_busy_lock.c2
-rw-r--r--src/http/ngx_http_busy_lock.h2
-rw-r--r--src/http/ngx_http_cache.c2
-rw-r--r--src/http/ngx_http_cache.h2
-rw-r--r--src/http/ngx_http_config.h2
-rw-r--r--src/http/ngx_http_copy_filter.c2
-rw-r--r--src/http/ngx_http_core_module.c2
-rw-r--r--src/http/ngx_http_core_module.h2
-rw-r--r--src/http/ngx_http_file_cache.c2
-rw-r--r--src/http/ngx_http_header_filter.c2
-rw-r--r--src/http/ngx_http_log_handler.c2
-rw-r--r--src/http/ngx_http_log_handler.h2
-rw-r--r--src/http/ngx_http_parse.c2
-rw-r--r--src/http/ngx_http_parse_time.c2
-rw-r--r--src/http/ngx_http_request.c2
-rw-r--r--src/http/ngx_http_request.h2
-rw-r--r--src/http/ngx_http_request_body.c2
-rw-r--r--src/http/ngx_http_script.c2
-rw-r--r--src/http/ngx_http_script.h2
-rw-r--r--src/http/ngx_http_special_response.c2
-rw-r--r--src/http/ngx_http_write_filter.c2
-rw-r--r--src/imap/ngx_imap.c2
-rw-r--r--src/imap/ngx_imap.h2
-rw-r--r--src/imap/ngx_imap_handler.c2
-rw-r--r--src/imap/ngx_imap_parse.c2
-rw-r--r--src/imap/ngx_imap_proxy.c2
-rw-r--r--src/os/unix/ngx_aio.h2
-rw-r--r--src/os/unix/ngx_aio_read.c2
-rw-r--r--src/os/unix/ngx_aio_read_chain.c2
-rw-r--r--src/os/unix/ngx_aio_write.c2
-rw-r--r--src/os/unix/ngx_aio_write_chain.c2
-rw-r--r--src/os/unix/ngx_alloc.c2
-rw-r--r--src/os/unix/ngx_alloc.h2
-rw-r--r--src/os/unix/ngx_atomic.h2
-rw-r--r--src/os/unix/ngx_channel.c2
-rw-r--r--src/os/unix/ngx_channel.h2
-rw-r--r--src/os/unix/ngx_daemon.c2
-rw-r--r--src/os/unix/ngx_errno.c2
-rw-r--r--src/os/unix/ngx_errno.h2
-rw-r--r--src/os/unix/ngx_files.c2
-rw-r--r--src/os/unix/ngx_files.h2
-rw-r--r--src/os/unix/ngx_freebsd.h2
-rw-r--r--src/os/unix/ngx_freebsd_config.h2
-rw-r--r--src/os/unix/ngx_freebsd_init.c2
-rw-r--r--src/os/unix/ngx_freebsd_rfork_thread.c2
-rw-r--r--src/os/unix/ngx_freebsd_rfork_thread.h2
-rw-r--r--src/os/unix/ngx_freebsd_sendfile_chain.c2
-rw-r--r--src/os/unix/ngx_linux.h2
-rw-r--r--src/os/unix/ngx_linux_config.h2
-rw-r--r--src/os/unix/ngx_linux_init.c2
-rw-r--r--src/os/unix/ngx_linux_sendfile_chain.c2
-rw-r--r--src/os/unix/ngx_os.h2
-rw-r--r--src/os/unix/ngx_posix_config.h2
-rw-r--r--src/os/unix/ngx_posix_init.c2
-rw-r--r--src/os/unix/ngx_process.c2
-rw-r--r--src/os/unix/ngx_process.h2
-rw-r--r--src/os/unix/ngx_process_cycle.c2
-rw-r--r--src/os/unix/ngx_process_cycle.h2
-rw-r--r--src/os/unix/ngx_pthread_thread.c2
-rw-r--r--src/os/unix/ngx_readv_chain.c2
-rw-r--r--src/os/unix/ngx_recv.c2
-rw-r--r--src/os/unix/ngx_send.c2
-rw-r--r--src/os/unix/ngx_shared.c2
-rw-r--r--src/os/unix/ngx_shared.h2
-rw-r--r--src/os/unix/ngx_socket.c2
-rw-r--r--src/os/unix/ngx_socket.h2
-rw-r--r--src/os/unix/ngx_solaris.h2
-rw-r--r--src/os/unix/ngx_solaris_config.h2
-rw-r--r--src/os/unix/ngx_solaris_init.c2
-rw-r--r--src/os/unix/ngx_solaris_sendfilev_chain.c2
-rw-r--r--src/os/unix/ngx_thread.h2
-rw-r--r--src/os/unix/ngx_time.c2
-rw-r--r--src/os/unix/ngx_time.h2
-rw-r--r--src/os/unix/ngx_types.h2
-rw-r--r--src/os/unix/ngx_user.h2
-rw-r--r--src/os/unix/ngx_writev_chain.c2
-rw-r--r--src/os/unix/rfork_thread.S2
-rw-r--r--src/os/win32/ngx_alloc.c2
-rw-r--r--src/os/win32/ngx_alloc.h2
-rw-r--r--src/os/win32/ngx_atomic.h2
-rw-r--r--src/os/win32/ngx_errno.c2
-rw-r--r--src/os/win32/ngx_errno.h2
-rw-r--r--src/os/win32/ngx_files.c2
-rw-r--r--src/os/win32/ngx_files.h2
-rw-r--r--src/os/win32/ngx_os.h2
-rw-r--r--src/os/win32/ngx_process.c2
-rw-r--r--src/os/win32/ngx_process.h2
-rw-r--r--src/os/win32/ngx_process_cycle.c2
-rw-r--r--src/os/win32/ngx_process_cycle.h2
-rw-r--r--src/os/win32/ngx_service.c2
-rw-r--r--src/os/win32/ngx_shared.h2
-rw-r--r--src/os/win32/ngx_socket.c2
-rw-r--r--src/os/win32/ngx_socket.h2
-rw-r--r--src/os/win32/ngx_stat.c2
-rw-r--r--src/os/win32/ngx_thread.h2
-rw-r--r--src/os/win32/ngx_time.c2
-rw-r--r--src/os/win32/ngx_time.h2
-rw-r--r--src/os/win32/ngx_types.h2
-rw-r--r--src/os/win32/ngx_user.h2
-rw-r--r--src/os/win32/ngx_win32_config.h2
-rw-r--r--src/os/win32/ngx_win32_init.c2
-rw-r--r--src/os/win32/ngx_wsarecv.c2
-rw-r--r--src/os/win32/ngx_wsarecv_chain.c2
-rw-r--r--src/os/win32/ngx_wsasend_chain.c2
200 files changed, 216 insertions, 257 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index 236a65b0f..0f37f2ad8 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
@@ -95,8 +95,6 @@ ngx_module_t ngx_core_module = {
ngx_uint_t ngx_max_module;
-ngx_uint_t ngx_use_stderr;
-
int main(int argc, char *const *argv)
{
@@ -120,7 +118,9 @@ int main(int argc, char *const *argv)
ngx_pid = ngx_getpid();
- log = ngx_log_init_errlog();
+ if (!(log = ngx_log_init_errlog())) {
+ return 1;
+ }
#if (NGX_OPENSSL)
ngx_ssl_init(log);
@@ -144,10 +144,6 @@ int main(int argc, char *const *argv)
return 1;
}
- if (ngx_use_stderr) {
- log = ngx_log_init_errlog();
- }
-
if (ngx_os_init(log) == NGX_ERROR) {
return 1;
}
@@ -326,10 +322,6 @@ static ngx_int_t ngx_getopt(ngx_master_ctx_t *ctx, ngx_cycle_t *cycle)
ngx_test_config = 1;
break;
- case 's':
- ngx_use_stderr = 1;
- break;
-
case 'c':
if (ctx->argv[i + 1] == NULL) {
ngx_log_error(NGX_LOG_EMERG, cycle->log, 0,
diff --git a/src/core/nginx.h b/src/core/nginx.h
index c53ad7a54..66b5c3356 100644
--- a/src/core/nginx.h
+++ b/src/core/nginx.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_array.c b/src/core/ngx_array.c
index 0bc25a931..6eae76ffd 100644
--- a/src/core/ngx_array.c
+++ b/src/core/ngx_array.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_array.h b/src/core/ngx_array.h
index 6a2fe0357..826395de6 100644
--- a/src/core/ngx_array.h
+++ b/src/core/ngx_array.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_buf.c b/src/core/ngx_buf.c
index ca64783e7..72b558bc8 100644
--- a/src/core/ngx_buf.c
+++ b/src/core/ngx_buf.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_buf.h b/src/core/ngx_buf.h
index fa2a544d0..3e014d17a 100644
--- a/src/core/ngx_buf.h
+++ b/src/core/ngx_buf.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index 99c5df1cf..6387fadc0 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h
index 567c86cfd..fc0533760 100644
--- a/src/core/ngx_conf_file.h
+++ b/src/core/ngx_conf_file.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h
index f23176dba..7e3e6828c 100644
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 5b663740a..698342fbd 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index a9250848d..7a0345099 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h
index 671956e33..909ab8edf 100644
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_crc.h b/src/core/ngx_crc.h
index 208001d48..b78f479e4 100644
--- a/src/core/ngx_crc.h
+++ b/src/core/ngx_crc.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c
index 86528ba1e..a545c61d7 100644
--- a/src/core/ngx_cycle.c
+++ b/src/core/ngx_cycle.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
@@ -29,7 +29,11 @@ ngx_tls_key_t ngx_core_tls_key;
static ngx_connection_t dumb;
/* STUB */
+#ifdef NGX_ERROR_LOG_PATH
static ngx_str_t error_log = ngx_string(NGX_ERROR_LOG_PATH);
+#else
+static ngx_str_t error_log = ngx_null_string;
+#endif
ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle)
diff --git a/src/core/ngx_cycle.h b/src/core/ngx_cycle.h
index f1e88b1ed..45b7b23b0 100644
--- a/src/core/ngx_cycle.h
+++ b/src/core/ngx_cycle.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_file.c b/src/core/ngx_file.c
index 7ae77de6e..c7ee51372 100644
--- a/src/core/ngx_file.c
+++ b/src/core/ngx_file.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_file.h b/src/core/ngx_file.h
index d6ca67db0..9a6fe6efa 100644
--- a/src/core/ngx_file.h
+++ b/src/core/ngx_file.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_garbage_collector.c b/src/core/ngx_garbage_collector.c
index ea2529aad..d73ca959f 100644
--- a/src/core/ngx_garbage_collector.c
+++ b/src/core/ngx_garbage_collector.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_garbage_collector.h b/src/core/ngx_garbage_collector.h
index b445944e9..72f97604d 100644
--- a/src/core/ngx_garbage_collector.h
+++ b/src/core/ngx_garbage_collector.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_inet.c b/src/core/ngx_inet.c
index 5000ee076..bf8a788ea 100644
--- a/src/core/ngx_inet.c
+++ b/src/core/ngx_inet.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_inet.h b/src/core/ngx_inet.h
index 5e30c9e33..d0e1f8dfb 100644
--- a/src/core/ngx_inet.h
+++ b/src/core/ngx_inet.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_list.c b/src/core/ngx_list.c
index 85e3b6459..236eff4f9 100644
--- a/src/core/ngx_list.c
+++ b/src/core/ngx_list.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_list.h b/src/core/ngx_list.h
index b65eff361..046bdee16 100644
--- a/src/core/ngx_list.h
+++ b/src/core/ngx_list.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c
index be899e3f7..07df34474 100644
--- a/src/core/ngx_log.c
+++ b/src/core/ngx_log.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
@@ -112,7 +112,9 @@ void ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
if (err) {
if (len > max - 50) {
+
/* leave a space for an error code */
+
len = max - 50;
errstr[len++] = '.';
errstr[len++] = '.';
@@ -222,40 +224,6 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...)
#endif
-#if 0
-
-void ngx_log_stderr(ngx_event_t *ev)
-{
- char errstr[MAX_ERROR_STR];
- ssize_t n;
- ngx_err_t err;
-
- for ( ;; ) {
- n = read((ngx_fd_t) ev->data, errstr, sizeof(errstr - 1));
-
- if (n == -1) {
- err = ngx_errno;
- if (err == NGX_EAGAIN) {
- return;
- }
-
- ngx_log_error(NGX_LOG_ALERT, &ngx_log, err, "read() failed");
- return;
- }
-
- if (n == 0) {
- ngx_log_error(NGX_LOG_ALERT, &ngx_log, 0, "stderr clolsed");
- return;
- }
-
- errstr[n] = '\0';
- ngx_log_error(NGX_LOG_STDERR, &ngx_log, 0, "%s", errstr);
- }
-}
-
-#endif
-
-
ngx_log_t *ngx_log_init_errlog()
{
@@ -287,7 +255,8 @@ ngx_log_t *ngx_log_init_errlog()
ngx_log.file = &ngx_stderr;
ngx_log.log_level = NGX_LOG_ERR;
-#if 0
+#ifdef NGX_ERROR_LOG_PATH
+
fd = ngx_open_file(NGX_ERROR_LOG_PATH, NGX_FILE_RDWR,
NGX_FILE_CREATE_OR_OPEN|NGX_FILE_APPEND);
@@ -315,6 +284,7 @@ ngx_log_t *ngx_log_init_errlog()
}
#endif
+
#endif
return &ngx_log;
@@ -405,19 +375,12 @@ static char *ngx_set_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
value = cf->args->elts;
- if (value[1].len == 6 && ngx_strcmp(value[1].data, "stderr") == 0) {
- cf->cycle->new_log->file->fd = ngx_stderr.fd;
- cf->cycle->new_log->file->name.len = 0;
- cf->cycle->new_log->file->name.data = NULL;
-
- } else {
- cf->cycle->new_log->file->name = value[1];
+ cf->cycle->new_log->file->name = value[1];
- if (ngx_conf_full_name(cf->cycle, &cf->cycle->new_log->file->name)
+ if (ngx_conf_full_name(cf->cycle, &cf->cycle->new_log->file->name)
== NGX_ERROR)
- {
- return NGX_CONF_ERROR;
- }
+ {
+ return NGX_CONF_ERROR;
}
return ngx_set_error_log_levels(cf, cf->cycle->new_log);
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h
index 782d28ae8..a3adb0449 100644
--- a/src/core/ngx_log.h
+++ b/src/core/ngx_log.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c
index f40dfd313..f0d66cb93 100644
--- a/src/core/ngx_output_chain.c
+++ b/src/core/ngx_output_chain.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_palloc.c b/src/core/ngx_palloc.c
index 47f9a8645..ee4d224ba 100644
--- a/src/core/ngx_palloc.c
+++ b/src/core/ngx_palloc.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_palloc.h b/src/core/ngx_palloc.h
index 3a3f244b3..53448f4f3 100644
--- a/src/core/ngx_palloc.h
+++ b/src/core/ngx_palloc.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_parse.c b/src/core/ngx_parse.c
index 8edcc5a61..dad9efcbd 100644
--- a/src/core/ngx_parse.c
+++ b/src/core/ngx_parse.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_parse.h b/src/core/ngx_parse.h
index 1423a97a3..44fff2e95 100644
--- a/src/core/ngx_parse.h
+++ b/src/core/ngx_parse.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_radix_tree.c b/src/core/ngx_radix_tree.c
index 15949e5e1..c1d349e02 100644
--- a/src/core/ngx_radix_tree.c
+++ b/src/core/ngx_radix_tree.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_radix_tree.h b/src/core/ngx_radix_tree.h
index 2e3319b36..5398d06eb 100644
--- a/src/core/ngx_radix_tree.h
+++ b/src/core/ngx_radix_tree.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_rbtree.c b/src/core/ngx_rbtree.c
index f3c7ac9d4..c94db13e8 100644
--- a/src/core/ngx_rbtree.c
+++ b/src/core/ngx_rbtree.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_rbtree.h b/src/core/ngx_rbtree.h
index 47ced3ea2..aa69556f8 100644
--- a/src/core/ngx_rbtree.h
+++ b/src/core/ngx_rbtree.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_regex.c b/src/core/ngx_regex.c
index 9cae52a89..27dad8d06 100644
--- a/src/core/ngx_regex.c
+++ b/src/core/ngx_regex.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_regex.h b/src/core/ngx_regex.h
index 1d19686af..f9bf8580f 100644
--- a/src/core/ngx_regex.h
+++ b/src/core/ngx_regex.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c
index 93d7565f6..7b23d3c14 100644
--- a/src/core/ngx_slab.c
+++ b/src/core/ngx_slab.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_slab.h b/src/core/ngx_slab.h
index 0ae71004a..f0e7da800 100644
--- a/src/core/ngx_slab.h
+++ b/src/core/ngx_slab.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_spinlock.c b/src/core/ngx_spinlock.c
index 16e6a5c81..dfa7da411 100644
--- a/src/core/ngx_spinlock.c
+++ b/src/core/ngx_spinlock.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_string.c b/src/core/ngx_string.c
index 21de8916b..3d6a9eb1d 100644
--- a/src/core/ngx_string.c
+++ b/src/core/ngx_string.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h
index 447542508..fbc88751a 100644
--- a/src/core/ngx_string.h
+++ b/src/core/ngx_string.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_table.h b/src/core/ngx_table.h
index 7315ea3a7..5e2f3a94f 100644
--- a/src/core/ngx_table.h
+++ b/src/core/ngx_table.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_times.c b/src/core/ngx_times.c
index 90ceaaeab..2ca31acc4 100644
--- a/src/core/ngx_times.c
+++ b/src/core/ngx_times.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/core/ngx_times.h b/src/core/ngx_times.h
index 5384b5319..e1d1515ee 100644
--- a/src/core/ngx_times.h
+++ b/src/core/ngx_times.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_aio_module.c b/src/event/modules/ngx_aio_module.c
index c62e1d501..483d6752b 100644
--- a/src/event/modules/ngx_aio_module.c
+++ b/src/event/modules/ngx_aio_module.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_aio_module.h b/src/event/modules/ngx_aio_module.h
index 80bd39396..185a9dfb6 100644
--- a/src/event/modules/ngx_aio_module.h
+++ b/src/event/modules/ngx_aio_module.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_devpoll_module.c b/src/event/modules/ngx_devpoll_module.c
index ee29a72a8..7d6888415 100644
--- a/src/event/modules/ngx_devpoll_module.c
+++ b/src/event/modules/ngx_devpoll_module.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_epoll_module.c b/src/event/modules/ngx_epoll_module.c
index ace4cf344..4067fd886 100644
--- a/src/event/modules/ngx_epoll_module.c
+++ b/src/event/modules/ngx_epoll_module.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_iocp_module.c b/src/event/modules/ngx_iocp_module.c
index 5d1d75849..1d15c93f8 100644
--- a/src/event/modules/ngx_iocp_module.c
+++ b/src/event/modules/ngx_iocp_module.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_iocp_module.h b/src/event/modules/ngx_iocp_module.h
index b55b489d3..3b4700d66 100644
--- a/src/event/modules/ngx_iocp_module.h
+++ b/src/event/modules/ngx_iocp_module.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_kqueue_module.c b/src/event/modules/ngx_kqueue_module.c
index f8cdcd8d7..db5b75683 100644
--- a/src/event/modules/ngx_kqueue_module.c
+++ b/src/event/modules/ngx_kqueue_module.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_kqueue_module.h b/src/event/modules/ngx_kqueue_module.h
index 0ea98624d..2e000c4ec 100644
--- a/src/event/modules/ngx_kqueue_module.h
+++ b/src/event/modules/ngx_kqueue_module.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_poll_module.c b/src/event/modules/ngx_poll_module.c
index eefc3a928..bf78e8f37 100644
--- a/src/event/modules/ngx_poll_module.c
+++ b/src/event/modules/ngx_poll_module.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_rtsig_module.c b/src/event/modules/ngx_rtsig_module.c
index 995ae322e..26b2c8140 100644
--- a/src/event/modules/ngx_rtsig_module.c
+++ b/src/event/modules/ngx_rtsig_module.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/modules/ngx_select_module.c b/src/event/modules/ngx_select_module.c
index d441fbeeb..06ca4b32d 100644
--- a/src/event/modules/ngx_select_module.c
+++ b/src/event/modules/ngx_select_module.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c
index 6328bf184..3d7e15cfb 100644
--- a/src/event/ngx_event.c
+++ b/src/event/ngx_event.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h
index b492a65fd..7237bd4ec 100644
--- a/src/event/ngx_event.h
+++ b/src/event/ngx_event.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_accept.c b/src/event/ngx_event_accept.c
index 9044c44ce..5a5e0e170 100644
--- a/src/event/ngx_event_accept.c
+++ b/src/event/ngx_event_accept.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_acceptex.c b/src/event/ngx_event_acceptex.c
index 0cd74dee5..9877b3b2e 100644
--- a/src/event/ngx_event_acceptex.c
+++ b/src/event/ngx_event_acceptex.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_busy_lock.c b/src/event/ngx_event_busy_lock.c
index e3dd41ae9..56a8d921c 100644
--- a/src/event/ngx_event_busy_lock.c
+++ b/src/event/ngx_event_busy_lock.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_busy_lock.h b/src/event/ngx_event_busy_lock.h
index 2f9907349..ce600026e 100644
--- a/src/event/ngx_event_busy_lock.h
+++ b/src/event/ngx_event_busy_lock.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_connect.c b/src/event/ngx_event_connect.c
index ad2148538..c1e6c1935 100644
--- a/src/event/ngx_event_connect.c
+++ b/src/event/ngx_event_connect.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_connect.h b/src/event/ngx_event_connect.h
index 5493b623b..025b91657 100644
--- a/src/event/ngx_event_connect.h
+++ b/src/event/ngx_event_connect.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_connectex.c b/src/event/ngx_event_connectex.c
index 7cb7c31f3..f3ad2f578 100644
--- a/src/event/ngx_event_connectex.c
+++ b/src/event/ngx_event_connectex.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_mutex.c b/src/event/ngx_event_mutex.c
index b77c389b9..ab4e6abc3 100644
--- a/src/event/ngx_event_mutex.c
+++ b/src/event/ngx_event_mutex.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c
index bbc185f7e..16fab580e 100644
--- a/src/event/ngx_event_openssl.c
+++ b/src/event/ngx_event_openssl.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_openssl.h b/src/event/ngx_event_openssl.h
index 5e3faa39f..69d8d1288 100644
--- a/src/event/ngx_event_openssl.h
+++ b/src/event/ngx_event_openssl.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_pipe.c b/src/event/ngx_event_pipe.c
index 6cdcf3df2..c1982fd40 100644
--- a/src/event/ngx_event_pipe.c
+++ b/src/event/ngx_event_pipe.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_pipe.h b/src/event/ngx_event_pipe.h
index f6430f946..961f0666b 100644
--- a/src/event/ngx_event_pipe.h
+++ b/src/event/ngx_event_pipe.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_posted.c b/src/event/ngx_event_posted.c
index 31fa1fe1d..eb064f5ad 100644
--- a/src/event/ngx_event_posted.c
+++ b/src/event/ngx_event_posted.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_posted.h b/src/event/ngx_event_posted.h
index 055bec328..5e29edcf0 100644
--- a/src/event/ngx_event_posted.h
+++ b/src/event/ngx_event_posted.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_timer.c b/src/event/ngx_event_timer.c
index 0fbf66e9c..a09f07f73 100644
--- a/src/event/ngx_event_timer.c
+++ b/src/event/ngx_event_timer.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/event/ngx_event_timer.h b/src/event/ngx_event_timer.h
index fb9bc2894..f40e57234 100644
--- a/src/event/ngx_event_timer.h
+++ b/src/event/ngx_event_timer.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_access_handler.c b/src/http/modules/ngx_http_access_handler.c
index c9ca35f7f..3a323b149 100644
--- a/src/http/modules/ngx_http_access_handler.c
+++ b/src/http/modules/ngx_http_access_handler.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_charset_filter.c b/src/http/modules/ngx_http_charset_filter.c
index 6906fdb09..d22a86b5b 100644
--- a/src/http/modules/ngx_http_charset_filter.c
+++ b/src/http/modules/ngx_http_charset_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_chunked_filter.c b/src/http/modules/ngx_http_chunked_filter.c
index 41c7d82e8..a71839a29 100644
--- a/src/http/modules/ngx_http_chunked_filter.c
+++ b/src/http/modules/ngx_http_chunked_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_gzip_filter.c b/src/http/modules/ngx_http_gzip_filter.c
index af89a3820..72ccb0a0f 100644
--- a/src/http/modules/ngx_http_gzip_filter.c
+++ b/src/http/modules/ngx_http_gzip_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_headers_filter.c b/src/http/modules/ngx_http_headers_filter.c
index a32233f0a..f7fe52c8e 100644
--- a/src/http/modules/ngx_http_headers_filter.c
+++ b/src/http/modules/ngx_http_headers_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_index_handler.c b/src/http/modules/ngx_http_index_handler.c
index 6d2ec0572..68a9d3627 100644
--- a/src/http/modules/ngx_http_index_handler.c
+++ b/src/http/modules/ngx_http_index_handler.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_not_modified_filter.c b/src/http/modules/ngx_http_not_modified_filter.c
index a25e321d5..04d1fde6b 100644
--- a/src/http/modules/ngx_http_not_modified_filter.c
+++ b/src/http/modules/ngx_http_not_modified_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_range_filter.c b/src/http/modules/ngx_http_range_filter.c
index aaeccd251..a08e25f7a 100644
--- a/src/http/modules/ngx_http_range_filter.c
+++ b/src/http/modules/ngx_http_range_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_rewrite_handler.c b/src/http/modules/ngx_http_rewrite_handler.c
index ace05c8b7..aa3a65648 100644
--- a/src/http/modules/ngx_http_rewrite_handler.c
+++ b/src/http/modules/ngx_http_rewrite_handler.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_ssi_filter.c b/src/http/modules/ngx_http_ssi_filter.c
index a1169f7ed..334dd53e6 100644
--- a/src/http/modules/ngx_http_ssi_filter.c
+++ b/src/http/modules/ngx_http_ssi_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index 9cc4df115..35ab2c46c 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_ssl_module.h b/src/http/modules/ngx_http_ssl_module.h
index 2024f8df7..eaca2a6c5 100644
--- a/src/http/modules/ngx_http_ssl_module.h
+++ b/src/http/modules/ngx_http_ssl_module.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_static_handler.c b/src/http/modules/ngx_http_static_handler.c
index a9ce70495..c4ffde3b2 100644
--- a/src/http/modules/ngx_http_static_handler.c
+++ b/src/http/modules/ngx_http_static_handler.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_status_handler.c b/src/http/modules/ngx_http_status_handler.c
index e0f32ce78..6206ac3ce 100644
--- a/src/http/modules/ngx_http_status_handler.c
+++ b/src/http/modules/ngx_http_status_handler.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/ngx_http_userid_filter.c b/src/http/modules/ngx_http_userid_filter.c
index b7e4506fd..6cbad26c7 100644
--- a/src/http/modules/ngx_http_userid_filter.c
+++ b/src/http/modules/ngx_http_userid_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/proxy/ngx_http_proxy_cache.c b/src/http/modules/proxy/ngx_http_proxy_cache.c
index aa9388843..0a2a20025 100644
--- a/src/http/modules/proxy/ngx_http_proxy_cache.c
+++ b/src/http/modules/proxy/ngx_http_proxy_cache.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.c b/src/http/modules/proxy/ngx_http_proxy_handler.c
index a5cfc7c1b..f394fbb24 100644
--- a/src/http/modules/proxy/ngx_http_proxy_handler.c
+++ b/src/http/modules/proxy/ngx_http_proxy_handler.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.h b/src/http/modules/proxy/ngx_http_proxy_handler.h
index e3c936ad9..4dcc65387 100644
--- a/src/http/modules/proxy/ngx_http_proxy_handler.h
+++ b/src/http/modules/proxy/ngx_http_proxy_handler.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/proxy/ngx_http_proxy_header.c b/src/http/modules/proxy/ngx_http_proxy_header.c
index e00a47ae0..038001240 100644
--- a/src/http/modules/proxy/ngx_http_proxy_header.c
+++ b/src/http/modules/proxy/ngx_http_proxy_header.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/proxy/ngx_http_proxy_parse.c b/src/http/modules/proxy/ngx_http_proxy_parse.c
index 096c9fa1f..3718ab050 100644
--- a/src/http/modules/proxy/ngx_http_proxy_parse.c
+++ b/src/http/modules/proxy/ngx_http_proxy_parse.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/modules/proxy/ngx_http_proxy_upstream.c b/src/http/modules/proxy/ngx_http_proxy_upstream.c
index 8070fd85e..c1a8fb621 100644
--- a/src/http/modules/proxy/ngx_http_proxy_upstream.c
+++ b/src/http/modules/proxy/ngx_http_proxy_upstream.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 01c08bb84..a37ffc6eb 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h
index 4097c78f7..303a4daef 100644
--- a/src/http/ngx_http.h
+++ b/src/http/ngx_http.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_busy_lock.c b/src/http/ngx_http_busy_lock.c
index 92a663b0c..2b3ee105d 100644
--- a/src/http/ngx_http_busy_lock.c
+++ b/src/http/ngx_http_busy_lock.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_busy_lock.h b/src/http/ngx_http_busy_lock.h
index 985eb9149..05e2667b9 100644
--- a/src/http/ngx_http_busy_lock.h
+++ b/src/http/ngx_http_busy_lock.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_cache.c b/src/http/ngx_http_cache.c
index 3b3257b0c..22572a58b 100644
--- a/src/http/ngx_http_cache.c
+++ b/src/http/ngx_http_cache.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h
index 1804e4c80..40f4852dd 100644
--- a/src/http/ngx_http_cache.h
+++ b/src/http/ngx_http_cache.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_config.h b/src/http/ngx_http_config.h
index 0de9b45c5..be0052e59 100644
--- a/src/http/ngx_http_config.h
+++ b/src/http/ngx_http_config.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_copy_filter.c b/src/http/ngx_http_copy_filter.c
index 34c47a7b3..d015c2144 100644
--- a/src/http/ngx_http_copy_filter.c
+++ b/src/http/ngx_http_copy_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 194a51908..68bb314b3 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index 8d6490b24..7468db59c 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
index 7d920e570..acd8dbd3b 100644
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_header_filter.c b/src/http/ngx_http_header_filter.c
index 7ece679bd..9876a05da 100644
--- a/src/http/ngx_http_header_filter.c
+++ b/src/http/ngx_http_header_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_log_handler.c b/src/http/ngx_http_log_handler.c
index b9dcd05de..51166cf0c 100644
--- a/src/http/ngx_http_log_handler.c
+++ b/src/http/ngx_http_log_handler.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_log_handler.h b/src/http/ngx_http_log_handler.h
index 2efa232bc..8eb74ba1c 100644
--- a/src/http/ngx_http_log_handler.h
+++ b/src/http/ngx_http_log_handler.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c
index 3b79c1c28..ba77ffb62 100644
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_parse_time.c b/src/http/ngx_http_parse_time.c
index 49eb931d6..38bbe2e85 100644
--- a/src/http/ngx_http_parse_time.c
+++ b/src/http/ngx_http_parse_time.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index d27cd8ddb..f50181e70 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index ab7e49f53..aea8f7541 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c
index 348f2d184..ee8e3685b 100644
--- a/src/http/ngx_http_request_body.c
+++ b/src/http/ngx_http_request_body.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c
index 57123de03..3a26d65de 100644
--- a/src/http/ngx_http_script.c
+++ b/src/http/ngx_http_script.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_script.h b/src/http/ngx_http_script.h
index 84b99a0c4..4a745128b 100644
--- a/src/http/ngx_http_script.h
+++ b/src/http/ngx_http_script.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index 62ba2b909..1af8746e5 100644
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/http/ngx_http_write_filter.c b/src/http/ngx_http_write_filter.c
index c3ec7ac2e..a8c68947f 100644
--- a/src/http/ngx_http_write_filter.c
+++ b/src/http/ngx_http_write_filter.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/imap/ngx_imap.c b/src/imap/ngx_imap.c
index acc95af7a..7c1a42f8c 100644
--- a/src/imap/ngx_imap.c
+++ b/src/imap/ngx_imap.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/imap/ngx_imap.h b/src/imap/ngx_imap.h
index 2cc81bd97..cec709c97 100644
--- a/src/imap/ngx_imap.h
+++ b/src/imap/ngx_imap.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/imap/ngx_imap_handler.c b/src/imap/ngx_imap_handler.c
index 788d840b3..419c5a119 100644
--- a/src/imap/ngx_imap_handler.c
+++ b/src/imap/ngx_imap_handler.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/imap/ngx_imap_parse.c b/src/imap/ngx_imap_parse.c
index bd757501c..03951a60b 100644
--- a/src/imap/ngx_imap_parse.c
+++ b/src/imap/ngx_imap_parse.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/imap/ngx_imap_proxy.c b/src/imap/ngx_imap_proxy.c
index b42f47d27..8cd9d0bab 100644
--- a/src/imap/ngx_imap_proxy.c
+++ b/src/imap/ngx_imap_proxy.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_aio.h b/src/os/unix/ngx_aio.h
index 66807efa0..c286dbd60 100644
--- a/src/os/unix/ngx_aio.h
+++ b/src/os/unix/ngx_aio.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_aio_read.c b/src/os/unix/ngx_aio_read.c
index 49602f994..d01105412 100644
--- a/src/os/unix/ngx_aio_read.c
+++ b/src/os/unix/ngx_aio_read.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_aio_read_chain.c b/src/os/unix/ngx_aio_read_chain.c
index 333c8e404..31793d5a4 100644
--- a/src/os/unix/ngx_aio_read_chain.c
+++ b/src/os/unix/ngx_aio_read_chain.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_aio_write.c b/src/os/unix/ngx_aio_write.c
index e16189a93..f102ba338 100644
--- a/src/os/unix/ngx_aio_write.c
+++ b/src/os/unix/ngx_aio_write.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_aio_write_chain.c b/src/os/unix/ngx_aio_write_chain.c
index 294dc1247..b8c13356c 100644
--- a/src/os/unix/ngx_aio_write_chain.c
+++ b/src/os/unix/ngx_aio_write_chain.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_alloc.c b/src/os/unix/ngx_alloc.c
index d2e7205e6..dc3609206 100644
--- a/src/os/unix/ngx_alloc.c
+++ b/src/os/unix/ngx_alloc.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_alloc.h b/src/os/unix/ngx_alloc.h
index 91016e598..0084c2c54 100644
--- a/src/os/unix/ngx_alloc.h
+++ b/src/os/unix/ngx_alloc.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_atomic.h b/src/os/unix/ngx_atomic.h
index 6d50985b7..2de61cf81 100644
--- a/src/os/unix/ngx_atomic.h
+++ b/src/os/unix/ngx_atomic.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_channel.c b/src/os/unix/ngx_channel.c
index d2ca1ecbd..3d09d68bb 100644
--- a/src/os/unix/ngx_channel.c
+++ b/src/os/unix/ngx_channel.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_channel.h b/src/os/unix/ngx_channel.h
index 3cb1c55ec..a8c86630e 100644
--- a/src/os/unix/ngx_channel.h
+++ b/src/os/unix/ngx_channel.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_daemon.c b/src/os/unix/ngx_daemon.c
index be2a91aa2..b9a9b404c 100644
--- a/src/os/unix/ngx_daemon.c
+++ b/src/os/unix/ngx_daemon.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_errno.c b/src/os/unix/ngx_errno.c
index 9b9c6a96d..0d03fa9df 100644
--- a/src/os/unix/ngx_errno.c
+++ b/src/os/unix/ngx_errno.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h
index bb86b4b2c..7218bb291 100644
--- a/src/os/unix/ngx_errno.h
+++ b/src/os/unix/ngx_errno.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_files.c b/src/os/unix/ngx_files.c
index ae336ae5f..8603ab2d9 100644
--- a/src/os/unix/ngx_files.c
+++ b/src/os/unix/ngx_files.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h
index cb50fcee7..3ba167004 100644
--- a/src/os/unix/ngx_files.h
+++ b/src/os/unix/ngx_files.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_freebsd.h b/src/os/unix/ngx_freebsd.h
index a16b40728..7b1532c1f 100644
--- a/src/os/unix/ngx_freebsd.h
+++ b/src/os/unix/ngx_freebsd.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h
index 80e70e1a6..f4616dbe6 100644
--- a/src/os/unix/ngx_freebsd_config.h
+++ b/src/os/unix/ngx_freebsd_config.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_freebsd_init.c b/src/os/unix/ngx_freebsd_init.c
index e59a593cf..d07670a07 100644
--- a/src/os/unix/ngx_freebsd_init.c
+++ b/src/os/unix/ngx_freebsd_init.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_freebsd_rfork_thread.c b/src/os/unix/ngx_freebsd_rfork_thread.c
index 361fc8fb4..774adb938 100644
--- a/src/os/unix/ngx_freebsd_rfork_thread.c
+++ b/src/os/unix/ngx_freebsd_rfork_thread.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_freebsd_rfork_thread.h b/src/os/unix/ngx_freebsd_rfork_thread.h
index f5b880335..bef230a64 100644
--- a/src/os/unix/ngx_freebsd_rfork_thread.h
+++ b/src/os/unix/ngx_freebsd_rfork_thread.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_freebsd_sendfile_chain.c b/src/os/unix/ngx_freebsd_sendfile_chain.c
index 81aec555c..d29debfbc 100644
--- a/src/os/unix/ngx_freebsd_sendfile_chain.c
+++ b/src/os/unix/ngx_freebsd_sendfile_chain.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_linux.h b/src/os/unix/ngx_linux.h
index ba1299184..24034c04a 100644
--- a/src/os/unix/ngx_linux.h
+++ b/src/os/unix/ngx_linux.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h
index b18ec5d9d..2b23702a1 100644
--- a/src/os/unix/ngx_linux_config.h
+++ b/src/os/unix/ngx_linux_config.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_linux_init.c b/src/os/unix/ngx_linux_init.c
index 847c0134a..a6daf3a2f 100644
--- a/src/os/unix/ngx_linux_init.c
+++ b/src/os/unix/ngx_linux_init.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_linux_sendfile_chain.c b/src/os/unix/ngx_linux_sendfile_chain.c
index e8f0cefef..38a2a96d2 100644
--- a/src/os/unix/ngx_linux_sendfile_chain.c
+++ b/src/os/unix/ngx_linux_sendfile_chain.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_os.h b/src/os/unix/ngx_os.h
index 8fd162de0..0ddb93bac 100644
--- a/src/os/unix/ngx_os.h
+++ b/src/os/unix/ngx_os.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h
index 75be90aee..bf0f5d842 100644
--- a/src/os/unix/ngx_posix_config.h
+++ b/src/os/unix/ngx_posix_config.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_posix_init.c b/src/os/unix/ngx_posix_init.c
index 6a64981a4..f750495bf 100644
--- a/src/os/unix/ngx_posix_init.c
+++ b/src/os/unix/ngx_posix_init.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_process.c b/src/os/unix/ngx_process.c
index ca6b88c3f..dba949c7d 100644
--- a/src/os/unix/ngx_process.c
+++ b/src/os/unix/ngx_process.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h
index 6e00d447c..816b6a664 100644
--- a/src/os/unix/ngx_process.h
+++ b/src/os/unix/ngx_process.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_process_cycle.c b/src/os/unix/ngx_process_cycle.c
index 5614bd2e0..159d23094 100644
--- a/src/os/unix/ngx_process_cycle.c
+++ b/src/os/unix/ngx_process_cycle.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_process_cycle.h b/src/os/unix/ngx_process_cycle.h
index 4900a34bc..71aa1789e 100644
--- a/src/os/unix/ngx_process_cycle.h
+++ b/src/os/unix/ngx_process_cycle.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_pthread_thread.c b/src/os/unix/ngx_pthread_thread.c
index 22ef889d6..ad7987b81 100644
--- a/src/os/unix/ngx_pthread_thread.c
+++ b/src/os/unix/ngx_pthread_thread.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_readv_chain.c b/src/os/unix/ngx_readv_chain.c
index b12198f32..a529b3d3f 100644
--- a/src/os/unix/ngx_readv_chain.c
+++ b/src/os/unix/ngx_readv_chain.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_recv.c b/src/os/unix/ngx_recv.c
index 60dd91d22..6e5b8c06d 100644
--- a/src/os/unix/ngx_recv.c
+++ b/src/os/unix/ngx_recv.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_send.c b/src/os/unix/ngx_send.c
index 86160057f..f09dadb50 100644
--- a/src/os/unix/ngx_send.c
+++ b/src/os/unix/ngx_send.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_shared.c b/src/os/unix/ngx_shared.c
index 0d2888df1..60f2de029 100644
--- a/src/os/unix/ngx_shared.c
+++ b/src/os/unix/ngx_shared.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_shared.h b/src/os/unix/ngx_shared.h
index 40bf7bfa9..29e4a33d5 100644
--- a/src/os/unix/ngx_shared.h
+++ b/src/os/unix/ngx_shared.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_socket.c b/src/os/unix/ngx_socket.c
index 859a980a9..f97ab41f9 100644
--- a/src/os/unix/ngx_socket.c
+++ b/src/os/unix/ngx_socket.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_socket.h b/src/os/unix/ngx_socket.h
index 8664fe67c..67d0d41de 100644
--- a/src/os/unix/ngx_socket.h
+++ b/src/os/unix/ngx_socket.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_solaris.h b/src/os/unix/ngx_solaris.h
index 7c076d6f2..36f3cb958 100644
--- a/src/os/unix/ngx_solaris.h
+++ b/src/os/unix/ngx_solaris.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_solaris_config.h b/src/os/unix/ngx_solaris_config.h
index b8867465b..6cbfcc2ec 100644
--- a/src/os/unix/ngx_solaris_config.h
+++ b/src/os/unix/ngx_solaris_config.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_solaris_init.c b/src/os/unix/ngx_solaris_init.c
index 7186f1fd0..f2ff462f3 100644
--- a/src/os/unix/ngx_solaris_init.c
+++ b/src/os/unix/ngx_solaris_init.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_solaris_sendfilev_chain.c b/src/os/unix/ngx_solaris_sendfilev_chain.c
index 8b0d3d60b..a060dac2d 100644
--- a/src/os/unix/ngx_solaris_sendfilev_chain.c
+++ b/src/os/unix/ngx_solaris_sendfilev_chain.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_thread.h b/src/os/unix/ngx_thread.h
index f78a7c02c..7b5dc239c 100644
--- a/src/os/unix/ngx_thread.h
+++ b/src/os/unix/ngx_thread.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_time.c b/src/os/unix/ngx_time.c
index fd667b042..c4389503a 100644
--- a/src/os/unix/ngx_time.c
+++ b/src/os/unix/ngx_time.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h
index 43c2027de..793e32e7c 100644
--- a/src/os/unix/ngx_time.h
+++ b/src/os/unix/ngx_time.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_types.h b/src/os/unix/ngx_types.h
index a7e21ace1..49fb17de8 100644
--- a/src/os/unix/ngx_types.h
+++ b/src/os/unix/ngx_types.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_user.h b/src/os/unix/ngx_user.h
index 54f6aaa7d..f939b84b4 100644
--- a/src/os/unix/ngx_user.h
+++ b/src/os/unix/ngx_user.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/ngx_writev_chain.c b/src/os/unix/ngx_writev_chain.c
index c7b17c23d..a3595ff0c 100644
--- a/src/os/unix/ngx_writev_chain.c
+++ b/src/os/unix/ngx_writev_chain.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/unix/rfork_thread.S b/src/os/unix/rfork_thread.S
index af79ca2b0..42630a78a 100644
--- a/src/os/unix/rfork_thread.S
+++ b/src/os/unix/rfork_thread.S
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_alloc.c b/src/os/win32/ngx_alloc.c
index 8b0cc20b1..ea36cad57 100644
--- a/src/os/win32/ngx_alloc.c
+++ b/src/os/win32/ngx_alloc.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_alloc.h b/src/os/win32/ngx_alloc.h
index 66798ceb3..6cf6691b9 100644
--- a/src/os/win32/ngx_alloc.h
+++ b/src/os/win32/ngx_alloc.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_atomic.h b/src/os/win32/ngx_atomic.h
index 994026139..3ef150996 100644
--- a/src/os/win32/ngx_atomic.h
+++ b/src/os/win32/ngx_atomic.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_errno.c b/src/os/win32/ngx_errno.c
index 16bb2a5af..6f8d2da5b 100644
--- a/src/os/win32/ngx_errno.c
+++ b/src/os/win32/ngx_errno.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h
index 7ee9d560b..f60ea74e1 100644
--- a/src/os/win32/ngx_errno.h
+++ b/src/os/win32/ngx_errno.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_files.c b/src/os/win32/ngx_files.c
index c3be4fb65..bf6facd87 100644
--- a/src/os/win32/ngx_files.c
+++ b/src/os/win32/ngx_files.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_files.h b/src/os/win32/ngx_files.h
index 0a01ecc3d..980b5853b 100644
--- a/src/os/win32/ngx_files.h
+++ b/src/os/win32/ngx_files.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_os.h b/src/os/win32/ngx_os.h
index 3072e3bdd..9b856f65a 100644
--- a/src/os/win32/ngx_os.h
+++ b/src/os/win32/ngx_os.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_process.c b/src/os/win32/ngx_process.c
index 23b169738..7ec46f64c 100644
--- a/src/os/win32/ngx_process.c
+++ b/src/os/win32/ngx_process.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_process.h b/src/os/win32/ngx_process.h
index ba4603c31..402f31ffb 100644
--- a/src/os/win32/ngx_process.h
+++ b/src/os/win32/ngx_process.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_process_cycle.c b/src/os/win32/ngx_process_cycle.c
index b6d2578ca..d59717409 100644
--- a/src/os/win32/ngx_process_cycle.c
+++ b/src/os/win32/ngx_process_cycle.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_process_cycle.h b/src/os/win32/ngx_process_cycle.h
index 7803686ec..10d6850a7 100644
--- a/src/os/win32/ngx_process_cycle.h
+++ b/src/os/win32/ngx_process_cycle.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_service.c b/src/os/win32/ngx_service.c
index d9c9ad587..60d1f02d7 100644
--- a/src/os/win32/ngx_service.c
+++ b/src/os/win32/ngx_service.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_shared.h b/src/os/win32/ngx_shared.h
index 40bf7bfa9..29e4a33d5 100644
--- a/src/os/win32/ngx_shared.h
+++ b/src/os/win32/ngx_shared.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_socket.c b/src/os/win32/ngx_socket.c
index c397f7b22..fc7743356 100644
--- a/src/os/win32/ngx_socket.c
+++ b/src/os/win32/ngx_socket.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_socket.h b/src/os/win32/ngx_socket.h
index f1459bc42..4ce60a7f3 100644
--- a/src/os/win32/ngx_socket.h
+++ b/src/os/win32/ngx_socket.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_stat.c b/src/os/win32/ngx_stat.c
index ee63c0c94..a667b0013 100644
--- a/src/os/win32/ngx_stat.c
+++ b/src/os/win32/ngx_stat.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_thread.h b/src/os/win32/ngx_thread.h
index be07db620..b3b6e67cd 100644
--- a/src/os/win32/ngx_thread.h
+++ b/src/os/win32/ngx_thread.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_time.c b/src/os/win32/ngx_time.c
index a4412fc0b..ca072029c 100644
--- a/src/os/win32/ngx_time.c
+++ b/src/os/win32/ngx_time.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_time.h b/src/os/win32/ngx_time.h
index fcd494fda..665976d88 100644
--- a/src/os/win32/ngx_time.h
+++ b/src/os/win32/ngx_time.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_types.h b/src/os/win32/ngx_types.h
index 0e12d376b..4536a1f6f 100644
--- a/src/os/win32/ngx_types.h
+++ b/src/os/win32/ngx_types.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_user.h b/src/os/win32/ngx_user.h
index 561041b94..452daa161 100644
--- a/src/os/win32/ngx_user.h
+++ b/src/os/win32/ngx_user.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h
index 7c66dbc70..baba3da8d 100644
--- a/src/os/win32/ngx_win32_config.h
+++ b/src/os/win32/ngx_win32_config.h
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_win32_init.c b/src/os/win32/ngx_win32_init.c
index 61de9639b..5ad519819 100644
--- a/src/os/win32/ngx_win32_init.c
+++ b/src/os/win32/ngx_win32_init.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_wsarecv.c b/src/os/win32/ngx_wsarecv.c
index 2eb04ed09..bb0e5566c 100644
--- a/src/os/win32/ngx_wsarecv.c
+++ b/src/os/win32/ngx_wsarecv.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_wsarecv_chain.c b/src/os/win32/ngx_wsarecv_chain.c
index 5b0f18ba8..2e2f7cc92 100644
--- a/src/os/win32/ngx_wsarecv_chain.c
+++ b/src/os/win32/ngx_wsarecv_chain.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/
diff --git a/src/os/win32/ngx_wsasend_chain.c b/src/os/win32/ngx_wsasend_chain.c
index 406d5950d..08f93c80b 100644
--- a/src/os/win32/ngx_wsasend_chain.c
+++ b/src/os/win32/ngx_wsasend_chain.c
@@ -1,6 +1,6 @@
/*
- * Copyright (C) 2002-2004 Igor Sysoev
+ * Copyright (C) Igor Sysoev
*/