summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2014-08-24Revert "request: ignore empty request in log"HEADmasterFRIGN1-4/+1
2014-08-24Revert "always null-terminate reqbuf buffer"FRIGN1-2/+1
2014-08-24request: ignore empty request in logHiltjo Posthuma1-1/+4
2014-08-24always null-terminate reqbuf bufferFRIGN1-1/+2
2014-08-22Rename fd to listenfd for readabilitysin1-9/+9
2014-08-22Set up process limits and socket timeoutssin1-0/+19
2014-08-22No need to do a socket release heresin1-3/+1
2014-08-22Fix off-by-onesin1-2/+2
2014-08-20Allow dir-listing to be a configurable optionFRIGN2-1/+1
2014-08-20Remove whitespace from manualFRIGN1-1/+1
2014-08-20quark.1: add manpageHiltjo Posthuma3-3/+72
2014-08-20update READMEHiltjo Posthuma1-5/+6
2014-08-20read header until \r\n\r\n or \n\nHiltjo Posthuma1-1/+1
2014-08-20add option -l to enable dirlisting, now disabled by default...Hiltjo Posthuma1-14/+28
2014-08-20cgi: parse Status: headerHiltjo Posthuma2-5/+20
2014-08-16Remove "@strip $@" from the MakefileFRIGN1-1/+0
2014-08-16Fix potentially uninitialized varssin1-3/+3
2014-08-15Do not indent switch casessin1-8/+8
2014-08-14improve CGI supportHiltjo Posthuma1-2/+21
2014-08-14small style and CGI message fixHiltjo Posthuma1-6/+8
2014-08-14Fortify the sanity-checksFRIGN1-2/+2
2014-08-14config: allow to set options as application argumentsHiltjo Posthuma2-14/+48
2014-08-14Increase clarity of the len-checkFRIGN1-1/+1
2014-08-14check for len(reqbuf) = 0FRIGN1-1/+1
2014-08-14Ignore EPIPE while writing file to socketFRIGN1-1/+1
2014-08-14Ignore SIGPIPEsin1-0/+1
2014-08-14No need for MAXBUFLEN+1sin1-3/+3
2014-08-14Ensure mod is properly initializedsin1-1/+2
2014-08-14Fix streaming errorsFRIGN1-4/+5
2014-08-13Don't let r be uninitializedFRIGN1-5/+7
2014-08-13set host[0] = 0 at the beginning for more safetyFRIGN1-2/+1
2014-08-12Fortify error-casesFRIGN1-3/+3
2014-08-12Streamline the codeFRIGN1-8/+18
2014-08-11HTTP 401 -> 403FRIGN1-9/+9
2014-08-11Get rid of getnameinfo and use inet_ntop insteadFRIGN1-2/+16
2014-08-11Change tstamp() to allow passing time_tFRIGN1-15/+13
2014-08-11Rectify error-handlingFRIGN1-26/+44
2014-08-11Change HTTP-status-codes to definesFRIGN1-11/+11
2014-08-11Reordering function-prototypes and functions and size_t-correctnessFRIGN1-29/+28
2014-08-11Add strftime to modified-date-checkFRIGN1-3/+2
2014-08-09Use gmtime() instead of localtime()FRIGN1-1/+1
2014-08-09Fix mime-handling with default mimeFRIGN2-5/+3
2014-08-09Fix mime-checkFRIGN1-1/+3
2014-08-09Change default mimetype to application/octet-streamFRIGN2-1/+2
2014-08-09Switch to strftimeFRIGN1-3/+2
2014-08-09Simplify loggingFRIGN1-29/+37
2014-08-08Coding styleFRIGN1-118/+109
2014-08-08Refactor responsefile()FRIGN1-6/+8
2014-08-08Use ssize_t for read- and write-return-valuesFRIGN1-2/+2
2014-08-07Refactor sighandlerFRIGN1-12/+3