Compare commits
No commits in common. "jira/663" and "master" have entirely different histories.
@ -17,12 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* This is required for pthread_setattr_default_np() to be
|
||||
* available and function correctly.
|
||||
*/
|
||||
#define _GNU_SOURCE 1
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "conf.h"
|
||||
@ -41,7 +35,6 @@
|
||||
#include <libgen.h>
|
||||
#include <netdb.h>
|
||||
#include <netinet/in.h>
|
||||
#include <pthread.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -282,12 +275,6 @@ int main(int argc, char* argv[]) {
|
||||
/* General */
|
||||
int retval;
|
||||
|
||||
/* Set default stack size of 8MB */
|
||||
pthread_attr_t default_pthread_attr;
|
||||
pthread_attr_init(&default_pthread_attr);
|
||||
pthread_attr_setstacksize(&default_pthread_attr, GUACD_THREAD_STACK_SIZE);
|
||||
pthread_setattr_default_np(&default_pthread_attr);
|
||||
|
||||
/* Load configuration */
|
||||
guacd_config* config = guacd_conf_load();
|
||||
if (config == NULL || guacd_conf_parse_args(config, argc, argv))
|
||||
|
@ -33,11 +33,6 @@
|
||||
*/
|
||||
#define GUACD_CLIENT_MAX_CONNECTIONS 65536
|
||||
|
||||
/**
|
||||
* The pthread stack size for the guacd daemon.
|
||||
*/
|
||||
#define GUACD_THREAD_STACK_SIZE 8388608
|
||||
|
||||
/**
|
||||
* The number of hash buckets in each process map.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user