Commit Graph

  • 9ca7ed4795 Fix for when MAXNAMLEN is not found (Android) Vlatko Kosturjak 2010-07-01 00:21:35 +0200
  • a8176d0ed0 [ darkhttpd-1.8 release ] Emil Mikulic 2011-05-03 20:53:50 +1000
  • 8cdcad43c2 Add guard around __printflike Emil Mikulic 2011-05-03 20:50:31 +1000
  • bfd58235c5 Test large (>2G, >4G) files. Emil Mikulic 2011-05-03 20:43:04 +1000
  • 34ad70cc45 Run usage, not really a test. Emil Mikulic 2011-05-03 20:14:10 +1000
  • c0c9692799 Check dependencies in devel/cover Emil Mikulic 2011-05-03 20:11:09 +1000
  • 07be6a2f1b Bring preprocessor directives in line. Emil Mikulic 2011-05-01 19:29:13 +1000
  • a3b31af2be Don't catch SIGQUIT. Emil Mikulic 2011-05-01 19:25:14 +1000
  • e8c3e92aa9 Re-arrange usage(). Emil Mikulic 2011-05-01 19:24:31 +1000
  • 910298566f Single byte corner cases. Emil Mikulic 2011-05-01 19:19:39 +1000
  • 22b4dac09b Test directory redirect. Emil Mikulic 2011-05-01 19:13:25 +1000
  • 862e3ac124 Improve handling of invalid ranges. Emil Mikulic 2011-05-01 19:08:29 +1000
  • e8ec37109b Still more range test fiddling. Emil Mikulic 2011-05-01 19:08:12 +1000
  • e4ab741461 Add test for backwards range. Emil Mikulic 2011-05-01 18:56:04 +1000
  • e94a18b4e2 Passing bad-end range test. Emil Mikulic 2011-05-01 18:54:06 +1000
  • 62f547da9d Test range requests, including one failing test. Emil Mikulic 2011-05-01 18:49:18 +1000
  • aa0ec26397 Advertise that we accept ranges. Emil Mikulic 2011-05-01 18:43:14 +1000
  • a0c87d39a2 Remove unnecessary headers from 304 reply. Emil Mikulic 2011-05-01 18:26:33 +1000
  • a2eb59e928 Failing test for If-Modified-Since Emil Mikulic 2011-05-01 18:20:26 +1000
  • c7b65d1123 Test for HEAD method. Emil Mikulic 2011-05-01 18:15:56 +1000
  • d916f760b8 Implement straightforward GET test. Emil Mikulic 2011-05-01 18:13:41 +1000
  • 449b78efaa Use setUp and tearDown to manage test file. Emil Mikulic 2011-04-17 19:01:52 +1000
  • 0b5d1d881c Re-arrange tests, no functional change. Emil Mikulic 2011-04-17 19:00:04 +1000
  • b6df049c49 Improve "caught Terminated" output. Emil Mikulic 2011-04-17 17:34:14 +1000
  • 7faf2787e4 parse_field() was looking for \r instead of [\r\n] Emil Mikulic 2011-04-17 17:00:02 +1000
  • 36f22757f3 When logging, escape strings. Emil Mikulic 2011-04-17 16:47:09 +1000
  • 77e050b4f4 Oops, wrong kind of line ending. Emil Mikulic 2011-04-16 19:57:00 +1000
  • 897e85a46e Test URL escaping in directory listing. Emil Mikulic 2011-04-16 19:27:06 +1000
  • b7038c8329 Don't log to stdout when testing. Emil Mikulic 2011-04-16 19:15:32 +1000
  • 5ebb93d253 Log to stdout by default. Emil Mikulic 2011-04-16 19:14:06 +1000
  • 4ce6e87748 Print "listening on" as a URL. Emil Mikulic 2011-04-16 19:08:31 +1000
  • 58dca3d6b1 Default to --port 8080, or 80 if running as root. Emil Mikulic 2011-04-16 19:07:57 +1000
  • 010d194180 uri -> url Emil Mikulic 2011-04-16 18:52:53 +1000
  • 597c81d3f1 Update AUTHORS. Emil Mikulic 2011-04-16 18:38:39 +1000
  • 0ee2c3b2bf Accept \n as line ending when parsing URL. Emil Mikulic 2011-01-19 01:11:43 +1100
  • 97b7be4f79 Fix include path. Emil Mikulic 2011-01-19 00:48:59 +1100
  • adb6b02603 Print more quotes. Emil Mikulic 2011-01-19 00:47:18 +1100
  • b8bf9a0f72 Allow running of individual tests from cmdline. Emil Mikulic 2011-01-19 00:44:15 +1100
  • d65990449e Make devel/test.py shorter. Emil Mikulic 2011-01-19 00:26:13 +1100
  • da24c211d7 Make devel/test.py less repetitive. Emil Mikulic 2011-01-18 00:51:56 +1100
  • 594e65d474 Add coverage driver. Emil Mikulic 2011-01-17 23:59:41 +1100
  • c16f5c1007 More tests. Emil Mikulic 2011-01-17 23:59:33 +1100
  • 8586258fbf Working on unit tests. Emil Mikulic 2011-01-17 23:44:02 +1100
  • ffbc4c2b08 For developers: script to run through clang static analyzer. Emil Mikulic 2011-01-15 20:56:30 +1100
  • dbe886b9d2 Another developer script - clang with warnings. Emil Mikulic 2011-01-15 20:54:15 +1100
  • c42e5afec5 For developers - build with lots of warnings. Emil Mikulic 2011-01-15 20:51:07 +1100
  • ccbe7cffa7 Don't qsort() NULL. Emil Mikulic 2011-01-15 20:38:31 +1100
  • 1b7bbcc033 Fix clang nits. Emil Mikulic 2011-01-15 20:31:34 +1100
  • 11bb4d8906 Use int over size_t. Emil Mikulic 2011-01-15 20:22:52 +1100
  • 014ce0e988 Don't use init decls, they're C99. Emil Mikulic 2011-01-15 20:13:00 +1100
  • f32ffbabd5 Finished style changes. Emil Mikulic 2011-01-15 20:12:12 +1100
  • 7343ecf35f More style changes, fixed most of the compiler warnings. Emil Mikulic 2011-01-15 20:08:16 +1100
  • 0442d41dab More style changes, move a function. Emil Mikulic 2011-01-15 19:36:09 +1100
  • 775cd3ad9b Mostly style changes. Emil Mikulic 2011-01-15 19:17:03 +1100
  • 1fa02dc545 Restyle and add printflike. Emil Mikulic 2011-01-15 18:37:15 +1100
  • 8d11e14d11 Bump copyright year. Emil Mikulic 2011-01-15 18:16:12 +1100
  • 8393796097 More inttype tweaks. Emil Mikulic 2011-01-15 18:15:39 +1100
  • bc692bb5f7 Casts and indents. Emil Mikulic 2011-01-15 16:20:09 +1100
  • 7c65160849 Cosmetics. Emil Mikulic 2011-01-15 16:16:22 +1100
  • ec246e2a51 Avoid infinite loop (and quiet gcc warning) Emil Mikulic 2011-01-15 16:06:31 +1100
  • 803655dba9 Ranges work now. Emil Mikulic 2010-11-25 01:49:23 +1100
  • 41f4ec2d50 Should these be unsigned? Emil Mikulic 2010-11-25 01:44:46 +1100
  • 3cc77c31d6 More longlong fixes. Emil Mikulic 2010-11-25 01:43:51 +1100
  • 63bdabd79f Working on large file support. Emil Mikulic 2010-11-25 01:37:37 +1100
  • 1cd7fd3cda Tidy up Makefile. Emil Mikulic 2010-11-24 23:33:31 +1100
  • 0ab76c953b Move trunk/ into base dir, move tests into devel/. Emil Mikulic 2013-04-28 20:29:15 +1000
  • 7c4a9ffade [ darkhttpd-1.7 release ] Emil Mikulic 2008-11-01 14:47:33 +0000
  • 45912c373b Fix off-by-one. Emil Mikulic 2008-11-04 08:53:22 +0000
  • 8eec408691 Don't use strlen() in urlencode_filename() Emil Mikulic 2008-10-26 12:53:34 +0000
  • ca6a07f714 is_bad_char -> needs_urlencoding, whitespace fixes. Emil Mikulic 2008-10-26 12:50:28 +0000
  • b02c1bba08 urlencode file names when generating directory listing. Emil Mikulic 2008-10-26 12:45:57 +0000
  • 3e2e53a33e [ darkhttpd-1.6 release ] Emil Mikulic 2008-08-02 04:00:56 +0000
  • b70dcdfab6 Ubuntu hides uname somewhere else. Don't use a full path. Emil Mikulic 2008-08-02 03:59:02 +0000
  • 820b5c2e3b Five-letter patch that fixes a use-after-free and possible list corruption. Don't know how far back this bug goes. Caught and diagnosed on an Ubuntu system where it manifested as a segfault. Emil Mikulic 2008-08-02 03:51:11 +0000
  • f5c051aad5 [ darkhttpd-1.5 release ] Emil Mikulic 2006-12-14 10:13:55 +0000
  • 1a161a47ce Simplify the Makefile. Emil Mikulic 2006-12-14 10:10:46 +0000
  • 4cddcf96a5 Not sure if we were taking the size of the right thing previously. Zero out the sockaddr_in before having accept() write to it. This un-confuses bcheck on Solaris, at least. Emil Mikulic 2006-12-14 10:08:34 +0000
  • 0819e7c3c6 Revert - don't bother with tzset. Emil Mikulic 2006-12-14 10:05:06 +0000
  • cfcbdf0ad7 Stuff to do when I find the time. Emil Mikulic 2006-12-13 14:00:24 +0000
  • 6690b3c7cf If sendfile blocks and sends zero bytes, treat it as blocking and not end-of-file. This is a really rare corner case. Emil Mikulic 2006-12-13 13:55:48 +0000
  • c23550f165 Cache time and update it once per event loop iteration. Emil Mikulic 2006-12-13 13:38:50 +0000
  • 400ee17051 Slightly re-arrange the way recycling of keep-alive connections is handled. Unfortunately, I'm still seeing horrible performance. Emil Mikulic 2006-12-13 13:32:22 +0000
  • 29cbe09d4c Minor tweaks. Emil Mikulic 2006-12-13 13:28:32 +0000
  • 3e96ddf6d6 Implement disabling TCP_NODELAY, but comment it out. Emil Mikulic 2006-12-13 13:28:10 +0000
  • 008f6f5d4e We can handle a request from accept() to close() without having to go through a single iteration of the select() loop. Emil Mikulic 2006-12-13 13:07:10 +0000
  • 5ab0496a9b Call tzset() during initialization. Emil Mikulic 2006-12-13 13:01:41 +0000
  • 3ed2762831 Another state transition optimization: Go from send_header straight to send_reply. Emil Mikulic 2006-12-13 12:57:30 +0000
  • 844dcc6b9d Another state transition optimization due to NBIO: Go from recv_request to send_header without visiting select() Emil Mikulic 2006-12-13 12:47:20 +0000
  • ba91f1cdb3 After accepting a connection, attempt a read straight away instead of going through an iteration of the select() loop. Emil Mikulic 2006-12-13 12:41:08 +0000
  • f3ce5d1eb9 Don't just SETFL O_NONBLOCK, first GETFL. Emil Mikulic 2006-12-13 12:31:30 +0000
  • b86889f027 %Z gives UTC. Apache uses GMT instead, and wget complains about an invalid header when it sees UTC, so switch. Emil Mikulic 2006-12-13 11:53:13 +0000
  • 14d0ca9ac7 Get the constness right. Emil Mikulic 2006-12-13 08:41:05 +0000
  • 625dc5e473 - In decode_url() - Use '\0' instead of 0 to hint that it's in a character context. - Don't realloc - this wastes more time than it saves memory. - Don't forget to free decoded url if it's found to be unsafe! Emil Mikulic 2006-12-13 08:38:18 +0000
  • ccea5116b5 Restore a check I shouldn't have removed. We now pass all our tests again. Emil Mikulic 2006-12-13 08:32:10 +0000
  • 4b90b875c6 Adapt make_safe_uri() to work in-place. We're currently failing some tests. Emil Mikulic 2006-12-13 08:30:21 +0000
  • 97ce3cb5d0 Turn up the debugging and warnflags. Emil Mikulic 2006-12-13 08:29:53 +0000
  • dc63087421 Test for consolidate_slashes() too. Emil Mikulic 2006-12-13 08:17:56 +0000
  • d7707a9216 Remember to free memory. Emil Mikulic 2006-12-13 08:16:16 +0000
  • a0afb2cc8b Add tests for make_safe_uri. Emil Mikulic 2006-12-13 08:14:27 +0000
  • e6c8b820fd Rename warnflags to debug-build and add debugging and torture defines. Emil Mikulic 2006-12-13 07:46:46 +0000