Fixed: CONNECT does not work in standalone 'proxy' binary
Some checks failed
C/C++ CI / ${{ matrix.target }} (macos-15) (push) Has been cancelled
C/C++ CI / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Has been cancelled
C/C++ CI / ${{ matrix.target }} (ubuntu-latest) (push) Has been cancelled
C/C++ CI / ${{ matrix.target }} (windows-2022) (push) Has been cancelled

This commit is contained in:
Vladimir Dubrovin 2025-08-05 17:39:11 +03:00
parent e525ce913e
commit 2966836dfa

View File

@ -506,10 +506,14 @@ for(;;){
if(action != PASS) RETURN(517);
param->nolongdatfilter = 0;
#endif
if(isconnect && param->redirtype != R_HTTP) {
socksend(param, param->clisock, (unsigned char *)proxy_stringtable[8], (int)strlen(proxy_stringtable[8]), conf.timeouts[STRING_S]);
}
#ifndef WITHMAIN
if (param->npredatfilters){
action = handlepredatflt(param);
if(action == HANDLED){