diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 21:26:01 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 21:26:01 +0000 |
commit | da85f7f5fc233a10abf3cbcbda547c918b67fb27 (patch) | |
tree | cf196e3f59770ee720b4ad387eee004b4f28f762 /src/http/modules/proxy/ngx_http_proxy_handler.h | |
parent | 9c61095a30ed2b6bf051dacbbbd26ae2769d9e34 (diff) | |
download | nginx-da85f7f5fc233a10abf3cbcbda547c918b67fb27.tar.gz nginx-da85f7f5fc233a10abf3cbcbda547c918b67fb27.zip |
nginx-0.0.3-2004-03-17-00:26:01 import
Diffstat (limited to 'src/http/modules/proxy/ngx_http_proxy_handler.h')
-rw-r--r-- | src/http/modules/proxy/ngx_http_proxy_handler.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.h b/src/http/modules/proxy/ngx_http_proxy_handler.h index 2e6cb8473..ee95f1b44 100644 --- a/src/http/modules/proxy/ngx_http_proxy_handler.h +++ b/src/http/modules/proxy/ngx_http_proxy_handler.h @@ -184,7 +184,13 @@ struct ngx_http_proxy_ctx_s { ngx_http_proxy_state_t *state; ngx_array_t states; /* of ngx_http_proxy_state_t */ - u_char *action; + /* + * we declare "action" as "char *" because the actions are usually + * the static strings and in the "u_char *" case we have to override + * all the time their types + */ + + char *action; ngx_http_log_ctx_t *saved_ctx; ngx_log_handler_pt saved_handler; }; |