Mercurial > hg > ngx_http_upstream_keepalive
annotate CHANGES @ 24:2ee28064a04a 0.4
Keepalive: correctly close connections on gracefull shutdown.
On gracefull shutdown nginx calls read handler on all idle connections with
c->close set. Make sure we don't confuse such read handler calls with stale
events and actually close connections. This fixes "open socket ... left
in connection ..." alerts.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 15 Dec 2010 21:12:36 +0300 |
parents | f3e74fbd0f0b |
children | a84573f16a0c |
rev | line source |
---|---|
24
2ee28064a04a
Keepalive: correctly close connections on gracefull shutdown.
Maxim Dounin <mdounin@mdounin.ru>
parents:
22
diff
changeset
|
1 |
2ee28064a04a
Keepalive: correctly close connections on gracefull shutdown.
Maxim Dounin <mdounin@mdounin.ru>
parents:
22
diff
changeset
|
2 Changes with upstream keepalive module 0.4 (2010-12-15): |
2ee28064a04a
Keepalive: correctly close connections on gracefull shutdown.
Maxim Dounin <mdounin@mdounin.ru>
parents:
22
diff
changeset
|
3 |
2ee28064a04a
Keepalive: correctly close connections on gracefull shutdown.
Maxim Dounin <mdounin@mdounin.ru>
parents:
22
diff
changeset
|
4 *) Bugfix: the "[alert] ... open socket ... left in connection ..." |
2ee28064a04a
Keepalive: correctly close connections on gracefull shutdown.
Maxim Dounin <mdounin@mdounin.ru>
parents:
22
diff
changeset
|
5 messages were logged on nginx worker process gracefull exit for |
2ee28064a04a
Keepalive: correctly close connections on gracefull shutdown.
Maxim Dounin <mdounin@mdounin.ru>
parents:
22
diff
changeset
|
6 each cached connection; the bug had appeared in 0.3. |
2ee28064a04a
Keepalive: correctly close connections on gracefull shutdown.
Maxim Dounin <mdounin@mdounin.ru>
parents:
22
diff
changeset
|
7 |
22
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
8 |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
9 Changes with upstream keepalive module 0.3 (2010-09-14): |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
10 |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
11 *) Bugfix: cached connections might be closed needlessly. |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
12 Thanks to Martin Fjordvald. |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
13 |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
14 *) Bugfix: in memory allocation error handling on config creation. |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
15 |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
16 |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
17 Changes with upstream keepalive module 0.2 (2009-05-15): |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
18 |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
19 *) Feature: expiremental support for FastCGI (requires patches). |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
20 |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
21 *) Bugfix: invalid connections might be cached. |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
22 |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
23 |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
24 Changes with upstream keepalive module 0.1 (2008-10-24): |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
25 |
f3e74fbd0f0b
Keepalive: add CHANGES, minor documentation fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
diff
changeset
|
26 *) The first public version. |