annotate src/misc/ngx_cpp_test_module.cpp @ 566:be4f34123024 NGINX_0_8_35

nginx 0.8.35 *) Change: now the charset filter runs before the SSI filter. *) Feature: the "chunked_transfer_encoding" directive. *) Bugfix: an "&" character was not escaped when it was copied in arguments part in a rewrite rule. *) Bugfix: nginx might be terminated abnormally while a signal processing or if the directive "timer_resolution" was used on platforms which do not support kqueue or eventport notification methods. Thanks to George Xie and Maxim Dounin. *) Bugfix: if temporary files and permanent storage area resided at different file systems, then permanent file modification times were incorrect. Thanks to Maxim Dounin. *) Bugfix: ngx_http_memcached_module might issue the error message "memcached sent invalid trailer". Thanks to Maxim Dounin. *) Bugfix: nginx could not built zlib-1.2.4 library using the library sources. Thanks to Maxim Dounin. *) Bugfix: a segmentation fault occurred in a worker process, if there was large stderr output before FastCGI response; the bug had appeared in 0.8.34. Thanks to Maxim Dounin.
author Igor Sysoev <http://sysoev.ru>
date Mon, 29 Mar 2010 00:00:00 +0400
parents 05981f639d21
children 5cb5db9975ba
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
394
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 // stub module to test header files' C++ compatibilty
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
3
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4 extern "C" {
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5 #include <ngx_config.h>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6 #include <ngx_core.h>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 #include <ngx_event.h>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 #include <ngx_event_connect.h>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9 #include <ngx_event_pipe.h>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 #include <ngx_http.h>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13 #include <ngx_mail.h>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14 #include <ngx_mail_pop3_module.h>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15 #include <ngx_mail_imap_module.h>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
16 #include <ngx_mail_smtp_module.h>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
17 }
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
18
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
19 // nginx header files should go before other, because they define 64-bit off_t
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
20 // #include <string>
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
21
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
22
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
23 void
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
24 ngx_cpp_test_handler(void *data)
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
25 {
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
26 return;
05981f639d21 nginx 0.7.9
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
27 }