mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Fix domain name reply processing on connect request for parent proxy
This commit is contained in:
1 parent
e1448b9eb1
commit
bd1dcacf73
1 file changed
+3
-3
+3
-3
@@ -195,9 +195,9 @@ int clientnegotiate(struct chain * redir, struct clientparam * param, struct soc
|
||||
break;
|
||||
return 59;
|
||||
case 3:
|
||||
if (sockgetlinebuf(param, SERVER, buf, 256, 0, conf.timeouts[CHAIN_TO]) > 1)
|
||||
break;
|
||||
return 59;
|
||||
if (sockgetlinebuf(param, SERVER, buf, 1, EOF, conf.timeouts[CHAIN_TO]) != 1) return 59;
|
||||
if (sockgetlinebuf(param, SERVER, buf, (unsigned)(buf[0]+2), EOF, conf.timeouts[CHAIN_TO]) != (unsigned)(buf[0]+2)) return 59;
|
||||
break;
|
||||
case 4:
|
||||
if (sockgetlinebuf(param, SERVER, buf, 18, EOF, conf.timeouts[CHAIN_TO]) == 18)
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user