]> source.dussan.org Git - rspamd.git/commit
[CritFix] Fix upstreams name resolution when there is also a port
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 7 Feb 2022 22:06:25 +0000 (22:06 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 7 Feb 2022 22:06:25 +0000 (22:06 +0000)
commit3ea9cf43a9b034a3401ab84bd289ee783da0bfed
tree198a9a7630655706d1953367a528758e6318cc1b
parent47ff44ea1509ea7882377bf14c541b799eb4cf62
[CritFix] Fix upstreams name resolution when there is also a port

This fix is intended to address the case when Rspamd queries for a hostname with
a port part when re-resolving upstreams addresses via the upstreams module.

Found by: @slavkoja
Confirmed by: @moisseev
src/libutil/upstream.c