summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-09-24 01:14:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-09-24 01:14:49 +0000
commit6b64d46ca2e7d900e4ac5257e2acceac2f199c0a (patch)
tree3a4c4fc18019db71722baf221c72935c8427f78c
parent490959af4a46af4d62494b762be931f65aa68b20 (diff)
crank max connections to 800 (really, there are poeple doing this)
-rw-r--r--libexec/spamd/spamd.84
-rw-r--r--libexec/spamd/spamd.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/libexec/spamd/spamd.8 b/libexec/spamd/spamd.8
index d2a0a9f849b..6f3c3590816 100644
--- a/libexec/spamd/spamd.8
+++ b/libexec/spamd/spamd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: spamd.8,v 1.37 2003/09/03 21:22:19 tedu Exp $
+.\" $OpenBSD: spamd.8,v 1.38 2003/09/24 01:14:48 deraadt Exp $
.\"
.\" Copyright (c) 2002 Theo de Raadt. All rights reserved.
.\"
@@ -56,7 +56,7 @@ Return error code 450 to the spammer (default).
Return error code 550 to the spammer.
.It Fl c Ar maxcon
The maximum number of concurrent connections to allow.
-The default is 200.
+The default is 800.
.It Fl d
Debug mode.
.Nm
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c
index 5d6fcc419bb..90f11d17837 100644
--- a/libexec/spamd/spamd.c
+++ b/libexec/spamd/spamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamd.c,v 1.43 2003/09/18 23:33:44 avsm Exp $ */
+/* $OpenBSD: spamd.c,v 1.44 2003/09/24 01:14:48 deraadt Exp $ */
/*
* Copyright (c) 2002 Theo de Raadt. All rights reserved.
@@ -111,7 +111,7 @@ size_t cbs, cbu;
time_t t;
-#define MAXCON 200
+#define MAXCON 800
int maxcon = MAXCON;
int clients;
int debug;