mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
nginx-0.3.11-RELEASE import
*) Bugfix: nginx did not pass the client request headers and body while proxying; the bug had appeared in 0.3.10.
This commit is contained in:
parent
61b1e40939
commit
b141f2b631
@ -9,6 +9,22 @@
|
|||||||
<title lang="en">nginx changelog</title>
|
<title lang="en">nginx changelog</title>
|
||||||
|
|
||||||
|
|
||||||
|
<changes ver="0.3.11" date="15.11.2005">
|
||||||
|
|
||||||
|
<change type="bugfix">
|
||||||
|
<para lang="ru">
|
||||||
|
nginx ÎÅ ÐÅÒÅÄÁ×ÁÌ ÐÒÉ ÐÒÏËÓÉÒÏ×ÁÎÉÉ ÔÅÌÏ ÚÁÐÒÏÓÁ É ÓÔÒÏËÉ ÚÁÇÏÌÏ×ËÁ ËÌÉÅÎÔÁ;
|
||||||
|
ÏÛÉÂËÁ ÐÏÑ×ÉÌÁÓØ × 0.3.10.
|
||||||
|
</para>
|
||||||
|
<para lang="en">
|
||||||
|
nginx did not pass while proxying the client request headers and body;
|
||||||
|
bug appeared in 0.3.10.
|
||||||
|
</para>
|
||||||
|
</change>
|
||||||
|
|
||||||
|
</changes>
|
||||||
|
|
||||||
|
|
||||||
<changes ver="0.3.10" date="15.11.2005">
|
<changes ver="0.3.10" date="15.11.2005">
|
||||||
|
|
||||||
<change type="change">
|
<change type="change">
|
||||||
@ -18,7 +34,7 @@
|
|||||||
</para>
|
</para>
|
||||||
<para lang="en">
|
<para lang="en">
|
||||||
the "valid_referers" directive and the "$invalid_referer" variable
|
the "valid_referers" directive and the "$invalid_referer" variable
|
||||||
was moved to the new ngx_http_referer_module from the ngx_http_rewrite_module.
|
were moved to the new ngx_http_referer_module from the ngx_http_rewrite_module.
|
||||||
</para>
|
</para>
|
||||||
</change>
|
</change>
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define _NGINX_H_INCLUDED_
|
#define _NGINX_H_INCLUDED_
|
||||||
|
|
||||||
|
|
||||||
#define NGINX_VER "nginx/0.3.10"
|
#define NGINX_VER "nginx/0.3.11"
|
||||||
|
|
||||||
#define NGINX_VAR "NGINX"
|
#define NGINX_VAR "NGINX"
|
||||||
#define NGX_OLDPID_EXT ".oldbin"
|
#define NGX_OLDPID_EXT ".oldbin"
|
||||||
|
@ -673,9 +673,9 @@ ngx_http_proxy_create_request(ngx_http_request_t *r)
|
|||||||
code = *(ngx_http_script_code_pt *) e.ip;
|
code = *(ngx_http_script_code_pt *) e.ip;
|
||||||
code((ngx_http_script_engine_t *) &e);
|
code((ngx_http_script_engine_t *) &e);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
b->last = e.pos;
|
b->last = e.pos;
|
||||||
|
}
|
||||||
|
|
||||||
#if (NGX_DEBUG)
|
#if (NGX_DEBUG)
|
||||||
{
|
{
|
||||||
@ -1621,7 +1621,7 @@ ngx_http_proxy_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
|
|||||||
conf->body_set = prev->body_set;
|
conf->body_set = prev->body_set;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conf->body_set_len == 0) {
|
if (conf->body_source.data && conf->body_set_len == NULL) {
|
||||||
|
|
||||||
ngx_memzero(&sc, sizeof(ngx_http_script_compile_t));
|
ngx_memzero(&sc, sizeof(ngx_http_script_compile_t));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user