mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
. Added TODO list
. Changed a comment
This commit is contained in:
parent
b959c6bc3a
commit
98c9fd318e
@ -7,6 +7,15 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* TODO:
|
||||||
|
* . Actually serve files.
|
||||||
|
* . Generate directory entries.
|
||||||
|
* . Log to file.
|
||||||
|
* . Partial content.
|
||||||
|
* . Keep-alive connections.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/queue.h>
|
#include <sys/queue.h>
|
||||||
@ -329,7 +338,7 @@ static char *rfc1123_date(const time_t when)
|
|||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------
|
/* ---------------------------------------------------------------------------
|
||||||
* A default reply for any occasion.
|
* A default reply for any (erroneous) occasion.
|
||||||
*/
|
*/
|
||||||
static void default_reply(struct connection *conn,
|
static void default_reply(struct connection *conn,
|
||||||
const int errcode, const char *errname, const char *reason)
|
const int errcode, const char *errname, const char *reason)
|
||||||
|
Loading…
Reference in New Issue
Block a user