annotate src/core/ngx_md5.h @ 330:c60beecc6ab5 NGINX_0_5_35

nginx 0.5.35 *) Change: now the ngx_http_userid_module adds start time microseconds to the cookie field contains a pid value. *) Change: now the uname(2) is used on Linux instead of procfs. Thanks to Ilya Novikov. *) Feature: the "If-Range" request header line support. Thanks to Alexander V. Inyukhin. *) Bugfix: in HTTPS mode requests might fail with the "bad write retry" error; bug appeared in 0.5.13. *) Bugfix: the STARTTLS in SMTP mode did not work. Thanks to Oleg Motienko. *) Bugfix: large_client_header_buffers did not freed before going to keep-alive state. Thanks to Olexander Shtepa. *) Bugfix: the "limit_rate" directive did not allow to use full throughput, even if limit value was very high. *) Bugfix: the $status variable was equal to 0 if a proxied server returned response in HTTP/0.9 version. *) Bugfix: if the "?" character was in a "error_page" directive, then it was escaped in a proxied request; bug appeared in 0.5.32.
author Igor Sysoev <http://sysoev.ru>
date Tue, 08 Jan 2008 00:00:00 +0300
parents 26ff8d6b618d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
328
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 /*
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
3 * Copyright (C) Igor Sysoev
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4 */
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 #ifndef _NGX_MD5_H_INCLUDED_
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 #define _NGX_MD5_H_INCLUDED_
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 #include <ngx_config.h>
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 #include <ngx_core.h>
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15 #if (NGX_HAVE_OPENSSL_MD5_H)
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
16 #include <openssl/md5.h>
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
17 #else
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
18 #include <md5.h>
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
19 #endif
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
20
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
21
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
22 typedef MD5_CTX ngx_md5_t;
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
23
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
24
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
25 #if (NGX_OPENSSL_MD5)
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
26
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
27 #define ngx_md5_init MD5_Init
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
28 #define ngx_md5_update MD5_Update
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
29 #define ngx_md5_final MD5_Final
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
30
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
31 #else
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
32
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
33 #define ngx_md5_init MD5Init
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
34 #define ngx_md5_update MD5Update
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
35 #define ngx_md5_final MD5Final
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
36
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
37 #endif
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
38
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
39
26ff8d6b618d nginx 0.5.34
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
40 #endif /* _NGX_MD5_H_INCLUDED_ */