mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
reset transparent flag on keep-alive connection
This commit is contained in:
parent
4af5f2fde7
commit
d6f29ac6df
@ -293,6 +293,7 @@ for(;;){
|
||||
RETURN(511);
|
||||
}
|
||||
if(buf[i-3] == '1') keepalive = 2;
|
||||
param->transparent = 0;
|
||||
if((isconnect = !strncasecmp((char *)buf, "CONNECT", 7))) keepalive = 2;
|
||||
|
||||
if ((sb=(unsigned char *)(unsigned char *)strchr((char *)buf, ' ')) == NULL) {RETURN(512);}
|
||||
|
Loading…
Reference in New Issue
Block a user