annotate src/core/ngx_sha1.h @ 644:6f21ae02fb01 NGINX_1_1_6

nginx 1.1.6 *) Change in internal API: now module context data are cleared while internal redirect to named location. Requested by Yichun Zhang. *) Change: if a server in an upstream failed, only one request will be sent to it after fail_timeout; the server will be considered alive if it will successfully respond to the request. *) Change: now the 0x7F-0x1F characters are escaped as \xXX in an access_log. *) Feature: "proxy/fastcgi/scgi/uwsgi_ignore_headers" directives support the following additional values: X-Accel-Limit-Rate, X-Accel-Buffering, X-Accel-Charset. *) Feature: decrease of memory consumption if SSL is used. *) Bugfix: some UTF-8 characters were processed incorrectly. Thanks to Alexey Kuts. *) Bugfix: the ngx_http_rewrite_module directives specified at "server" level were executed twice if no matching locations were defined. *) Bugfix: a socket leak might occurred if "aio sendfile" was used. *) Bugfix: connections with fast clients might be closed after send_timeout if file AIO was used. *) Bugfix: in the ngx_http_autoindex_module. *) Bugfix: the module ngx_http_mp4_module did not support seeking on 32-bit platforms.
author Igor Sysoev <http://sysoev.ru>
date Mon, 17 Oct 2011 00:00:00 +0400
parents eae74a780a84
children d0f7a625f27c
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_SHA1_H_INCLUDED_
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 #define _NGX_SHA1_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_SHA1_H)
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
16 #include <openssl/sha.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 <sha.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 SHA_CTX ngx_sha1_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
344
eae74a780a84 nginx 0.6.16
Igor Sysoev <http://sysoev.ru>
parents: 342
diff changeset
25 #define ngx_sha1_init SHA1_Init
eae74a780a84 nginx 0.6.16
Igor Sysoev <http://sysoev.ru>
parents: 342
diff changeset
26 #define ngx_sha1_update SHA1_Update
eae74a780a84 nginx 0.6.16
Igor Sysoev <http://sysoev.ru>
parents: 342
diff changeset
27 #define ngx_sha1_final SHA1_Final
342
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
28
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
29
4276c2f1f434 nginx 0.6.15
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
30 #endif /* _NGX_SHA1_H_INCLUDED_ */