diff --git a/src/core.c b/src/core.c index f5e7ce9..4226a7e 100644 --- a/src/core.c +++ b/src/core.c @@ -188,6 +188,7 @@ static int timed_connect(int sock, const struct sockaddr *addr, socklen_t len) { #define INVALID_INDEX 0xFFFFFFFFU +#define BUFF_SIZE 1024 // used to read responses from proxies. static int tunnel_to(int sock, ip_type ip, unsigned short port, proxy_type pt, char *user, char *pass) { char *dns_name = NULL; char hostnamebuf[MSG_LEN_MAX]; diff --git a/src/core.h b/src/core.h index acb0152..fd9b6c8 100644 --- a/src/core.h +++ b/src/core.h @@ -23,7 +23,6 @@ #ifndef __CORE_HEADER #define __CORE_HEADER -#define BUFF_SIZE 8*1024 // used to read responses from proxies. #define MAX_LOCALNET 64 #define MAX_DNAT 64