mirror of
https://github.com/nginx/nginx.git
synced 2025-01-07 22:53:02 -06:00
nginx-0.2.1-RELEASE import
*) Bugfix: if all backend using in load-balancing failed after one error, then nginx may got caught in an endless loop; the bug had appeared in 0.2.0.
This commit is contained in:
parent
b6f62a9a1c
commit
09a2439612
@ -9,6 +9,24 @@
|
|||||||
<title lang="en">nginx changelog</title>
|
<title lang="en">nginx changelog</title>
|
||||||
|
|
||||||
|
|
||||||
|
<changes ver="0.2.1" date="23.09.2005">
|
||||||
|
|
||||||
|
<change type="bugfix">
|
||||||
|
<para lang="ru">
|
||||||
|
ÅÓÌÉ ×ÓÅ ÂÜËÅÎÄÙ, ÉÓÐÏÌØÚÕÅÍÙÅ ÄÌÑ ÂÁÌÁÎÓÉÒÏ×ËÉ ÎÁÇÒÕÚËÉ, ÏËÁÚÙ×ÁÌÉÓØ
|
||||||
|
× ÎÅÒÁÂÏÞÅÍ ÓÏÓÔÏÑÎÉÉ ÐÏÓÌÅ ÏÄÎÏÊ ÏÛÉÂËÉ, ÔÏ nginx ÍÏÇ ÚÁÃÉËÌÉÔÓÑ;
|
||||||
|
ÏÛÉÂËÁ ÐÏÑ×ÉÌÁÓØ × 0.2.0.
|
||||||
|
</para>
|
||||||
|
<para lang="en">
|
||||||
|
if all backend using in load-balancing failed after one error, then
|
||||||
|
nginx may got caught in an endless loop;
|
||||||
|
bug appeared in 0.2.0.
|
||||||
|
</para>
|
||||||
|
</change>
|
||||||
|
|
||||||
|
</changes>
|
||||||
|
|
||||||
|
|
||||||
<changes ver="0.2.0" date="23.09.2005">
|
<changes ver="0.2.0" date="23.09.2005">
|
||||||
|
|
||||||
<change>
|
<change>
|
||||||
@ -104,7 +122,6 @@ nginx did not try do connect to them during 60 seconds.
|
|||||||
</para>
|
</para>
|
||||||
<para lang="en">
|
<para lang="en">
|
||||||
in IMAP/POP3 command argument parsing.
|
in IMAP/POP3 command argument parsing.
|
||||||
Thanks to Rob Mueller.
|
|
||||||
</para>
|
</para>
|
||||||
</change>
|
</change>
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define _NGINX_H_INCLUDED_
|
#define _NGINX_H_INCLUDED_
|
||||||
|
|
||||||
|
|
||||||
#define NGINX_VER "nginx/0.2.0"
|
#define NGINX_VER "nginx/0.2.1"
|
||||||
|
|
||||||
#define NGINX_VAR "NGINX"
|
#define NGINX_VAR "NGINX"
|
||||||
#define NGX_OLDPID_EXT ".oldbin"
|
#define NGX_OLDPID_EXT ".oldbin"
|
||||||
|
@ -97,19 +97,20 @@ struct ngx_open_file_s {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#define NGX_MODULE_V1 0, 0, 1, 0, 0, 0, 0
|
#define NGX_MODULE_V1 0, 0, 0, 0, 0, 0, 1
|
||||||
#define NGX_MODULE_V1_PADDING 0, 0, 0, 0, 0, 0, 0, 0
|
#define NGX_MODULE_V1_PADDING 0, 0, 0, 0, 0, 0, 0, 0
|
||||||
|
|
||||||
struct ngx_module_s {
|
struct ngx_module_s {
|
||||||
ngx_uint_t ctx_index;
|
ngx_uint_t ctx_index;
|
||||||
ngx_uint_t index;
|
ngx_uint_t index;
|
||||||
ngx_uint_t version;
|
|
||||||
|
|
||||||
ngx_uint_t spare0;
|
ngx_uint_t spare0;
|
||||||
ngx_uint_t spare1;
|
ngx_uint_t spare1;
|
||||||
ngx_uint_t spare2;
|
ngx_uint_t spare2;
|
||||||
ngx_uint_t spare3;
|
ngx_uint_t spare3;
|
||||||
|
|
||||||
|
ngx_uint_t version;
|
||||||
|
|
||||||
void *ctx;
|
void *ctx;
|
||||||
ngx_command_t *commands;
|
ngx_command_t *commands;
|
||||||
ngx_uint_t type;
|
ngx_uint_t type;
|
||||||
|
@ -360,5 +360,7 @@ ngx_event_connect_peer_failed(ngx_peer_connection_t *pc, ngx_uint_t down)
|
|||||||
pc->cur_peer = 0;
|
pc->cur_peer = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pc->tries) {
|
||||||
pc->tries--;
|
pc->tries--;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user