diff --git a/src/auth.c b/src/auth.c index 66b84ce..8f7266b 100644 --- a/src/auth.c +++ b/src/auth.c @@ -1095,6 +1095,12 @@ unsigned long udpresolve(int af, unsigned char * name, unsigned char * value, un so._closesocket(sock); break; } +#ifdef TCP_NODELAY + { + int opt = 1; + setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof(opt)); + } +#endif } len = (int)strlen((char *)name); diff --git a/src/version.h b/src/version.h index 3a49320..48d8190 100644 --- a/src/version.h +++ b/src/version.h @@ -1,2 +1,2 @@ #define VERSION "3proxy-0.9-devel" -#define BUILDDATE "161222213124" +#define BUILDDATE "161224021247"