mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 18:45:40 +08:00
FIX: SSLPlugin for tcppm
This commit is contained in:
parent
1cf169b7ae
commit
8a8622b30f
10
src/tcppm.c
10
src/tcppm.c
@ -20,7 +20,15 @@ void * tcppmchild(struct clientparam* param) {
|
||||
param->operation = CONNECT;
|
||||
res = (*param->srv->authfunc)(param);
|
||||
if(res) {RETURN(res);}
|
||||
RETURN (mapsocket(param, conf.timeouts[CONNECTION_L]));
|
||||
if (param->npredatfilters){
|
||||
int action;
|
||||
action = handlepredatflt(param);
|
||||
if(action == HANDLED){
|
||||
RETURN(0);
|
||||
}
|
||||
if(action != PASS) RETURN(19);
|
||||
}
|
||||
RETURN (param->redirectfunc?param->redirectfunc(param):mapsocket(param, conf.timeouts[CONNECTION_L]));
|
||||
CLEANRET:
|
||||
|
||||
dolog(param, param->hostname);
|
||||
|
Loading…
Reference in New Issue
Block a user