Commit graph

  • e42bb27846 change the behavior of docroot Ivan Delalande 2014-11-30 14:37:28 +0100
  • 4674ccde50 Revert "request: ignore empty request in log" FRIGN 2014-08-25 00:59:57 +0200
  • a86c7f10e3 Revert "always null-terminate reqbuf buffer" FRIGN 2014-08-25 00:53:10 +0200
  • 68f51ac37a request: ignore empty request in log Hiltjo Posthuma 2014-08-24 23:02:03 +0000
  • 73d8b456eb always null-terminate reqbuf buffer FRIGN 2014-08-25 00:33:00 +0200
  • 29c8cfa201 Rename fd to listenfd for readability sin 2014-08-21 23:11:23 +0100
  • de74d9b8fe Set up process limits and socket timeouts sin 2014-08-21 23:09:03 +0100
  • 4f18d89f22 No need to do a socket release here sin 2014-08-21 22:48:09 +0100
  • 293eb4489d Fix off-by-one sin 2014-08-21 22:46:38 +0100
  • 5dac8de322 Allow dir-listing to be a configurable option FRIGN 2014-08-20 20:47:29 +0200
  • ca2c107f30 Remove whitespace from manual FRIGN 2014-08-20 20:44:13 +0200
  • c00949d37d quark.1: add manpage Hiltjo Posthuma 2014-08-20 14:25:58 +0000
  • 43c4400a77 update README Hiltjo Posthuma 2014-08-20 14:10:24 +0000
  • 9fd46fd50e read header until \r\n\r\n or \n\n Hiltjo Posthuma 2014-08-20 13:48:18 +0000
  • 19fbedc39a add option -l to enable dirlisting, now disabled by default... Hiltjo Posthuma 2014-08-20 13:45:50 +0000
  • fa113f8b47 cgi: parse Status: header Hiltjo Posthuma 2014-08-20 12:41:28 +0000
  • 8b6bdd39ff Remove "@strip $@" from the Makefile FRIGN 2014-08-16 22:05:43 +0200
  • 7ecf520b30 Fix potentially uninitialized vars sin 2014-08-16 01:53:23 +0100
  • df8437d4f6 Do not indent switch cases sin 2014-08-15 14:54:03 +0100
  • 2822488312 improve CGI support Hiltjo Posthuma 2014-08-14 17:10:38 +0000
  • 159cdb3e0b small style and CGI message fix Hiltjo Posthuma 2014-08-14 17:07:33 +0000
  • bd9d7e3493 Fortify the sanity-checks FRIGN 2014-08-14 17:48:37 +0200
  • 8aa3e3f48f config: allow to set options as application arguments Hiltjo Posthuma 2014-08-14 16:56:07 +0000
  • 3962978bdd Increase clarity of the len-check FRIGN 2014-08-14 14:18:40 +0200
  • 67750f916f check for len(reqbuf) = 0 FRIGN 2014-08-14 13:58:36 +0200
  • 72d02aa5b1 Ignore EPIPE while writing file to socket FRIGN 2014-08-14 13:14:08 +0200
  • 8fdfa36914 Ignore SIGPIPE sin 2014-08-13 23:26:40 +0100
  • 5d20e3dc27 No need for MAXBUFLEN+1 sin 2014-08-13 23:20:20 +0100
  • 21ec61991f Ensure mod is properly initialized sin 2014-08-13 23:19:49 +0100
  • a1fa707eec Fix streaming errors FRIGN 2014-08-14 09:47:23 +0200
  • a0a2b864a6 Don't let r be uninitialized FRIGN 2014-08-13 21:05:53 +0200
  • 411705dfc0 set host[0] = 0 at the beginning for more safety FRIGN 2014-08-13 19:37:36 +0200
  • 8001703f50 Fortify error-cases FRIGN 2014-08-12 19:17:19 +0200
  • 390b5855f5 Streamline the code FRIGN 2014-08-12 10:34:06 +0200
  • ef51cd3355 HTTP 401 -> 403 FRIGN 2014-08-11 16:59:27 +0200
  • 9e2662c5e9 Get rid of getnameinfo and use inet_ntop instead FRIGN 2014-08-11 16:16:37 +0200
  • 55912e14bf Change tstamp() to allow passing time_t FRIGN 2014-08-11 15:37:45 +0200
  • 54a95cd229 Rectify error-handling FRIGN 2014-08-11 15:23:48 +0200
  • 00e2aa8da6 Change HTTP-status-codes to defines FRIGN 2014-08-11 13:40:30 +0200
  • d5af6424f1 Reordering function-prototypes and functions and size_t-correctness FRIGN 2014-08-11 13:29:29 +0200
  • b00fc1454f Add strftime to modified-date-check FRIGN 2014-08-11 13:12:53 +0200
  • 5c7155255c Use gmtime() instead of localtime() FRIGN 2014-08-09 22:33:11 +0200
  • 34b584e2cb Fix mime-handling with default mime FRIGN 2014-08-09 22:29:08 +0200
  • dc82dd9705 Fix mime-check FRIGN 2014-08-09 21:42:31 +0200
  • 93f27cd081 Change default mimetype to application/octet-stream FRIGN 2014-08-09 21:14:40 +0200
  • bd544952fd Switch to strftime FRIGN 2014-08-09 21:03:55 +0200
  • f142064a17 Simplify logging FRIGN 2014-08-09 18:32:48 +0200
  • 10416a352b Coding style FRIGN 2014-08-08 16:46:01 +0200
  • f915f82a40 Refactor responsefile() FRIGN 2014-08-08 15:37:27 +0200
  • 68535cc04f Use ssize_t for read- and write-return-values FRIGN 2014-08-08 14:23:12 +0200
  • a345c63a59 Refactor sighandler FRIGN 2014-08-07 17:24:39 +0200
  • 92b8bc27da Refactor loop inside writedata() FRIGN 2014-08-07 17:02:03 +0200
  • 76834092d7 Unify return values FRIGN 2014-08-07 16:56:28 +0200
  • 5ffad8984a Use named indices for the response-entry-array FRIGN 2014-08-07 16:34:46 +0200
  • 1e23378afd Use strsignal() for signal-logging FRIGN 2014-08-07 16:28:01 +0200
  • abec80e6ce Fixed buffer overflow when p-res==targetlen in function getreqentry Adria Garriga 2014-08-07 02:11:46 +0200
  • e9408312e1 Refactor response-constructors FRIGN 2014-08-06 17:47:56 +0200
  • 6d5bedd72a Refactor request() FRIGN 2014-07-28 15:30:56 +0200
  • c3d007756e Add arg-parser and move copyright-info to LICENSE FRIGN 2014-07-28 13:42:26 +0200
  • dfd68c48be Add arg.h FRIGN 2014-07-28 13:33:58 +0200
  • 7cd3150df7 implement http not modified Hiltjo Posthuma 2014-02-15 15:36:52 +0100
  • dfda73adf1 remove unused code Hiltjo Posthuma 2014-02-15 15:09:55 +0100
  • 101a5b5eaf correct information in README Jakob Kramer 2014-04-10 20:43:49 +0200
  • 31e023dcb4 http status moved permanently is code 301 Hiltjo Posthuma 2014-02-15 14:31:14 +0100
  • 22b5b3cfa6 applied cls' follow up fix garbeam@gmail.com 2011-06-26 10:57:34 +0100
  • 3a9701d828 applied rransom's quark patch for FreeBSD compliance, thanks garbeam@gmail.com 2011-06-26 10:51:42 +0100
  • d6cbb5b9d9 preparing Request abstraction, ongoing Anselm R Garbe 2011-02-16 20:29:55 +0000
  • a61a51b91d applied Szabolcs patch, added him to LICENSE Anselm R Garbe 2011-02-13 12:46:34 +0000
  • 0c7cc24c83 removed non-existent man page install Anselm R Garbe 2010-04-10 21:34:05 +0100
  • 5e9814c847 made simple CGI working, quark can be used to run werc Anselm R Garbe 2010-03-28 11:31:30 +0000
  • 18c6c2451d some minor fix Anselm R Garbe 2010-03-28 02:18:34 +0000
  • 3e45a7c0ba added command line interface Anselm R Garbe 2010-03-28 02:14:01 +0000
  • a20243ea7c added basic HEAD support, some bug fixes Anselm R Garbe 2010-03-28 01:57:44 +0000
  • 07db66c273 implemented very basic cgi support Anselm R Garbe 2010-03-28 01:09:14 +0000
  • c19e5e6724 moved signal handlers before port binding Anselm R Garbe 2009-08-16 13:33:02 +0100
  • 1301be6ce8 superflous, stderr is unbuffered Anselm R Garbe 2009-08-16 11:51:14 +0100
  • 15edad07bb sanity check Anselm R Garbe 2009-08-15 22:59:41 +0100
  • 4b8f562095 forget to close cfd in parent ;) Anselm R Garbe 2009-08-15 22:37:29 +0100
  • 5dfc25167d another version, behaves better under stress Anselm R Garbe 2009-08-15 22:25:22 +0100
  • c05e00039f some el cheapo handle release Anselm R Garbe 2009-08-15 22:11:26 +0100
  • c621fad3de update Anselm R Garbe 2009-08-15 20:01:53 +0100
  • 7b020e8c51 changed some docs Anselm R Garbe 2009-08-15 19:57:15 +0100
  • ce31aca1aa initial commit Anselm R Garbe 2009-08-15 19:56:11 +0100