| commit | a5d4f66ad6ebccf281743995718c67d10f5ef18c | [log] [tgz] |
|---|---|---|
| author | Maxim Dounin <mdounin@mdounin.ru> | Mon Apr 02 21:29:35 2012 +0000 |
| committer | Maxim Dounin <mdounin@mdounin.ru> | Mon Apr 02 21:29:35 2012 +0000 |
| tree | 287fe082a40c79b56efa953c11ed4db1f611993b | |
| parent | 525e1f75e4e32fad8cfa198630bf29b7c147263a [diff] |
Upstream: reject upstreams without normal servers. Such upstreams cause CPU hog later in the code as number of peers isn't expected to be 0. Currently this may happen either if there are only backup servers defined in an upstream block, or if server with ipv6 address used in an upstream block.