Commit Graph

  • cbbaba25fb Add benchmark. Emil Mikulic 2018-12-11 00:42:52 +1100
  • ba63a6d60f Add test for --timeout. Emil Mikulic 2018-12-10 23:52:42 +1100
  • f0a8dc6c6c Add --timeout cmdline option. Emil Mikulic 2018-12-10 23:33:13 +1100
  • 8207cf6b0f run-tests: try to use the default gcc and clang. Emil Mikulic 2018-12-10 21:12:24 +1100
  • 6e8abe2324 run-tests: don't mix msan with ubsan. Emil Mikulic 2018-12-10 21:02:46 +1100
  • 7d0fc1d9f9 Clean more. Emil Mikulic 2018-12-10 20:36:07 +1100
  • 38362a4111 Bump copyright year. Emil Mikulic 2018-12-10 01:11:55 +1100
  • e5ce7390c3 open_sockets: finer grained timing. Emil Mikulic 2018-12-10 01:10:06 +1100
  • 744bac5cb8 In debug mode: time how long select() takes. Emil Mikulic 2018-12-10 01:09:33 +1100
  • 89af6956e2 Fix timeouts to close connections. Emil Mikulic 2018-12-10 00:54:12 +1100
  • dcb89f3d0f Add helper script for opening sockets until they run out. Emil Mikulic 2018-12-10 00:30:31 +1100
  • c2fbca8d5a If accept() fails, don't exit. Emil Mikulic 2018-12-09 23:49:43 +1100
  • bdae96c653 Switch make_safe_url() to more efficient implementation. Emil Mikulic 2018-12-09 23:18:00 +1100
  • 5f519fec8d Add make_safe_url_new() Emil Mikulic 2018-12-09 23:13:28 +1100
  • 6b91b9dc05 Add LLVM fuzzer. Emil Mikulic 2016-09-02 19:20:12 +1000
  • aad4574163 Bounds check first. Emil Mikulic 2018-08-22 01:14:17 +1000
  • 41b68476c3 [ darkhttpd 1.12 release ] Emil Mikulic 2016-01-28 01:16:10 +1100
  • 6acf37e879 Build with warnings. Emil Mikulic 2016-01-28 01:05:27 +1100
  • 15eda67214 Fix IPv6 memory corruption crash on FreeBSD. Emil Mikulic 2016-01-28 01:03:38 +1100
  • 485ebd1a20 Run tests under msan. Emil Mikulic 2016-01-28 00:41:34 +1100
  • 26e7adea15 Add asan and ubsan to tests, watch stderr. Emil Mikulic 2016-01-24 16:39:32 +1100
  • 27c899c165 Obvious %lld -> %llu correction. Emil Mikulic 2016-01-23 20:13:17 +1100
  • ae676feaeb Add Makefile for tests and cleaning up. Emil Mikulic 2016-01-23 20:11:30 +1100
  • 3478d24419 Make the output more obvious. Emil Mikulic 2016-01-23 20:10:10 +1100
  • 112f1ccb92 Test builds with different defines. Emil Mikulic 2016-01-23 20:08:02 +1100
  • f913e17125 Rename "cover" to "run-tests" Emil Mikulic 2016-01-23 20:05:02 +1100
  • 26129431b9 Be explicit if the binary was built without IPV6 support. Emil Mikulic 2016-01-23 19:57:23 +1100
  • 2ced9cac51 Try to build with IPv6 by default. Emil Mikulic 2016-01-23 19:55:33 +1100
  • 79475170b2 Bump copyright year. Emil Mikulic 2016-01-23 19:51:37 +1100
  • 0ee2971740 Catch up to clang changes. Emil Mikulic 2016-01-14 00:57:42 +1100
  • ea93b88e62 Move HAVE_INET6 guards to avoid the appearance of functions that don't return. Emil Mikulic 2016-01-13 20:24:36 +1100
  • 24fa3798b2 Explicitly cast getpid() result to int. Emil Mikulic 2016-01-13 20:18:30 +1100
  • 955762645d Tidy up UTF-8 after merge. Emil Mikulic 2016-01-13 20:04:29 +1100
  • 4d34abd3c9 Merge branches with UTF-8 changes. Emil Mikulic 2016-01-13 20:00:44 +1100
  • 9205377852 I added utf-8 in your code: "Content-Type: text/html; charset=utf-8\r\n" Alexey 2016-01-13 19:46:31 +1100
  • 26785ceafe Add '<meta charset="utf-8"/>' to the html header Stephen Zhang 2015-12-28 14:41:54 +0800
  • 4edc50c42f Use UTF-8 as the encoding for directory listing. Hugh Wang 2015-12-20 22:49:14 +0800
  • 853a6af62d Indent, add dir, allow inconclusive. Emil Mikulic 2016-01-11 00:31:58 +1100
  • 72159c5010 Add support for IPv6. Hugh Wang 2015-12-20 21:59:20 +0800
  • 02b02a7615 Check the bound first. Emil Mikulic 2015-05-20 00:06:59 +1000
  • 1c5fdb5607 Escape URLs according to RFC3986. Emil Mikulic 2015-05-19 22:02:12 +1000
  • c4c0034242 Add --default-mimetype flag. Emil Mikulic 2015-05-19 21:40:26 +1000
  • e9aeaba7fe Add test for --no-listing. Emil Mikulic 2015-05-19 21:23:14 +1000
  • fc8e127bb7 Fix memory leak. Emil Mikulic 2015-05-19 21:17:42 +1000
  • 6564a65dfa mention --forward-all in help output Christian Hesse 2015-05-19 00:43:42 +0200
  • 03f4c1f390 add option to deny directory listing Christian Hesse 2015-05-19 00:43:41 +0200
  • 4e726692f4 [ darkhttpd 1.11 release ] Emil Mikulic 2015-01-01 22:42:44 +1100
  • aa8046a5a1 Remove unused var, add casts to str_to_num() calls. Emil Mikulic 2015-01-01 22:41:35 +1100
  • 49ad7a0421 Call setgroups() before setgid() to drop supplementary groups. Emil Mikulic 2015-01-01 22:22:41 +1100
  • 03a22661a0 Test keepalive. Emil Mikulic 2015-01-01 22:18:10 +1100
  • de92584da1 Add TestHelper.get() Emil Mikulic 2015-01-01 21:47:59 +1100
  • 81b1bcbd74 Test for unreadable directory (can't generate listing). Emil Mikulic 2015-01-01 21:20:08 +1100
  • d5bd7558f4 Make str_to_num() check for ERANGE, use it instead of atoi(). Emil Mikulic 2015-01-01 21:00:57 +1100
  • 4c8b1e22f3 chomp() isn't needed because read_line() strips [cr]lf. Emil Mikulic 2015-01-01 20:38:38 +1100
  • 6e1f045393 Test resize in appendl(). Emil Mikulic 2015-01-01 20:35:37 +1100
  • 946a910935 Test 404 and 403. Emil Mikulic 2015-01-01 20:32:52 +1100
  • 456bbfcde6 Test CRLF handling in read_line(). Emil Mikulic 2015-01-01 20:16:47 +1100
  • 72c5539412 When testing, build with -DDEBUG. Emil Mikulic 2015-01-01 18:32:01 +1100
  • 4bf0ef5896 Zero slashes should be impossible here. Emil Mikulic 2015-01-01 18:26:35 +1100
  • f24c9d0d59 Add a harness for fuzzing make_safe_uri() Emil Mikulic 2015-01-01 18:14:28 +1100
  • e50accedb8 cp test_make_safe_uri.c fuzz_make_safe_uri.c Emil Mikulic 2015-01-01 17:10:47 +1100
  • 32158f92b4 [ darkhttpd 1.10 release ] Emil Mikulic 2014-05-26 22:07:59 +1000
  • 5058dfeb03 Add test for urldecode() Emil Mikulic 2014-05-26 22:01:22 +1000
  • 11f953e783 printf [s]size_t as %z[du]. Emil Mikulic 2014-05-26 21:56:45 +1000
  • 0001301dae cppcheck: use --force to check all #ifdef configurations. Emil Mikulic 2014-05-26 21:56:29 +1000
  • e8a38f9c6a Remove query params. Emil Mikulic 2014-05-26 21:36:29 +1000
  • 5854227fc7 Mark cppcheck executable. Emil Mikulic 2014-03-14 22:51:43 +1100
  • 9fe3ed4fc1 Run test_make_safe_uri. Retire broken run-tests.sh Emil Mikulic 2014-03-14 22:50:44 +1100
  • a8bc378777 Silence warning about unused arg. Emil Mikulic 2014-03-14 22:45:39 +1100
  • 583ff7ce10 Retab README. No content changes. Emil Mikulic 2014-03-14 22:43:46 +1100
  • 01ec165a51 Add .gitignore. Christian Hesse 2013-05-02 13:47:59 +0200
  • f73bf69a1e Implement --forward-all to forward all requests to a given url. Emil Mikulic 2014-03-14 22:36:37 +1100
  • d28bb0c9f7 ntohs() when reporting the port number. Emil Mikulic 2014-03-14 22:12:25 +1100
  • 28c382d454 exit cleanly for --help Lukas Stabe 2014-02-05 23:49:09 +0100
  • aa9859413e document port 0 == random available Lukas Stabe 2014-01-29 17:53:30 +0100
  • bcadc424a4 display actual port and address Lukas Stabe 2014-01-29 17:32:47 +0100
  • b43fee3c83 Don't fprintf() inside signal handler, mark running as volatile. Emil Mikulic 2014-03-14 00:02:54 +1100
  • c97d2c4042 Add script to run cppcheck. Emil Mikulic 2014-01-08 02:05:00 +1100
  • c44730e177 More cppcheck nits. Emil Mikulic 2014-01-08 02:01:00 +1100
  • ad1f132cf2 Reduce variable scope to make cppcheck happy. Emil Mikulic 2014-01-08 01:55:12 +1100
  • 7dc06f3096 Add test for --mimetypes Emil Mikulic 2013-06-10 20:41:46 +1000
  • e6680c4f2f Add test to exercise memove() in make_safe_url() Emil Mikulic 2013-06-10 19:26:25 +1000
  • ecfac80174 README: update default port. Emil Mikulic 2013-06-10 18:59:55 +1000
  • 1f3f104166 Fix file_exists() comparison. Emil Mikulic 2013-06-10 18:56:14 +1000
  • 4d28b300be Makefile: move .PHONY to the end. Emil Mikulic 2013-06-10 18:53:19 +1000
  • 7551090ac5 Tests: add pointer to cover script which runs them. Emil Mikulic 2013-06-10 18:52:38 +1000
  • 5d1bdd1fd3 [ darkhttpd-1.9 release ] Emil Mikulic 2013-04-29 01:06:31 +1000
  • 049e842399 Optimization for case when no web forward is configured. Egor Ivanov 2013-04-23 20:31:21 +0400
  • 5a0291f47e Implement --no-server-id Emil Mikulic 2013-04-29 00:55:08 +1000
  • ccf0dbd809 Add test for --forward Emil Mikulic 2013-04-29 00:31:54 +1000
  • e6e17fa0f3 Change web_forward_record from a hand-rolled linked list to an array. Emil Mikulic 2013-04-28 23:48:16 +1000
  • ab7af194e6 Implement --forward. Egor Ivanov 2013-04-20 14:05:27 +0400
  • 1b10a57f39 Make devel/cover clean up after itself. Emil Mikulic 2013-04-28 21:45:14 +1000
  • ffbb4c9f7c Fix memory leak when diropen() fails. Emil Mikulic 2013-04-28 21:39:43 +1000
  • a20e840c97 Make sure malloc and realloc can't be called with size 0. Emil Mikulic 2013-04-28 21:37:31 +1000
  • efe37364eb Fix warnings found by clang r180088. Emil Mikulic 2013-04-28 21:24:33 +1000
  • f29b75fb1d Clean up and improve the devel/ scripts. Emil Mikulic 2013-04-28 21:16:40 +1000
  • c7db17bcec Put project page and contact address into comments. Emil Mikulic 2013-04-28 21:03:29 +1000
  • d26a2956bf Make keep_alive() a tiny function instead of a macro. Emil Mikulic 2013-04-28 21:01:31 +1000
  • a9a2aff851 Implement --no-keepalive. Emil Mikulic 2012-05-28 20:33:52 +1000