1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 16:46:38 +02:00

Add support for linking over UNIX sockets.

This commit is contained in:
Sadie Powell
2022-12-15 13:07:22 +00:00
parent 5fa3d8f929
commit dfdcd3021a
13 changed files with 85 additions and 43 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ class MyHTTPClient : public HTTPClient
public:
time_t created;
MyHTTPClient(HTTPProvider *l, int f, const sockaddrs &a) : Socket(f, l->IsIPv6()), HTTPClient(l, f, a), provider(l), ip(a.addr()), created(Anope::CurTime)
MyHTTPClient(HTTPProvider *l, int f, const sockaddrs &a) : Socket(f, l->GetFamily()), HTTPClient(l, f, a), provider(l), ip(a.addr()), created(Anope::CurTime)
{
Log(LOG_DEBUG, "httpd") << "Accepted connection " << f << " from " << a.addr();
}