mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-26 23:59:41 +08:00
Fixed service name detection for auto / tlspr
This commit is contained in:
1 parent
2508b89d96
commit
af25cb460f
4 files changed
+18
-10
No files matched your search
+9
-2
@@ -22,8 +22,15 @@ void * autochild(struct clientparam* param) {
|
||||
param->res = 801;
|
||||
dolog(param, (unsigned char *)"");
|
||||
}
|
||||
if(*param->clibuf == 4 || *param->clibuf == 5) return sockschild(param);
|
||||
if(*param->clibuf == 22) return tlsprchild(param);
|
||||
if(*param->clibuf == 4 || *param->clibuf == 5) {
|
||||
param->service = S_SOCKS;
|
||||
return sockschild(param);
|
||||
}
|
||||
if(*param->clibuf == 22) {
|
||||
param->service = S_TLSPR;
|
||||
return tlsprchild(param);
|
||||
}
|
||||
param->service = S_PROXY;
|
||||
return proxychild(param);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user