CodeHistory
Commits on master to README35+ - MLsupport returning gzip-compressed version of requested paths.Mechiel Lukkien committed 15 years ago
671aaef - MLadd mkconfig, mention in README.Mechiel Lukkien committed 16 years ago
9f2ec02 - MLrename from plain "httpd" to "shttpd", to prevent clash with inferno's httpd.Mechiel Lukkien committed 17 years ago
5b02621 - MLmany improvements:Mechiel Lukkien committed 18 years ago
1514ffc - MLmake README conform to textmangle better, and mention new homepage.Mechiel Lukkien committed 18 years ago
9214212 - MLchange option -L (directory listings) to be more finegrained.Mechiel Lukkien committed 18 years ago
c331a6e - MLmention that connection rate limiting will not be implemented. that's something for a firewall to implement.Mechiel Lukkien committed 18 years ago
b785099 - ML- 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 ago
ee49faa - MLvarious small fixes/improvements.Mechiel Lukkien committed 18 years ago
d1863a2 - MLa few todo's have been done. start ndb/dns in doc/testing.txt's httpd startup.Mechiel Lukkien committed 18 years ago
40884ac - MLdoc/testing.txt contains commands to test the functionality. doc/ndb-testhttpd is the config to use for testing man page has bulleted list, instead of preformatted listing.Mechiel Lukkien committed 18 years ago
c1f05be - ML- shuffle some cgi handling code around. previously, some errors caused us to not respond on the cgi "donech", making the connection hang. - expect: 100-continue handling has been fixedMechiel Lukkien committed 18 years ago
3740a23 - MLremove the list with things to test, they have been tested. print the query string of urls in the access log.Mechiel Lukkien committed 18 years ago
0caeede - MLimprove config reloading. at startup, cfgserver is spawned once. updated configs are passed over a channel (instead of killing cfgserver and starting a new one). Cfgs now also keeps track of accessfd, usertypes, vhostflag, debugflag, addresses. this allows us to change to a config all or nothing, instead of leaving us inconsistent when we encountered an error halfway through config reloading.Mechiel Lukkien committed 18 years ago
6cbd344 - MLmore todo.Mechiel Lukkien committed 18 years ago
e51ab7b - MLonly send "100 continue" when doing cgi handler if cgi script does not send it. this allows the cgi handler to deny incoming data without httpd sneaking in a "100 continue" (i.e. "send the data"). mention http rfc's in manual page. rearrange README: testing/todo now at bottom of file.Mechiel Lukkien committed 18 years ago
ee403c7 - MLfor "listen" line in host configuration use the port from the host configuration by default, instead of 80.Mechiel Lukkien committed 18 years ago
8f5e1d0 - MLdo not use env->setenv for setting environment variables, it cannot set empty variables. instead, open /env/NAME and write to it ourselves. makes sure e.g. QUERY_STRING is always set for cgi programs.Mechiel Lukkien committed 18 years ago
0b07dbb - MLmany small fixes. mention security in readme and man page. mention default announce address. add note about OPTIONS method to doc/http.txtMechiel Lukkien committed 18 years ago
16afbaf - MLman page: add accesslog-attr to example. mention nodebug and novhost always take precendece over the non-no-variants. mention $$ as meaning literal $ in redir. looked at redirs repl: slightly better error message config file parsing: - be clearer about what is wrong if a field is missing for auth - fix usertypes never being cleared on a reload, it is now, and reversed too - sanitize port values read from config - kill old cfgserver when init-ing a new one. useful at startup and -n was specified. http header token parsing: skip empty comma-separated whitespace error out on empty connection headerMechiel Lukkien committed 18 years ago
0da13f6 - ML- open accesslogfile on reload of config file - log to errorlog when httpd has started or reloaded config - change some debug messages to warnings, and some warnings to debug - add some more debug prints, with if(debugflag) - print millisec() output in errorlog and debug, for tracing activityMechiel Lukkien committed 18 years ago
f7a29d8 - MLallow ip6 addresses in "host"-header, with []'s around ip6 address. small other fixes.Mechiel Lukkien committed 18 years ago
60c47bd - MLmany changes, mostly small fixes and readability/style improvements, also code rearrangements. after reading code from paper.Mechiel Lukkien committed 18 years ago
5e99793 - MLi read through the manual page and cleared it up a bit.Mechiel Lukkien committed 18 years ago
6a956e8 - MLfewer todo's, fix man page a bit.Mechiel Lukkien committed 18 years ago
f041612 - MLrename "bind" (as config variant to -a addr) to "announce", and don't use an attribute "addr", it isn't needed.Mechiel Lukkien committed 18 years ago
f65da75 - MLwelcome manual page. also add config attrs "debug", "nodebug" and "novhost". make usage line slightly better.Mechiel Lukkien committed 18 years ago
9823343 - MLuse a function to reverse the lists in a Cfg. reduces four copies of code by a single occurrence.Mechiel Lukkien committed 18 years ago
d20f668 - MLmake redirection based on regular expressions, not fixed strings. also remove all the rev* functions, use refs to tuples instead of the tuples themselves.Mechiel Lukkien committed 18 years ago
d1f056b - MLbig changes:Mechiel Lukkien committed 18 years ago
c70ee1d - MLbetter info on host, port, path in access log file.Mechiel Lukkien committed 18 years ago
e49fd0a - ML- better names for some variables - allow listening on multiple addresses - order redir paths as well, so they do best-matching - do one pctl instead of two in httpserve() - fix a case where httptransact() would hang after a pctl error - better error messages for cgi handling - log content length for cgi handlers, or empty string for chunked - some commentsMechiel Lukkien committed 18 years ago
f9cc6be - MLalso kill cgi handling processes when post stops prematurely. order -s and -c cgipath arguments by size. longest first. to get most specific match first.Mechiel Lukkien committed 18 years ago
024ba51 - MLbe sure to read post's incoming data from buffered i/o, since some data may have been read ahead while reading the request. fixes post.Mechiel Lukkien committed 18 years ago
56cadaa - MLfix cgi variables QUERY_STRING, REQUEST_URI, SCRIPT_NAME. add SERVER_SOFTWARE. only set SCGI for scgi handler.Mechiel Lukkien committed 18 years ago
ff2e1d4