summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2016-09-05Support encoding UTF-8 charactersHEADmasterFRIGN1-2/+2
2016-09-04Use sizeof() instead of magic constantsFRIGN1-16/+15
2016-09-04Use enum for HTTP stati and improve data structuresFRIGN1-67/+90
2016-09-04Use die() in usage()FRIGN1-3/+2
2016-09-04Add missing newlineFRIGN1-1/+1
2016-09-02Add a few more mime typesFRIGN1-7/+12
2016-09-02Stop hiding what we're doing in the MakefileFRIGN1-16/+13
2016-09-02Simplify Makefile and package properlyFRIGN1-18/+7
2016-09-02Initial commit of quark rewriteFRIGN7-0/+988
2016-09-02Prepare repository for rewriteFRIGN8-1049/+0
2015-05-24Fix syntax error in config.def.hFRIGN1-1/+1
2014-12-01Simplify config.mksin1-7/+2
2014-12-01Undef MIN() because it screams on OpenBSDsin1-0/+1
2014-12-01Only set SO_REUSEADDR on the listening fdsin1-7/+8
2014-11-30bind: re-use address, setsockopt SO_REUSEADDRHiltjo Posthuma1-1/+6
2014-11-30config: add some more common mime-typesHiltjo Posthuma1-5/+24
2014-11-30code-style fixesHiltjo Posthuma1-29/+49
2014-11-30change the behavior of docrootIvan Delalande3-15/+36
2014-08-24Revert "request: ignore empty request in log"FRIGN1-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