Code

History

Commits on master164
  1. mergeMechiel Lukkien committed 14 years ago6972b34
  2. also allow absolute redirs to https, not just httpMechiel Lukkien committed 14 years ago30dcca7
  3. support returning gzip-compressed version of requested paths.Mechiel Lukkien committed 15 years ago671aaef
  4. add mkconfig, mention in README.Mechiel Lukkien committed 16 years ago9f2ec02
  5. reset variable after having warned about its bad value, not before warning.Mechiel Lukkien committed 17 years ago7dab41e
  6. rename from plain "httpd" to "shttpd", to prevent clash with inferno's httpd.Mechiel Lukkien committed 17 years ago5b02621
  7. with virtual hosting, don't look for directories named "host:port", but look for directories named "host!port". clarify virtual host config resolving in the manual page. fix redirections for literal ipv6 addresses.Mechiel Lukkien committed 17 years agoa49b010
  8. it's cache-control: max-age=X, not cache-control: maxage=X.Mechiel Lukkien committed 17 years ago53b8f9e
  9. don't set (wrong) content-length on range-request (which gets a "partial response").Mechiel Lukkien committed 17 years agoc17285c
  10. add mimetype for .py (python source). don't compile logparse, it doesn't do anything useful yet and can only be compiled with inferno's yacc.Mechiel Lukkien committed 18 years ago0bfe412
  11. prevents warnings about unknown mimetype on paths with directories that contain a dot.Mechiel Lukkien committed 18 years ago8e4298f
  12. recognize .y as text/plain. they are yacc files.Mechiel Lukkien committed 18 years ago864ecd9
  13. many improvements:Mechiel Lukkien committed 18 years ago1514ffc
  14. only style change to httpd.b, no code changed. welcome logparse, a program for parsing log files.Mechiel Lukkien committed 18 years agoc4edd50
  15. make README conform to textmangle better, and mention new homepage.Mechiel Lukkien committed 18 years ago9214212
  16. sigh... merge went wrong, previous revision undid the change before it... this undoes the undo.Mechiel Lukkien committed 18 years ago65979c9
  17. some whitespace changes.Mechiel Lukkien committed 18 years agob26448d
  18. change option -L (directory listings) to be more finegrained.Mechiel Lukkien committed 18 years agoc331a6e
  19. (try to) detect "synthetic" files. they sometimes/usually do not set their Dir.length. so http-returning a plain file, which sets the content-length, would always return empty files. now, we just read to eof for synthetic files.Mechiel Lukkien committed 18 years ago8c23859
  20. silly me, its "man", not "install"Mechiel Lukkien committed 18 years agoa8d8f34
  21. install manual pages & allow nuking modules (if any).Mechiel Lukkien committed 18 years ago6538695
  22. do not set content-type if we cannot determine it. before this, we sent the default "application/octet-stream". however, rfc2626 says we only SHOULD send a content-type, and if we don't know it, we MAY let client do content-detection. that seems like a better choice.Mechiel Lukkien committed 18 years agoc9c7f96
  23. mention that connection rate limiting will not be implemented. that's something for a firewall to implement.Mechiel Lukkien committed 18 years agob785099
  24. do not keepalive connections when a post comes along that has a body. this is simpler. otherwise, we would have to turn keepalive off when an error occurs. the code before this interpreted the posted data as the next request, usually resulting in messages about unknown methods.Mechiel Lukkien committed 18 years agocdbebe9
  25. kill timeout proc on error when handling cgi requests.Mechiel Lukkien committed 18 years ago76893b0
  26. revert recent change to return "permission denied"/"forbidden". too much hassle to get right when also doing directory listings.Mechiel Lukkien committed 18 years ago086f37e
  27. fix serving default host. forgot to return cfgs.default if no explicit match in Cfgs.find...Mechiel Lukkien committed 18 years agod4fde6d
  28. merge from some time ago, i had forgotten to update locally...Mechiel Lukkien committed 18 years ago7e763f4
  29. - test case for escaped double-quote for http/1.1. - remove xxx for wrong empty-path return code. it has been fixed in the http lib.Mechiel Lukkien committed 18 years ago1b3ad5b
  30. verify ip6-addressness in host header when [...] is used for hostname.Mechiel Lukkien committed 18 years ago21e36eb
  31. test case for permission denied, forgot this in previous commit.Mechiel Lukkien committed 18 years agode65035
  32. return "403 forbidden" instead of "404 object not found" when the error string for opening the file contained "permission denied".Mechiel Lukkien committed 18 years agoccd9a03
  33. add testroot, used for testing. update doc/testing.txt to use the path in ./doc instead of ./Mechiel Lukkien committed 18 years agofb3b537
  34. - allow specifying which methods are allowed on a (s)cgi path. this allows simple shell scripts that don't do POST to not break when someone does a POST. the command-line options -c and -s, and the config allows setting this too. manual pages, and testing.txt have been updated for the new usage.Mechiel Lukkien committed 18 years agoee49faa
  35. various small fixes/improvements.Mechiel Lukkien committed 18 years agod1863a2