Commit Graph

  • 11d36de0a2 Changes in default mimetypes master André Kugland 2022-12-10 04:06:05 -0300
  • 6c455225ee
    Changes in default mimetypes André Kugland 2022-12-10 04:06:05 -0300
  • 6d5299e7da More secure Dockerfile André Kugland 2022-11-25 16:47:28 -0300
  • defc1e8ce9
    Custom headers with the CLI option `--header` (#28) André Kugland 2022-12-06 07:46:52 -0300
  • db0c06a5ab
    More secure Dockerfile André Kugland 2022-11-25 16:47:28 -0300
  • fbc7f075ce
    Add custom headers to README.md André Kugland 2022-11-25 16:18:57 -0300
  • 5fafab4654
    Better help message André Kugland 2022-11-25 16:18:01 -0300
  • f91e015a25
    Unify custom header tests. André Kugland 2022-11-25 16:07:48 -0300
  • 64e9c0ead5
    Test custom headers with If-Modified-Since André Kugland 2022-11-25 16:03:28 -0300
  • 3145004bc2
    Better coverage André Kugland 2022-11-25 15:51:13 -0300
  • 54a766549c
    Merge cb548aef6d into 64b03a032e Said Bakr 2022-11-25 14:01:19 -0300
  • 938fcda976
    Custom headers with the CLI option `--header` André Kugland 2022-11-25 12:30:56 -0300
  • 64b03a032e open_sockets.py: remove unused import. Emil Mikulic 2022-11-23 11:18:39 +1100
  • b5702b4f20 Bump version past release. Emil Mikulic 2022-10-02 12:34:32 +1100
  • c7dbf72061
    Added `--cors` command line argument André Kugland 2022-11-19 09:12:27 -0300
  • 976682f161
    Create codeql-analysis.yml Emil Mikulic 2022-10-08 16:18:30 +1100
  • a7b8f8fa6e [ darkhttpd 1.14 release ] v1.14 Emil Mikulic 2022-10-02 12:29:13 +1100
  • a88ecadafe fuzzer: take optional port number from environment variable. Emil Mikulic 2022-10-02 12:24:17 +1100
  • 762956f1a8 Set running = 1 before entering the main loop. Emil Mikulic 2022-10-02 12:08:57 +1100
  • 47920915c7
    Update illumos support to the modern era (#24) artemis everfree 2022-10-01 17:56:40 -0700
  • 1eb6daa357 Fix crash when a file has a large (year 10,000+) mtime. Emil Mikulic 2022-10-02 11:50:02 +1100
  • 1f166293b7 Update tests after adding slash to href for directories. Emil Mikulic 2022-10-02 11:38:12 +1100
  • 1e4cddb6b6 Disable msan because it's not working. Emil Mikulic 2022-10-02 11:34:56 +1100
  • c74007c017
    Update darkhttpd.c fernvenue 2022-09-11 12:16:06 +0800
  • 698125ba36 Comment on manually specifying CC in readme Artemis Everfree 2022-08-18 11:40:44 -0700
  • 95d785acc1 Update Solaris / Illumos support Artemis Everfree 2022-08-15 08:08:25 -0700
  • cb548aef6d Add hint about -e404 in README Said Bakr 2022-02-16 21:17:08 +0200
  • 47168fb0c3 Fix without custom error condition Said Bakr 2022-02-16 20:47:55 +0200
  • ec32d2b284 Adding 404 error custom HTML page --e404 Said Bakr 2022-02-16 19:49:19 +0200
  • e8865bda52 fix mimetype, add favicon Said Bakr 2022-02-16 09:06:07 +0200
  • 09f07ea259 Adding initial run with mimetypes and index page Said Bakr 2022-02-16 02:18:51 +0200
  • a981031e6f
    Add slash to href for directories (#17) Daniel Nagy 2022-02-09 01:43:03 +0100
  • f01529dc58
    Add slash to href for directories Daniel Nagy 2021-11-07 15:52:30 +0100
  • 3641c2f50f Dir listing: special-case ".." to come first. Emil Mikulic 2022-01-19 20:10:50 +1100
  • f0ca481fd1 Make header parsing case insensitive. Emil Mikulic 2022-01-19 20:01:32 +1100
  • 1759a7a7d9 Add tests for --forward-https. Emil Mikulic 2021-08-22 13:18:36 +1000
  • 4fd6a1067c Ignore __pycache__ dirs. Emil Mikulic 2021-08-22 13:04:49 +1000
  • 7145426710 --forward-https has priority over --auth. Therefore, if the server's running with both options and the client connects via HTTP, a redirect will occur instead of the authentication being granted or denied. Paco Pascal 2021-08-18 02:14:23 -0400
  • 49baf385e1 Forward to HTTPS if X-Forwarded-Proto is equal to "http". This can be enabled with "--forward-https". Paco Pascal 2021-08-17 23:52:54 -0400
  • 1b7d55b782 --forward-https has priority over --auth. Therefore, if the server's running with both options and the client connects via HTTP, a redirect will occur instead of the authentication being granted or denied. Paco Pascal 2021-08-18 02:14:23 -0400
  • 9d8c9267b4 Forward to HTTPS if X-Forwarded-Proto is equal to "http". This can be enabled with "--forward-https". Paco Pascal 2021-08-17 23:52:54 -0400
  • a8ae2b1de0
    Add license file (#10) Fabrice Fontaine 2021-07-21 12:41:41 +0200
  • 137719661a Add license file Fabrice Fontaine 2021-07-21 08:52:07 +0200
  • 59b30c5cbc
    Fix high CPU usage when timeout is disabled (#8) Tom Dryer 2021-06-26 18:41:19 -0700
  • 96222248c3 Fix high CPU usage when timeout is disabled Tom Dryer 2021-06-26 12:47:21 -0700
  • 667edacaa3
    Fix hung connection from consecutive requests (#7) Tom Dryer 2021-06-13 18:44:55 -0700
  • d7bac15719 Remove keep-alive optimization from `httpd_poll` Tom Dryer 2021-06-13 13:58:43 -0700
  • 73585d8eb7 Enable TCP_NODELAY optimization Tom Dryer 2021-06-13 13:49:34 -0700
  • 6f049638b6 Fix hung connection from consecutive requests Tom Dryer 2021-06-13 13:33:42 -0700
  • 5c0f9babf1
    Properly divide list "headers" and lists. (#4) Solt Budavári 2021-04-08 01:32:56 +0000
  • d1a42a7af0
    Properly divide list "headers" and lists. Solt Budavári 2021-04-06 09:23:59 +0000
  • 35c488b95f
    Dockerize (#3) Miles Elam 2021-04-03 00:08:52 -0700
  • 69992a5794 Match docroot with README convention Miles Elam 2021-04-02 10:06:24 -0700
  • 5bd12d5c2c Updated README to match directory conventions Miles Elam 2021-04-02 10:03:52 -0700
  • 503f57a38e Fixed minor syntax issue Miles Elam 2021-04-02 09:54:43 -0700
  • 515c4919b9
    Update README.md Miles Elam 2021-04-02 09:31:59 -0700
  • 7e3d593aaa
    Tabs vs spaces Miles Elam 2021-04-02 09:29:28 -0700
  • 228b485736
    Update Makefile Miles Elam 2021-04-02 09:24:53 -0700
  • c297abfb68
    Create Dockerfile Miles Elam 2021-04-02 09:22:43 -0700
  • 9222bbc9d8 Improve make_safe_uri coverage. Emil Mikulic 2021-03-21 15:31:04 +1100
  • f3acb93b93 fuzz_llvm_make_safe_uri: get code from darkhttpd.c Emil Mikulic 2021-03-21 15:13:44 +1100
  • 02b9908f71 Retire old developer scripts. Emil Mikulic 2021-03-21 15:06:57 +1100
  • 81b491e60a Declare vars outside of for() loop for -std=c90. Emil Mikulic 2021-03-21 15:03:14 +1100
  • d576efc9d8 warns: build with -std=c90. Emil Mikulic 2021-03-21 15:01:17 +1100
  • f05413f8df Not using release script anymore, retire it. Emil Mikulic 2021-02-21 17:20:49 +1100
  • 505223a9e5 Clean up after fuzzers. Emil Mikulic 2021-02-21 17:07:12 +1100
  • dc0fd7ecdc Don't include URL or method in default_reply. Emil Mikulic 2021-02-21 17:02:39 +1100
  • 3058f910d9 File listings: decoded URL in title and heading. Emil Mikulic 2021-02-21 16:45:12 +1100
  • 2b37151afc Add support for logging with syslog. ilmich 2021-01-27 15:05:26 +0100
  • f72e8d6afe Bump version past release. Emil Mikulic 2021-02-10 18:48:35 +1100
  • afeb47443a [ darkhttpd 1.13 release ] v1.13 Emil Mikulic 2021-01-18 00:50:36 +1100
  • 1845a4aa93 Update readme: add introduction, markdown. Emil Mikulic 2021-01-18 00:37:47 +1100
  • fdf28d2ede Rename README. Emil Mikulic 2021-01-18 00:34:04 +1100
  • dd49204609 Add a fuzzer that runs the server in the background. Emil Mikulic 2021-01-18 00:25:02 +1100
  • 8cca3b6c87 Fix a bug when a range is requested and the request is too large. Emil Mikulic 2021-01-17 23:00:32 +1100
  • c1cd3d0e2d Fix bug in handling of bad requests. Emil Mikulic 2021-01-17 22:11:54 +1100
  • b57eb17d47 More Python 3 updates. Emil Mikulic 2021-01-17 17:29:23 +1100
  • d39cc3849a test_auth: Add test for wrong auth. Emil Mikulic 2021-01-17 16:55:09 +1100
  • 7e60a9b731 test_auth.py: Update to Python 3. Emil Mikulic 2021-01-17 16:52:47 +1100
  • 3f236fd71b test.py: close sockets, more Python 3 cleanups. Emil Mikulic 2021-01-17 16:36:26 +1100
  • 67c506b620 Convert test.py to Python 3. Emil Mikulic 2021-01-17 16:29:41 +1100
  • 1990aee864 directory listing: Send viewport meta tag decho 2021-01-03 21:48:10 +0600
  • 6a82e67772 Avoid file size overflow on 32-bit systems. Emil Mikulic 2020-07-01 22:07:12 +1000
  • d777aacd98 Log using Combined Log Format (commonly found in apache log) solsTiCe d'Hiver 2017-11-27 20:10:02 +0100
  • 85609c8095 add mp4 mine type Andreas Gal 2012-02-19 20:57:37 +0100
  • 3a582f3c57 Honour LDFLAGS. Christian Hesse 2017-11-28 23:28:33 +0100
  • 07af05745e Add SVG mime type. Teo Klestrup Röijezon 2018-02-26 15:49:24 +0100
  • e9c474dfac Don't send extra blank line when --auth is disabled. Emil Mikulic 2020-07-01 21:04:17 +1000
  • 598a47fe9d Add tests for --auth. Emil Mikulic 2020-07-01 21:00:46 +1000
  • 027b0c90e5 Add basic-auth support. Ryan Jacobs 2019-05-03 17:43:42 -0700
  • 47ba3fd7c7 -fno-omit-frame-pointer to get full backtraces in asan build. Emil Mikulic 2020-07-01 20:46:10 +1000
  • 36ab416f73 Enable leak sanitizer. Emil Mikulic 2020-07-01 20:43:49 +1000
  • f41be73a66 Silence -Wparentheses warning. Emil Mikulic 2020-07-01 20:15:27 +1000
  • 6c7fb762ac Adjust test: make_safe_uri no longer strips query params. Emil Mikulic 2020-07-01 20:11:25 +1000
  • e09f869072 Fix handling of files with question mark in the name. Mathieu Gagnon 2020-01-10 19:52:28 -0500
  • 5fc747a64e Add tests for fetching a file with a question mark in its name. Emil Mikulic 2020-07-01 20:01:56 +1000
  • 36aadb6f90 Tweak macros to avoid extraneous semicolons. Emil Mikulic 2020-07-01 19:43:30 +1000
  • 9274bfbfe9 clang-warns: use clang in path by default. Emil Mikulic 2020-07-01 19:41:46 +1000
  • 27e489aab7 Memory sanitizer workaround: unpoison fd_sets. Emil Mikulic 2020-07-01 19:18:13 +1000
  • e2e693e1cf Add application/wasm mimetype Luca Weiss 2020-06-30 19:27:43 +0200