mirror of
https://github.com/3proxy/3proxy.git
synced 2025-04-11 15:03:11 +08:00
Merge e94e6ec221
into 7aad0205e1
This commit is contained in:
commit
bb92c41200
@ -197,7 +197,7 @@ int clientnegotiate(struct chain * redir, struct clientparam * param, struct soc
|
|||||||
return 59;
|
return 59;
|
||||||
case 3:
|
case 3:
|
||||||
if (sockgetlinebuf(param, SERVER, buf, 1, EOF, conf.timeouts[CHAIN_TO]) != 1) return 59;
|
if (sockgetlinebuf(param, SERVER, buf, 1, EOF, conf.timeouts[CHAIN_TO]) != 1) return 59;
|
||||||
len = (unsigned char)buf[0];
|
len = (unsigned char)buf[0] + 2;
|
||||||
if (sockgetlinebuf(param, SERVER, buf, len, EOF, conf.timeouts[CHAIN_TO]) != len) return 59;
|
if (sockgetlinebuf(param, SERVER, buf, len, EOF, conf.timeouts[CHAIN_TO]) != len) return 59;
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
|
Loading…
Reference in New Issue
Block a user