ADDED filed.8 Index: filed.8 ================================================================== --- /dev/null +++ filed.8 @@ -0,0 +1,25 @@ +.PU +.TH FILED 8 "06 Feb 14" "filed 1.0" +.SH NAME +filed \- serve files over HTTP +.SH SYNOPSIS +.ll +10 +.B filed +.RB [ "\-h" ] +.RB [ \-p\ port ] +.RB [ \-t\ counts ] +.RB [ \-c\ entries ] +.ll -10 +.SH DESCRIPTION +.I FILED +serves files over HTTP as minimally as possible. Only static files (i.e., files that never change or are replaced) are supported. + +.SH OPTIONS +.TP +.B \-p +port + +.SH AUTHOR +.Sp +Roy Keene +.I Index: filed.c ================================================================== --- filed.c +++ filed.c @@ -20,11 +20,11 @@ /* Compile time constants */ #define FILED_SENDFILE_MAX 16777215 #define MAX_FAILURE_COUNT 30 /* Default values */ -#define PORT 8080 +#define PORT 80 #define THREAD_COUNT 5 #define BIND_ADDR "::" #define CACHE_SIZE 8193 /* Arguments for worker threads */