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:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user