3 * Copyright (C) 2001-2010, Eduardo Silva P. <edsiper@gmail.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Library General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 #include <netinet/in.h>
29 /* Max buf length sent by client */
30 #define MAX_REQUEST_BODY 1024
34 /* Send_Header(...,int cgi) */
38 /* Valores para distintas variables */
44 /* Contador de requests en proceso */
48 pthread_mutex_t mutex_thread_list
;
49 pthread_mutex_t mutex_thread_counter
;
50 pthread_mutex_t mutex_cgi_child
;
51 pthread_mutex_t mutex_logfile
;
52 pthread_mutex_t mutex_wait_register
;
54 mk_pointer mk_monkey_protocol
;
55 mk_pointer mk_monkey_port
;
57 /* Usuario real que que ejecuto