fixed tls call of resolveAddress and made one Reader function static
This commit is contained in:
parent
3ff512bfca
commit
28ea7d6708
|
@ -282,7 +282,7 @@ public:
|
|||
}
|
||||
|
||||
template <StringLiteral Literal>
|
||||
constexpr size_t toIndex() const noexcept {
|
||||
static constexpr size_t toIndex() const noexcept {
|
||||
return MessageParameterKeyPackIndex<Literal, Keys...>::Value;
|
||||
}
|
||||
|
||||
|
|
|
@ -241,7 +241,7 @@ Conveyor<Own<NetworkAddress>> TlsNetwork::resolveAddress(const std::string &addr
|
|||
uint16_t port) {
|
||||
/// @todo tls server name needed. Check validity. Won't matter later on, because gnutls should fail anyway. But
|
||||
/// it's better to find the error source sooner rather than later
|
||||
return internal.parseAddress(addr, port);
|
||||
return internal.resolveAddress(addr, port);
|
||||
}
|
||||
|
||||
std::optional<Own<TlsNetwork>> setupTlsNetwork(Network &network) {
|
||||
|
|
Loading…
Reference in New Issue