summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_upstream.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-08-28Router: fixed "pass" to upstreams.hongzhidao1-2/+2
Messed up return values in nxt_upstream_find() caused error in applying any configuration with a valid "pass" value in router configuration pointing to upstream. That wasn't the case in "listeners" objects, where the return value wasn't checked. Also, it caused segfault in cases where the "pass" option was configured with variables and resulting value was pointing to a non-existent upstream. Added missing return checks as well to catch possible memory allocation errors. The bug was introduced in d32bc428f46b. This closes #472 issue on GitHub.
2020-08-13Basic variables support.Valentin Bartenev1-2/+4
2020-03-06Round robin upstream added.Igor Sysoev1-1/+134
2020-03-04Legacy upstream code removed.Igor Sysoev1-36/+0
2017-01-17Initial version.Igor Sysoev1-0/+43