annotate src/core/ngx_md5.h @ 358:9121a0a91f47 NGINX_0_6_23

nginx 0.6.23 *) Change: the "off" parameter in the "ssl_session_cache" directive; now this is default parameter. *) Change: the "open_file_cache_retest" directive was renamed to the "open_file_cache_valid". *) Feature: the "open_file_cache_min_uses" directive. *) Feature: the ngx_http_gzip_static_module. *) Feature: the "gzip_disable" directive. *) Feature: the "memcached_pass" directive may be used inside the "if" block. *) Bugfix: a segmentation fault occurred in worker process, if the "memcached_pass" and "if" directives were used in the same location. *) Bugfix: if a "satisfy_any on" directive was used and not all access and auth modules directives were set, then other given access and auth directives were not tested; *) Bugfix: regex parameters in a "valid_referers" directive were not inherited from previous level. *) Bugfix: a "post_action" directive did run if a request was completed with 499 status code. *) Bugfix: optimization of 16K buffer usage in a SSL connection. Thanks to Ben Maurer. *) Bugfix: the STARTTLS in SMTP mode did not work. Thanks to Oleg Motienko. *) Bugfix: in HTTPS mode requests might fail with the "bad write retry" error; bug appeared in 0.5.13.
author Igor Sysoev <http://sysoev.ru>
date Thu, 27 Dec 2007 00:00:00 +0300
parents eae74a780a84
children 8dc007eddbcf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
342
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 /*
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
3 * Copyright (C) Igor Sysoev
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4 */
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 #ifndef _NGX_MD5_H_INCLUDED_
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 #define _NGX_MD5_H_INCLUDED_
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 #include <ngx_config.h>
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 #include <ngx_core.h>
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15 #if (NGX_HAVE_OPENSSL_MD5_H)
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
16 #include <openssl/md5.h>
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
17 #else
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
18 #include <md5.h>
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
19 #endif
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
20
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
21
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
22 typedef MD5_CTX ngx_md5_t;
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
23
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
24
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
25 #if (NGX_OPENSSL_MD5)
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
26
344
eae74a780a84 nginx 0.6.16
Igor Sysoev <http://sysoev.ru>
parents: 342
diff changeset
27 #define ngx_md5_init MD5_Init
eae74a780a84 nginx 0.6.16
Igor Sysoev <http://sysoev.ru>
parents: 342
diff changeset
28 #define ngx_md5_update MD5_Update
eae74a780a84 nginx 0.6.16
Igor Sysoev <http://sysoev.ru>
parents: 342
diff changeset
29 #define ngx_md5_final MD5_Final
342
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
30
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
31 #else
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
32
344
eae74a780a84 nginx 0.6.16
Igor Sysoev <http://sysoev.ru>
parents: 342
diff changeset
33 #define ngx_md5_init MD5Init
eae74a780a84 nginx 0.6.16
Igor Sysoev <http://sysoev.ru>
parents: 342
diff changeset
34 #define ngx_md5_update MD5Update
eae74a780a84 nginx 0.6.16
Igor Sysoev <http://sysoev.ru>
parents: 342
diff changeset
35 #define ngx_md5_final MD5Final
342
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
36
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
37 #endif
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
38
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
39
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
40 #endif /* _NGX_MD5_H_INCLUDED_ */