#include <sys/types.h>#include <sys/stat.h>#include <signal.h>#include <ctype.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <time.h>#include <fcntl.h>#include <unistd.h>#include <pwd.h>#include <errno.h>#include "http.h"#include "utility.h"#include "config.h"Include dependency graph for request.c:

Go to the source code of this file.
Functions | |
| _PROTOTYPE (static void Timeout,(int sig)) | |
| _PROTOTYPE (static int getline,(char *buffer, int size)) | |
| _PROTOTYPE (static void authorize,(char *p, struct http_request *rq)) | |
| _PROTOTYPE (static void decurl,(char *u)) | |
| static void | Timeout (int sig) |
| static int | getline (char *buffer, int size) |
| static void | authorize (char *p, struct http_request *rq) |
| int | getrequest (struct http_request *rq) |
| static void | decurl (char *u) |
Variables | |
| static int | TimeOut |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 74 of file request.c. References http_request::authpass, http_request::authuser, decode64(), NULL, s, strchr, strncpy(), and toupper. |
|
|
Definition at line 335 of file request.c. Referenced by getrequest(). |
|
||||||||||||
|
Definition at line 43 of file request.c. References alarm, p, read, s, SIGALRM, signal(), and strlen(). |
|
|
Definition at line 102 of file request.c. References atoi, atol(), dbglog, decurl(), fflush(), fprintf(), getline(), vhost::hname, HTTP_METHOD_COPY, HTTP_METHOD_DELETE, HTTP_METHOD_GET, HTTP_METHOD_HEAD, HTTP_METHOD_LINK, HTTP_METHOD_MOVE, HTTP_METHOD_OPTIONS, HTTP_METHOD_PATCH, HTTP_METHOD_POST, HTTP_METHOD_PUT, HTTP_METHOD_TRACE, HTTP_METHOD_UNKNOWN, HTTP_METHOD_UNLINK, HTTP_METHOD_WRAPPED, HTTP_REQUEST_TYPE_FULL, HTTP_REQUEST_TYPE_PROXY, HTTP_REQUEST_TYPE_SIMPLE, httptime(), LWS, memset(), vhost::next, NULL, p, ps, s, strcasecmp, strcmp, strncpy(), strrchr(), time_t, and toupper. Referenced by main(). |
|
|
|
|
|
Definition at line 35 of file request.c. Referenced by rl_check_ints(). |
1.4.6