Commit 7a7da06
committed
synchronized with lua-nginx-module #f64ec8c.
bugfix: tcpsock:setkeepalive: worker processes might take too long to
gracefully shut down when the keep alive connections take a long max
idle time.
Now we avoid putting any new connections into the pool when nginx is
already shutting down.
Thanks Dejiang Zhu for the upstream patch.1 parent 71f6393 commit 7a7da06
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5266 | 5266 | | |
5267 | 5267 | | |
5268 | 5268 | | |
| 5269 | + | |
| 5270 | + | |
| 5271 | + | |
| 5272 | + | |
| 5273 | + | |
| 5274 | + | |
| 5275 | + | |
| 5276 | + | |
5269 | 5277 | | |
5270 | 5278 | | |
5271 | 5279 | | |
| |||
5435 | 5443 | | |
5436 | 5444 | | |
5437 | 5445 | | |
| 5446 | + | |
| 5447 | + | |
5438 | 5448 | | |
5439 | 5449 | | |
5440 | 5450 | | |
| |||
0 commit comments