Fixed SSLPlugin handling

This commit is contained in:
z3APA3A committed 2020-11-19 23:22:15 +03:00
1 parent 7ea9ec89be
commit 05bc297ea7
3 files changed
+57 -43

No files matched your search

+7 -3
View File
@@ -816,12 +816,16 @@ for(;;){
if(isconnect && param->redirtype != R_HTTP) {
socksend(param->clisock, (unsigned char *)proxy_stringtable[8], (int)strlen(proxy_stringtable[8]), conf.timeouts[STRING_S]);
if(param->redirectfunc) {
if(req)myfree(req);
if(buf)myfree(buf);
if(req)myfree(req);
if(buf)myfree(buf);
return (*param->redirectfunc)(param);
}
param->res = mapsocket(param, conf.timeouts[CONNECTION_L]);
if(param->redirectfunc) {
if(req)myfree(req);
if(buf)myfree(buf);
return (*param->redirectfunc)(param);
}
RETURN(param->res);
}