LinuxÍøÂç±à³ÌÒ»²½Ò»²½Ñ§-×Ô¼º±àдһ¸öHTTPÐÒéµÄĿ¼ä¯ÀÀºÍÎļþÏÂÔØ·þÎñÆ÷
·þÎñÆ÷Ô´´úÂëÈçÏ£ºU_*HFbj(\B`|"po[code]?P:|9~:\"_3H
#include <stdarg.h>#xo"S?k-pb
#include <errno.h>\&Og!QAV$JG
#include <stdio.h>
#include <fcntl.h>:qB$i#o\6G8J^E
#include <unistd.h>l qX!d)W
#include <string.h>
#include <time.h>\xHcE!YWFv*s.k0F
#include <sys/types.h>
#include <sys/stat.h>#ob2Bt K5r4r5_ Rk
#include <dirent.h>
#include <errno.h>a0S%z(kO#c OAG
#include <netinet/in.h>&y d0jK6V%g|?3cbZ
#include <sys/socket.h> YYF7QED3a\
#include <resolv.h>
#include <arpa/inet.h>1]5Bq,f'C
#include <stdlib.h>
#include <signal.h>
#include <getopt.h>
gH1`wMD|
#define DEFAULTIP "127.0.0.1"#U#`D:}qoa3x!b
#define DEFAULTPORT "80"3h:GkG5k,Kle0{-P
#define DEFAULTBACK "10"
#define DEFAULTDIR "/home"5P,f+DF%NgC
#define DEFAULTLOG "/tmp/das-server.log"
void prterrmsg(char *msg);
#define prterrmsg(msg) { perror(msg); abort(); }
void wrterrmsg(char *msg);
#define wrterrmsg(msg) { fputs(msg, logfp); fputs(strerror(errno), logfp);fflush(logfp); abort(); }$\!Y7nB:}!c,D:K;M
[1M7Uy8l%[&J
void prtinfomsg(char *msg);&f