Sfoglia il codice sorgente

reset transparent flag on keep-alive connection

z3APA3A 10 anni fa
parent
commit
d6f29ac6df
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/proxy.c

+ 1 - 0
src/proxy.c

@@ -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);}