mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
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:
@@ -1 +1 @@
|
||||
Wed Apr 25 16:05:00 EDT 2007
|
||||
date
|
||||
|
@@ -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;
|
||||
|
@@ -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++)
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user