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:
parent
250ec5d1a4
commit
76d5f397ff
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ Client::Client(const std::string& addr, unsigned port) {
|
||||||
# ifdef HAS_ADDRINFO
|
# ifdef HAS_ADDRINFO
|
||||||
// Connect to server
|
// Connect to server
|
||||||
if (connect(*connection, addrInfo->ai_addr, addrInfo->ai_addrlen) != 0) [[unlikely]] {
|
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
|
# else
|
||||||
// Connect to server
|
// Connect to server
|
||||||
|
|
Loading…
Add table
Reference in a new issue