Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ambrop72/badvpn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorambrop7 <ambrop7@1a93d707-3861-5ebc-ad3b-9740d49b5140>2011-03-20 03:26:38 +0300
committerambrop7 <ambrop7@1a93d707-3861-5ebc-ad3b-9740d49b5140>2011-03-20 03:26:38 +0300
commit81b1c0e14a8315b95f21fbeb853fe8528d11fc50 (patch)
treea7cd42a3f1ed4ca5e41723ec0a7098f6b143afa6 /server
parent023c1245bf4e0eb09f3039fd154683a4177d4c0a (diff)
client, server: use a sane SO_SNDBUF, Windows has problems with 1
Diffstat (limited to 'server')
-rw-r--r--server/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.h b/server/server.h
index 8ac5ba8..7b69750 100644
--- a/server/server.h
+++ b/server/server.h
@@ -51,7 +51,7 @@
// after how long of not hearing anything from the client we disconnect it
#define CLIENT_NO_DATA_TIME_LIMIT 30000
// SO_SNDBFUF socket option for clients
-#define CLIENT_SOCKET_SEND_BUFFER 1
+#define CLIENT_SOCKET_SEND_BUFFER 4096
// maxiumum listen addresses
#define MAX_LISTEN_ADDRS 16