quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

DateCommit messageAuthorFiles+-
2020-09-16 16:18Introduce state-handling and interruptiblity in serve()Laslo Hunhold1+78-43
2020-09-16 08:56Refactor http_send_buf() and http_recv_header() and simplify bufferLaslo Hunhold3+15-29
2020-09-14 17:50Add config.h dependency to quark-ruleLaslo Hunhold1+1-1
2020-09-14 13:02Consistently call "enum status"-variables "s"Laslo Hunhold1+9-9
2020-09-14 11:45Make the serving process interruptibleLaslo Hunhold9+260-133
2020-08-29 11:02Add logmsg() and refactor connection handlingLaslo Hunhold2+45-36
2020-08-28 22:42Add http_send_body() and data_send_error() and refactorLaslo Hunhold7+101-78
2020-08-28 21:46Rename functions in data.h and adapt ifdefLaslo Hunhold3+9-12
2020-08-28 21:29Rename resp.{c,h} to data.{c,h}Laslo Hunhold6+143-144
2020-08-28 21:19Rename status to s in serve()Laslo Hunhold1+6-6
2020-08-28 21:16Return proper error-status when http_send_header() failsLaslo Hunhold2+10-8
2020-08-28 20:48Improve http_prepare_response()'s error semanticsLaslo Hunhold3+65-40
2020-08-28 20:32Replace http_send_status() with http_prepare_error_response()Laslo Hunhold3+50-44
2020-08-23 11:36Mention default behaviour in the manual when the host is not givenLaslo Hunhold1+2-1
2020-08-23 11:35Refactor sock_get_uds() a bitLaslo Hunhold1+6-5
2020-08-23 09:02Rename s to srvLaslo Hunhold2+44-44
2020-08-22 21:37Rename "target" to "URI" where appropriateLaslo Hunhold4+17-17
2020-08-22 21:31Remove unused field in the request-structLaslo Hunhold1+0-2
2020-08-22 21:20Refactor http_send_response() into http_prepare_response()Laslo Hunhold7+294-263
2020-08-22 09:05Split up http_get_request()Laslo Hunhold3+71-58
2020-08-22 07:24Add connection structLaslo Hunhold3+86-56
2020-08-21 17:38Move infd and header into request-structLaslo Hunhold3+51-47
2020-08-18 06:46Update manpage to list capabilities and behaviourLaslo Hunhold1+10-1
2020-08-17 09:37Reduce global state by localizing the server-structLaslo Hunhold5+36-38
2020-08-17 08:33Implement RFC 8615 (Well-Known URIs) and refine access errorsLaslo Hunhold1+9-5
2020-08-09 21:20Make user/group-handling-code more robustLaslo Hunhold1+11-11
2020-08-09 20:43Remove three dead stores in main()Laslo Hunhold1+3-4
2020-08-05 21:27Add space in listLaslo Hunhold1+1-1
2020-08-05 17:14Begin comment in lowercaseLaslo Hunhold1+1-1
2020-08-05 16:59Replace off_t with size_tLaslo Hunhold3+10-9
2020-08-05 16:28Ensure const-correctness where possible and refactor parse_range()Laslo Hunhold7+87-58
2020-08-05 13:46Rename REQ_MOD to REQ_IF_MODIFIED_SINCELaslo Hunhold2+7-6
2020-08-05 13:43Rename request "r" to "req"Laslo Hunhold3+34-34
2020-08-05 11:41Refactor response-generationLaslo Hunhold5+173-117
2020-08-04 14:31Refactor range-parsing into a separate functionLaslo Hunhold1+110-93
2020-07-23 16:54Send Accept-Ranges-header for file-requestsLaslo Hunhold1+2-1
2020-07-23 16:16Refactor range-parsingLaslo Hunhold1+84-25
2020-07-23 14:54Explicitly initialize struct tm with zeroesLaslo Hunhold1+1-1
2020-07-23 14:48Use timegm() instead of mktime() to generate UNIX-timestampLaslo Hunhold2+2-1
2020-05-07 11:41Update LICENSELaslo Hunhold1+1-0
2020-04-22 18:46Fix for sending HTTP response status 304Rainer Holzner2+5-2
2020-04-21 15:48Update LICENSELaslo Hunhold1+2-1
2020-04-21 15:04Make host parameters optionalNihal Jere2+4-4
2020-03-25 13:07Properly HTML-escape names in dirlistingsLaslo Hunhold1+51-3
2020-03-20 19:35Fix unveil(2) usageLaslo Hunhold1+4-1
2019-09-23 14:56Use pledge(2) and unveil(2) on OpenBSDLaslo Hunhold3+52-0
2019-05-30 21:15Use compound literals and explicit initializationLaslo Hunhold2+16-18
2019-02-24 20:50Improve tokenization for m- and v-flag parsingLaslo Hunhold2+88-24
2019-02-23 23:40Change target prefix mapping argument orderLaslo Hunhold3+16-13
2019-02-23 12:50Sort flag-switch alphabeticallyLaslo Hunhold1+33-33
2019-02-18 22:44Add a space after the number in the Xr mandoc macroLaslo Hunhold1+2-2
2019-01-10 21:02Don't replace '+' with ' ' when decoding URLsLaslo Hunhold1+1-3
2019-01-02 16:04Specify UTF-8 for non-binary content-typesLaslo Hunhold3+12-12
2018-07-16 20:46Fix one byte NULL stack overflowAaron Burrow2+2-1
2018-07-16 09:47Correct arg.h licenseLaslo Hunhold1+2-1
2018-07-02 16:43Send a relative redirection header wherever possibleLaslo Hunhold1+48-28
2018-07-02 16:41Use sizeof() - 1 rather than strlen()Laslo Hunhold1+1-1
2018-07-02 05:15Add Dominik Schmidt to licenseLaslo Hunhold1+1-0
2018-07-02 02:08Open a new process group before setting up signal handlerDominik Schmidt1+3-0
2018-04-02 23:23Give an indication of the time zone in the logLaslo Hunhold1+2-2
2018-04-02 22:55Clean up request host properlyLaslo Hunhold1+38-0
2018-04-02 00:55permit prefix to be empty in -v format stringJosuah Demangeon2+6-4
2018-04-02 00:54fix segfault on parsing of -v and -mJosuah Demangeon1+2-2
2018-03-05 09:24Add netinet/in.h to sock.cLaslo Hunhold1+1-0
2018-03-05 08:51Update the documentation to reflect the new flag-centric usageLaslo Hunhold4+96-41
2018-03-05 00:12http_send_response: fix undefined behaviour for copying the target stringHiltjo Posthuma1+2-1
2018-03-05 00:04Fix a logic errorLaslo Hunhold1+2-2
2018-03-04 23:56util: don't initialize server, it's already done in main()Hiltjo Posthuma2+2-2
2018-03-04 23:59Add esnprintf() and refactor some codeLaslo Hunhold3+20-6
2018-03-04 23:30Be extra pedantic again and remove all warningsLaslo Hunhold4+11-9
2018-03-01 14:18Add some missing headers and interface visibility macroQuentin Rameau3+4-2
2018-03-04 23:14Introduce flag-centric usageLaslo Hunhold6+169-95
2018-02-27 12:00Fix the regex in the exampleLaslo Hunhold1+1-1
2018-02-27 11:43Add target prefix mappingLaslo Hunhold2+28-0
2018-02-27 10:36Add support for adding a prefix to a target when matching vhostsLaslo Hunhold2+16-4
2018-02-27 02:38Use scheme-relative (aka protocol-relative) URLs for redirectsLaslo Hunhold1+1-1
2018-02-23 21:40If fork fails, close the incoming socketLaslo Hunhold1+3-3
2018-02-23 21:29Actually exit the child process once finished servingLaslo Hunhold1+1-0
2018-02-12 19:29add headers to make it compile under OpenBSDJosuah Demangeon2+3-0
2018-02-05 16:15Remove server-architecture specifics from serve() and add them to main()Laslo Hunhold1+52-56
2018-02-05 16:15Refine manpage concerning the UNIX-domain socket fileLaslo Hunhold1+5-4
2018-02-04 20:40Refine error messagesLaslo Hunhold1+6-4
2018-02-04 20:33Update LICENSELaslo Hunhold1+1-1
2018-02-04 20:27Refactor the single source file into multiple modulesLaslo Hunhold13+1345-1171
2017-08-30 21:33Homogenize license statementLaslo Hunhold1+1-1
2017-08-30 12:27config.mk: improve feature test macros and compatibilityHiltjo Posthuma2+4-3
2017-08-13 22:06Don't default to clangLaslo Hunhold1+1-1
2017-08-13 21:30Update MANPREFIX according to FHSLaslo Hunhold1+2-2
2017-08-08 20:06Make sure we flush the buffers before leavingLaslo Hunhold1+2-2
2017-08-04 15:53Rename _i,_argused to i_,argused_Laslo Hunhold1+8-8
2017-08-04 15:14Change the license formatting a bit to be in line with the OSILaslo Hunhold1+4-3
2017-08-04 15:12Import updated arg.h from farbfeldLaslo Hunhold1+17-23
2017-08-02 11:54Import fixed arg.h from farbfeldLaslo Hunhold1+1-1
2017-08-02 06:50Improve vhost handling and fix an uninitialized variable useLaslo Hunhold1+8-6
2017-08-02 06:38Import rewritten arg.h from farbfeldLaslo Hunhold1+48-58
2017-07-24 15:43Do not remove existing socket fileQuentin Rameau1+6-3
2017-07-23 23:02Forward catched signals to childrenQuentin Rameau1+1-0
2017-07-23 22:59Re-localize insock, don't manually close the socketQuentin Rameau1+1-3
2017-07-23 22:56Don't warn on cleanup unlink errorQuentin Rameau1+2-3
2017-07-23 22:53Restore default handlers in childrenQuentin Rameau1+3-0
More commits remaining [...]