mirror of
https://github.com/3proxy/3proxy.git
synced 2026-04-10 23:20:12 +08:00
Fixed: CONNECT does not work in standalone 'proxy' binary
This commit is contained in:
parent
5c7cc3c9b2
commit
e945890613
@ -506,10 +506,14 @@ for(;;){
|
|||||||
if(action != PASS) RETURN(517);
|
if(action != PASS) RETURN(517);
|
||||||
param->nolongdatfilter = 0;
|
param->nolongdatfilter = 0;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
if(isconnect && param->redirtype != R_HTTP) {
|
if(isconnect && param->redirtype != R_HTTP) {
|
||||||
socksend(param, param->clisock, (unsigned char *)proxy_stringtable[8], (int)strlen(proxy_stringtable[8]), conf.timeouts[STRING_S]);
|
socksend(param, param->clisock, (unsigned char *)proxy_stringtable[8], (int)strlen(proxy_stringtable[8]), conf.timeouts[STRING_S]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef WITHMAIN
|
||||||
if (param->npredatfilters){
|
if (param->npredatfilters){
|
||||||
action = handlepredatflt(param);
|
action = handlepredatflt(param);
|
||||||
if(action == HANDLED){
|
if(action == HANDLED){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user