1
0
Fork 0
mirror of https://gitlab.com/niansa/llama_any.git synced 2025-03-06 20:48:27 +01:00

Removed misleading HTTP reference

This commit is contained in:
Nils Sauer 2023-04-05 16:24:08 +02:00
parent 250ec5d1a4
commit 76d5f397ff

View file

@ -58,7 +58,7 @@ Client::Client(const std::string& addr, unsigned port) {
# ifdef HAS_ADDRINFO
// Connect to server
if (connect(*connection, addrInfo->ai_addr, addrInfo->ai_addrlen) != 0) [[unlikely]] {
throw Exception("Connection for HTTP::Request has been declined");
throw Exception("Connection has been refused");
}
# else
// Connect to server