|
taskrambler
0.1.9
Web server and task management solution.
|
#include <sys/types.h>#include <stdio.h>#include <stdlib.h>#include <time.h>#include <string.h>#include <sys/time.h>#include "class.h"#include "auth.h"#include "queue.h"#include "session.h"#include "stream.h"#include "hash.h"#include "http/worker.h"#include "http/header.h"#include "http/message.h"#include "http/request.h"#include "http/response.h"#include "http/parser.h"#include "config/config.h"#include "config/value.h"#include "interface/subject.h"#include "utils/memory.h"#include "utils/mime_type.h"#include "commons.h"
Include dependency graph for process.c:Go to the source code of this file.
Functions | |
| HttpMessage | httpWorkerGetAsset (HttpWorker, const char *) |
| void | httpWorkerAddCommonHeader (HttpWorker) |
| void | httpWorkerAddComputedHeader (HttpWorker) |
| ssize_t | httpWorkerProcess (HttpWorker this, Stream st) |
Variables | |
| Config | config |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file process.c.
| void httpWorkerAddCommonHeader | ( | HttpWorker | ) |
Definition at line 40 of file add_common_header.c.
References CSTRA, hashAdd(), httpMessageHasKeepAlive(), and rfc1123GmtNow().
Referenced by httpWorkerProcess().
Here is the call graph for this function:
Here is the caller graph for this function:| void httpWorkerAddComputedHeader | ( | HttpWorker | ) |
Definition at line 37 of file add_computed_header.c.
References hashAdd(), and queueGet().
Referenced by httpWorkerProcess().
Here is the call graph for this function:
Here is the caller graph for this function:| HttpMessage httpWorkerGetAsset | ( | HttpWorker | , |
| const char * | |||
| ) |
Definition at line 36 of file get_asset.c.
References CSTRA, hashGet(), httpResponse304(), httpResponse404(), and httpResponseAsset().
Referenced by httpWorkerProcess().
Here is the call graph for this function:
Here is the caller graph for this function:| ssize_t httpWorkerProcess | ( | HttpWorker | this, |
| Stream | st | ||
| ) |
Definition at line 60 of file process.c.
References config, configGet(), CSTRA, getMimeType(), httpParserParse(), httpResponse404(), httpResponse500(), httpWorkerAddCommonHeader(), httpWorkerAddComputedHeader(), httpWorkerGetAsset(), queueEmpty, queueGet(), queuePut(), and subjectNotify().
Here is the call graph for this function:| Config config |
Definition at line 67 of file taskrambler.c.
Referenced by CLASS(), configCtor(), configDtor(), configGet(), httpWorkerProcess(), and main().