summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-09-11 19:27:09 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-09-11 19:27:09 +0000
commit2c3cc9185dc25af31c3b76501302ce0c06f8da7e (patch)
tree4ef7cb58a6383e92425ddea19fc76fd776a6f74d
parentf8edd2d8b4fef01135ffb89df166826520e8ccc9 (diff)
downloadtinyproxy-2c3cc9185dc25af31c3b76501302ce0c06f8da7e.tar.gz
tinyproxy-2c3cc9185dc25af31c3b76501302ce0c06f8da7e.zip
Set the stack size of threads to 32KB from 128KB.
Diffstat (limited to '')
-rw-r--r--src/thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread.c b/src/thread.c
index 11ff21e..ea7f7eb 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -1,4 +1,4 @@
-/* $Id: thread.c,v 1.14 2001-09-08 18:58:37 rjkaes Exp $
+/* $Id: thread.c,v 1.15 2001-09-11 19:27:09 rjkaes Exp $
*
* Handles the creation/destruction of the various threads required for
* processing incoming connections.
@@ -28,7 +28,7 @@
* This is the stack frame size used by all the threads. We'll start by
* setting it to 128 KB.
*/
-#define THREAD_STACK_SIZE (1024 * 128)
+#define THREAD_STACK_SIZE (1024 * 32)
static int listenfd;
static socklen_t addrlen;