reset transparent flag on keep-alive connection

This commit is contained in:
z3APA3A committed 2016-01-23 17:16:49 +03:00
1 parent 4af5f2fde7
commit d6f29ac6df
1 file changed
+1
+1
View File
@@ -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);}