these aren't the droids you're looking for, move along....

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6453 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-11-30 22:56:01 +00:00
parent 2dd0e0eb58
commit 321b68c5b4
17 changed files with 850 additions and 65 deletions

View File

@@ -1 +1 @@
Wed Apr 25 16:05:00 EDT 2007
date

View File

@@ -48,7 +48,7 @@ extern "C" {
** Maximum numer of simultaneous connections
*********************************************************************/
#define MAX_CONN 16
#define MAX_CONN 4000
/*********************************************************************
** Server Info Definitions
@@ -443,6 +443,7 @@ typedef struct _TServer
TList defaultfilenames;
void *defaulthandler;
abyss_bool advertise;
int running;
#ifndef _WIN32
uid_t uid;
gid_t gid;

View File

@@ -770,8 +770,8 @@ ServerRunThreaded(TServer *srv)
c[i].inUse = FALSE;
s=srv->listensock;
while( 1 )
srv->running = 1;
while( srv->running )
{
/* collect all threads resources for closed connections */
for (i=0;i<MAX_CONN;i++)

View File

@@ -41,7 +41,7 @@
#include "xmlrpc_config.h"
/* 16K is the minimum size of stack on Win32 */
#define THREAD_STACK_SIZE (16*1024)
#define THREAD_STACK_SIZE (240*1024)
/*********************************************************************
** Thread