Commit graph

  • d47b43d8a6 Fix README links master Armin Friedl 2021-02-25 21:34:18 +0100
  • ec527ca9cd Ignore favicon, optimize builds Armin Friedl 2021-02-25 20:18:42 +0100
  • 55f8580e4c Update readme for GitHub Armin Friedl 2020-09-02 00:38:39 +0200
  • 44e56b3280 Fix quark references Armin Friedl 2020-09-02 00:30:40 +0200
  • 19e8fad04d Clean builds Armin Friedl 2020-09-02 00:22:58 +0200
  • 50951cafd8 Prepare separate dirl distribution Armin Friedl 2020-09-01 22:50:47 +0200
  • d3e3257464 Merge remote-tracking branch 'origin/dirlist' Armin Friedl 2020-09-01 22:49:39 +0200
  • 9ce826690d Only build Armin Friedl 2020-08-31 21:02:03 +0200
  • e8bc00ffd2 Add dirl to README Armin Friedl 2020-08-31 21:00:05 +0200
  • 48db5eea1d Fix path for root case Armin Friedl 2020-08-31 18:58:01 +0200
  • 66558aa615 Stat full path, allocate enough space Armin Friedl 2020-08-31 06:42:23 +0200
  • d06c37fbd5 Add README for dirl, publish CI builds Armin Friedl 2020-08-30 19:07:57 +0200
  • 2a3e25dc6b Fix merge leftovers, add attribution footer by default Armin Friedl 2020-08-30 18:07:23 +0200
  • e262166522 Re-add replace and read_file to util Armin Friedl 2020-08-30 14:32:48 +0200
  • 30ca105c66 Merge branch 'master' into dirlist Armin Friedl 2020-08-30 14:16:41 +0200
  • ab42879bc6 Merge remote-tracking branch 'upstream/master' Armin Friedl 2020-08-30 09:42:18 +0200
  • eba491b4b5 Find template in root, don't search tail dir twice Armin Friedl 2020-08-30 09:38:02 +0200
  • bd51ff593d Refactoring Armin Friedl 2020-08-30 08:43:10 +0200
  • a22ac176ca Template overrides in subdirs, prefetch templates Armin Friedl 2020-08-29 20:36:10 +0200
  • 0823ba4c3e
    Add logmsg() and refactor connection handling Laslo Hunhold 2020-08-29 13:02:51 +0200
  • a36b901d40
    Add http_send_body() and data_send_error() and refactor Laslo Hunhold 2020-08-29 00:42:54 +0200
  • db127723c6
    Rename functions in data.h and adapt ifdef Laslo Hunhold 2020-08-28 23:46:12 +0200
  • a94b15814c
    Rename resp.{c,h} to data.{c,h} Laslo Hunhold 2020-08-28 23:29:54 +0200
  • 9a95d9183c
    Rename status to s in serve() Laslo Hunhold 2020-08-28 23:19:29 +0200
  • 68e4ff3021
    Return proper error-status when http_send_header() fails Laslo Hunhold 2020-08-28 23:16:47 +0200
  • c0909c70e4
    Improve http_prepare_response()'s error semantics Laslo Hunhold 2020-08-28 22:48:32 +0200
  • 123f168a3b
    Replace http_send_status() with http_prepare_error_response() Laslo Hunhold 2020-08-28 22:32:47 +0200
  • 5b6f8e5083 Read from template files with placeholder replacement Armin Friedl 2020-08-28 00:40:04 +0200
  • 329dedc33b Read dirlist from templates Armin Friedl 2020-08-25 21:08:23 +0200
  • 670d2ed65c Merge remote-tracking branch 'upstream/master' Armin Friedl 2020-08-23 16:31:13 +0200
  • 601b56d270
    Mention default behaviour in the manual when the host is not given Laslo Hunhold 2020-08-23 13:36:56 +0200
  • 27f8bbfac4
    Refactor sock_get_uds() a bit Laslo Hunhold 2020-08-23 13:35:49 +0200
  • 1ccaac023c
    Rename s to srv Laslo Hunhold 2020-08-23 11:02:38 +0200
  • 50c85ec642
    Rename "target" to "URI" where appropriate Laslo Hunhold 2020-08-22 23:37:08 +0200
  • 68be64e2c1
    Remove unused field in the request-struct Laslo Hunhold 2020-08-22 23:31:32 +0200
  • 58d0f44e03
    Refactor http_send_response() into http_prepare_response() Laslo Hunhold 2020-08-22 23:20:00 +0200
  • a5163d0813
    Split up http_get_request() Laslo Hunhold 2020-08-22 11:05:20 +0200
  • c1b242e405
    Add connection struct Laslo Hunhold 2020-08-22 09:24:57 +0200
  • 6d2fe7f29e
    Move infd and header into request-struct Laslo Hunhold 2020-08-21 19:38:29 +0200
  • f1fed77826 Add patch to README Armin Friedl 2020-08-18 21:27:53 +0200
  • ac056a792d Add drone build to README Armin Friedl 2020-08-18 19:51:06 +0200
  • ce77dd7962
    Update manpage to list capabilities and behaviour Laslo Hunhold 2020-08-18 08:46:52 +0200
  • 65600ffe7a
    Reduce global state by localizing the server-struct Laslo Hunhold 2020-08-17 11:37:25 +0200
  • 3bd49b2456
    Implement RFC 8615 (Well-Known URIs) and refine access errors Laslo Hunhold 2020-08-17 10:33:55 +0200
  • e5ac379442 Add drone build Armin Friedl 2020-08-16 23:19:36 +0200
  • d91b363627 Add README Armin Friedl 2020-08-16 23:05:04 +0200
  • 660699492f
    Make user/group-handling-code more robust Laslo Hunhold 2020-08-09 23:20:06 +0200
  • b1dca4cf97
    Remove three dead stores in main() Laslo Hunhold 2020-08-09 22:43:46 +0200
  • 03ee1df4c3
    Add space in list Laslo Hunhold 2020-08-05 23:27:05 +0200
  • 2318a89ecd
    Begin comment in lowercase Laslo Hunhold 2020-08-05 19:14:10 +0200
  • cb7a1f6390
    Replace off_t with size_t Laslo Hunhold 2020-08-05 18:59:55 +0200
  • d105c28aad
    Ensure const-correctness where possible and refactor parse_range() Laslo Hunhold 2020-08-05 18:28:21 +0200
  • 90d5179ea0
    Rename REQ_MOD to REQ_IF_MODIFIED_SINCE Laslo Hunhold 2020-08-05 15:46:03 +0200
  • 2c50d0c654
    Rename request "r" to "req" Laslo Hunhold 2020-08-05 15:43:29 +0200
  • c51b31d7ac
    Refactor response-generation Laslo Hunhold 2020-08-05 13:41:44 +0200
  • 26c593ade1
    Refactor range-parsing into a separate function Laslo Hunhold 2020-08-04 16:31:08 +0200
  • 5a7994bc61
    Send Accept-Ranges-header for file-requests Laslo Hunhold 2020-07-23 18:54:43 +0200
  • db4e35d3d5
    Refactor range-parsing Laslo Hunhold 2020-07-23 18:16:08 +0200
  • 6b508a0e07
    Explicitly initialize struct tm with zeroes Laslo Hunhold 2020-07-23 16:54:21 +0200
  • 660b308617
    Use timegm() instead of mktime() to generate UNIX-timestamp Laslo Hunhold 2020-07-23 16:48:34 +0200
  • a55df3915d
    Update LICENSE Laslo Hunhold 2020-05-07 13:41:11 +0200
  • b7d0d6889d
    Fix for sending HTTP response status 304 Rainer Holzner 2020-04-22 20:46:30 +0200
  • 9dda0028db
    Update LICENSE Laslo Hunhold 2020-04-21 17:48:20 +0200
  • 8ccef4b27a
    Make host parameters optional Nihal Jere 2020-04-21 17:04:37 +0200
  • 48e74a5982
    Properly HTML-escape names in dirlistings Laslo Hunhold 2020-03-25 14:07:17 +0100
  • 5ee8c07e7e
    Fix unveil(2) usage Laslo Hunhold 2020-03-20 20:35:34 +0100
  • 3c7049e906
    Use pledge(2) and unveil(2) on OpenBSD Laslo Hunhold 2019-09-23 16:56:28 +0200
  • 32223c96bd
    Use compound literals and explicit initialization Laslo Hunhold 2019-05-30 23:15:47 +0200
  • 33def953e9
    Improve tokenization for m- and v-flag parsing Laslo Hunhold 2019-02-24 21:50:39 +0100
  • 065394cb64
    Change target prefix mapping argument order Laslo Hunhold 2019-02-24 00:40:46 +0100
  • 48ddb8fefb
    Sort flag-switch alphabetically Laslo Hunhold 2019-02-23 13:50:59 +0100
  • f2afbc4dd7
    Add a space after the number in the Xr mandoc macro Laslo Hunhold 2019-02-18 23:44:12 +0100
  • e299e186ed
    Don't replace '+' with ' ' when decoding URLs Laslo Hunhold 2019-01-10 22:02:23 +0100
  • bbd47e1427
    Specify UTF-8 for non-binary content-types Laslo Hunhold 2019-01-02 17:04:23 +0100
  • d2013a6337 Fix one byte NULL stack overflow Aaron Burrow 2018-07-16 22:46:09 +0200
  • 72b309bbe4 Correct arg.h license Laslo Hunhold 2018-07-16 11:47:47 +0200
  • 9ff3f780e1 Send a relative redirection header wherever possible Laslo Hunhold 2018-07-02 18:43:06 +0200
  • 34189e0a1f Use sizeof() - 1 rather than strlen() Laslo Hunhold 2018-07-02 18:41:29 +0200
  • b354ffb238 Add Dominik Schmidt to license Laslo Hunhold 2018-07-02 07:15:19 +0200
  • 094c8ba814 Open a new process group before setting up signal handler Dominik Schmidt 2018-07-02 02:08:08 +0000
  • ba38b0969f Give an indication of the time zone in the log Laslo Hunhold 2018-04-03 01:23:00 +0200
  • 3ff82c514b Clean up request host properly Laslo Hunhold 2018-04-03 00:55:52 +0200
  • c3ddb2dd14 permit prefix to be empty in -v format string Josuah Demangeon 2018-04-02 02:55:00 +0200
  • 69bb7710eb fix segfault on parsing of -v and -m Josuah Demangeon 2018-04-02 02:54:59 +0200
  • 6770dc06e6 Add netinet/in.h to sock.c Laslo Hunhold 2018-03-05 10:24:46 +0100
  • a20136fa18 Update the documentation to reflect the new flag-centric usage Laslo Hunhold 2018-03-05 09:51:29 +0100
  • 444b8f5b32 http_send_response: fix undefined behaviour for copying the target string Hiltjo Posthuma 2018-03-05 01:12:09 +0100
  • ed8b7e8954 Fix a logic error Laslo Hunhold 2018-03-05 01:04:51 +0100
  • 01ed0dac83 util: don't initialize server, it's already done in main() Hiltjo Posthuma 2018-03-05 00:56:24 +0100
  • c8401c591f Add esnprintf() and refactor some code Laslo Hunhold 2018-03-05 00:59:37 +0100
  • 1879e14e79 Be extra pedantic again and remove all warnings Laslo Hunhold 2018-03-05 00:30:53 +0100
  • 3ff3e5ea6e Add some missing headers and interface visibility macro Quentin Rameau 2018-03-01 15:18:20 +0100
  • 6b55e36036 Introduce flag-centric usage Laslo Hunhold 2018-03-05 00:14:25 +0100
  • b40b11a40e Fix the regex in the example Laslo Hunhold 2018-02-27 13:00:23 +0100
  • 7b7f166dd5 Add target prefix mapping Laslo Hunhold 2018-02-27 12:43:05 +0100
  • 02d6ae5a57 Add support for adding a prefix to a target when matching vhosts Laslo Hunhold 2018-02-27 11:36:24 +0100
  • 4948053bee Use scheme-relative (aka protocol-relative) URLs for redirects Laslo Hunhold 2018-02-27 03:38:55 +0100
  • 72aa1646f6 If fork fails, close the incoming socket Laslo Hunhold 2018-02-23 22:40:47 +0100
  • 53c3963497 Actually exit the child process once finished serving Laslo Hunhold 2018-02-23 22:29:00 +0100
  • 55d7f000cd add headers to make it compile under OpenBSD Josuah Demangeon 2018-02-12 20:29:51 +0100