comparison src/http/ngx_http.h @ 10:46833bd150cb NGINX_0_1_5

nginx 0.1.5 *) Bugfix: on Solaris and Linux there may be too many "recvmsg() returned not enough data" alerts. *) Bugfix: there were the "writev() failed (22: Invalid argument)" errors on Solaris in proxy mode without sendfile. On other platforms that do not support sendfile at all the process got caught in an endless loop. *) Bugfix: segmentation fault on Solaris in proxy mode and using sendfile. *) Bugfix: segmentation fault on Solaris. *) Bugfix: on-line upgrade did not work on Linux. *) Bugfix: the ngx_http_autoindex_module module did not escape the spaces, the quotes, and the percent signs in the directory listing. *) Change: the decrease of the copy operations. *) Feature: the userid_p3p directive.
author Igor Sysoev <http://sysoev.ru>
date Thu, 11 Nov 2004 00:00:00 +0300
parents f0b350454894
children 45fe5b98a9de
comparison
equal deleted inserted replaced
9:77eee314ddbd 10:46833bd150cb
31 #include <ngx_http_ssl_module.h> 31 #include <ngx_http_ssl_module.h>
32 #endif 32 #endif
33 33
34 34
35 typedef struct { 35 typedef struct {
36 u_int connection; 36 u_int connection;
37 37
38 /* 38 /*
39 * we declare "action" as "char *" because the actions are usually 39 * we declare "action" as "char *" because the actions are usually
40 * the static strings and in the "u_char *" case we have to override 40 * the static strings and in the "u_char *" case we have to override
41 * all the time their types 41 * all the time their types
42 */ 42 */
43 43
44 char *action; 44 char *action;
45 u_char *client; 45 ngx_str_t *client;
46 u_char *url; 46 ngx_http_request_t *request;
47 } ngx_http_log_ctx_t; 47 } ngx_http_log_ctx_t;
48 48
49 49
50 #define ngx_http_get_module_ctx(r, module) r->ctx[module.ctx_index] 50 #define ngx_http_get_module_ctx(r, module) r->ctx[module.ctx_index]
51 #define ngx_http_get_module_err_ctx(r, module) \ 51 #define ngx_http_get_module_err_ctx(r, module) \