#include "setup.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <unistd.h>
#include <signal.h>
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include "getpart.h"
Go to the source code of this file.
#define CMD_AUTH_REQUIRED "auth_required" |
#define DEFAULT_LOGFILE "log/sws.log" |
Definition at line 98 of file sws.c.
#define DEFAULT_PORT 8999 |
Definition at line 95 of file sws.c.
#define END_OF_HEADERS "\r\n\r\n" |
Definition at line 58 of file sws.c.
#define MAXDOCNAMELEN 140000 |
#define MAXDOCNAMELEN_TXT "139999" |
Definition at line 74 of file sws.c.
#define REQBUFSIZ_TXT "149999" |
Definition at line 75 of file sws.c.
#define REQUEST_KEYWORD_SIZE 256 |
#define RESPONSE_DUMP "log/server.response" |
#define SWSVERSION "cURL test suite HTTP server/0.1" |
Definition at line 61 of file sws.c.
Enumerator |
---|
DOCNUMBER_NOTHING |
|
DOCNUMBER_QUIT |
|
DOCNUMBER_BADCONNECT |
|
DOCNUMBER_INTERNAL |
|
DOCNUMBER_CONNECT |
|
DOCNUMBER_WERULEZ |
|
DOCNUMBER_404 |
|
Definition at line 119 of file sws.c.
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
void storerequest |
( |
char * |
reqbuf | ) |
|