use sane defaults

This commit is contained in:
rofl0r 2012-04-24 01:48:17 +02:00
parent 561679fbcd
commit d72e668767
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
#ifndef __CORE_HEADER #ifndef __CORE_HEADER
#define __CORE_HEADER #define __CORE_HEADER
#define BUFF_SIZE 8*1024 // used to read responses from proxies. #define BUFF_SIZE 8*1024 // used to read responses from proxies.
#define MAX_LOCALNET 1024 #define MAX_LOCALNET 64
typedef union { typedef union {
unsigned char octet[4]; unsigned char octet[4];

View File

@ -41,7 +41,7 @@
#define SOCKADDR_2(x) (satosin(x)->sin_addr) #define SOCKADDR_2(x) (satosin(x)->sin_addr)
#define SOCKPORT(x) (satosin(x)->sin_port) #define SOCKPORT(x) (satosin(x)->sin_port)
#define SOCKFAMILY(x) (satosin(x)->sin_family) #define SOCKFAMILY(x) (satosin(x)->sin_family)
#define MAX_CHAIN 30*1024 #define MAX_CHAIN 512
int tcp_read_time_out; int tcp_read_time_out;
int tcp_connect_time_out; int tcp_connect_time_out;