Browse Source

increase BUF_SIZE

pull/115/head
clowwindy 10 years ago
parent
commit
369d27ee78
4 changed files with 4 additions and 4 deletions
  1. 2
      src/local.c
  2. 2
      src/redir.c
  3. 2
      src/server.c
  4. 2
      src/tunnel.c

2
src/local.c

@ -67,7 +67,7 @@
#endif #endif
#ifndef BUF_SIZE #ifndef BUF_SIZE
#define BUF_SIZE 512
#define BUF_SIZE 2048
#endif #endif
int acl = 0; int acl = 0;

2
src/redir.c

@ -55,7 +55,7 @@
#endif #endif
#ifndef BUF_SIZE #ifndef BUF_SIZE
#define BUF_SIZE 512
#define BUF_SIZE 2048
#endif #endif
int getdestaddr(int fd, struct sockaddr_in *destaddr) int getdestaddr(int fd, struct sockaddr_in *destaddr)

2
src/server.c

@ -59,7 +59,7 @@
#endif #endif
#ifndef BUF_SIZE #ifndef BUF_SIZE
#define BUF_SIZE 512
#define BUF_SIZE 2048
#endif #endif
int verbose = 0; int verbose = 0;

2
src/tunnel.c

@ -64,7 +64,7 @@
#endif #endif
#ifndef BUF_SIZE #ifndef BUF_SIZE
#define BUF_SIZE 512
#define BUF_SIZE 2048
#endif #endif
int verbose = 0; int verbose = 0;

Loading…
Cancel
Save