mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Support unix sockets for internal and -i
Example configuration: log auto -iunix:/path/to/3proxy.sock test with curl --unix-socket /path/to/3proxy.sock https://3proxy.ru
This commit is contained in:
1 parent
77b0dc3397
commit
c206349ee2
14 files changed
+153
-135
No files matched your search
+1
-5
@@ -44,11 +44,7 @@ void * sockschild(struct clientparam* param) {
|
||||
struct pollfd fds[3];
|
||||
int ver=0;
|
||||
int havepass = 0;
|
||||
#ifndef NOIPV6
|
||||
struct sockaddr_in6 sin = {AF_INET6};
|
||||
#else
|
||||
struct sockaddr_in sin = {AF_INET};
|
||||
#endif
|
||||
PROXYSOCKADDRTYPE sin;
|
||||
int len;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user