| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-12-28 | rename bozo_err/bozo_warn/bozo_asprintf to bozoerr/etc. | mrg | |
| new rule is that function that mirror libc-style functions get no underscore. | |||
| 2015-12-27 | several clean ups: | mrg | |
| - bozostrdup() gains a request parameter, and uses it to determine what sort of error handling is required - bozo_strdup() dies - size_arrays() reduced slightly, pushing error handling into the caller - convert to size_t for some array indices - bozo_set_pref() and bozo_init_prefs() gain httpd parameters - apply a bunch of manual CSE to vastly reduce the number of times the string "request->hr_httpd" appears. - CGI parse_header() takes a request not httpd now XXX: lua glue updated to call bozo_init_prefs() with htttpd parameter, but i'm only guessing here. | |||
| 2015-12-27 | fix running the testsuite from the build tree | mrg | |
| 2015-12-12 | Introduce bozo_strdup and bozo_asprintf to add error checking and reduce | christos | |
| code duplication. Note that bozo_strdup is different that bozostrdup; the _ routines exit loging error to syslog or stderr, whereas the non _ routines send error responses to the http client. | |||
| 2015-12-12 | - restrict the default list of ciphers to something more secure | christos | |
| - restrict ssl options From Travis Paul | |||
| 2015-12-07 | Improve the httpd(8) printenv.lua Lua example | kamil | |
| Stop using Lua builtin print function and replace them with http.* ones. httpd.print and http.write wraps SSL support when needed. Print http headers, without them browser may interpret page as raw text. No need to hardcode prefix path in the form. Add comments for a user with tips how to use this script. Patch by Travis Paul Closes PR misc/50502 | |||
| 2015-11-29 | Bump date for previous | kamil | |
| 2015-11-29 | Synchronize SYNOPSIS with reality | kamil | |
| 2015-11-29 | Remove nonexistent option z: in the getopt(3) call | kamil | |
| 2015-10-31 | handle asprintf errors consistently. | christos | |
| 2015-10-30 | fix wrong variable | christos | |
| 2015-10-30 | simplify | christos | |
| 2015-10-30 | - don't use alloca and then check if alloca returns null and then try to | christos | |
| free it. Allocating from the stack does not return null, and freeing it will have unpredictable results. use malloc instead. - now we are using malloc remove -Wno-stack-protector kludge | |||
| 2015-10-30 | Fix build with "USE_SSP" set to "yes". | tron | |
| 2015-10-28 | * add CGI support for ~user translation (-E switch) | shm | |
| * add redirects to ~user translation * fix bugs around ~user translation * add schema detection for absolute redirects * fixed few memory leaks * bunch of minor tweaks * removed -r support * smarter redirects OK mrg@ | |||
| 2015-10-25 | s/USE_NBUTIL/HAVE_NBUTIL_H/, to match the Makefile. | mrg | |
| fixes a merge problem in introduced when merging the QNX patches. from Jan Danielsson. | |||
| 2015-08-27 | s/dirname/dirpath/ to avoid potentially shadowing dirname(3). | mrg | |
| 2015-08-13 | Remove trailing space in boast. | wiz | |
| 2015-08-13 | Extend AUTHORS section. Nobody likes a braggart. | shm | |
| OK mrg@ | |||
| 2015-08-05 | on QNX, use nbutil.h. | mrg | |
| 2015-07-16 | Fix handling path with multiple slashes at the beginning | shm | |
| Fix redirections escaping for user support OK mrg@ | |||
| 2015-07-09 | Remove d_namelen as it's an BSD extension. Fix building bozohttpd on SunOS. | shm | |
| OK mrg@ | |||
| 2015-07-04 | fix memory leaks on error; found by brainy. | christos | |
| 2015-05-02 | fix content type handling to not hard code (wrong) values for length, | mrg | |
| but just call strlen() as needed. call this 20150501. reported by Jan Danielsson for ".svg". | |||
| 2015-04-19 | Fix deref "command" after "free(file)", from KIYOHARA Takashi | christos | |
| 2015-04-16 | install as bozohttpd/bozohttpd.8 as well as httpd. | mrg | |
| 2015-03-20 | copyright maintenance, note shm@ in the manual and update the CHANGES | mrg | |
| for recent changes. call this 20150320. | |||
| 2015-03-20 | don't quote /. it doesn't work. this should fix PR#49765. | mrg | |
| 2015-01-27 | spit out a 403 not just when an open() fails with EPERM, but with | snj | |
| EACCES as well. | |||
| 2014-12-26 | more for the previous: make sure [i - 1] can never go negative. | mrg | |
| 2014-12-26 | properly handle ilen = 0 case, which could lead to array underflow. | mrg | |
| pointed out by Maxime Villard. | |||
| 2014-12-25 | Bring this man page back to this decade. | wiz | |
| 2014-12-25 | call this 20141225. | mrg | |
| 2014-12-13 | add .ts and .vob suffixes. | mrg | |
| 2014-11-21 | Fixed memory leak in case of multiple authentication headers sent by the | shm | |
| client. OK mrg@ | |||
| 2014-11-21 | Fixed off-by-one in virtualhost processing. Previous code was checking if | shm | |
| Host header is a prefix of any existing vhost. This behaviour might be used to uncover existing vitual hosts from the remote. OK @mrg | |||
| 2014-10-10 | don't truncate file sizes to 32 bits for directory indexes. | mrg | |
| 2014-08-15 | NUL terminate a string. | mbalmer | |
| 2014-07-19 | lua: updated from 5.1 to 5.3 work3 | lneto | |
| * lua(1): - changed lua_Integer to intmax_t - updated distrib/sets/lists and etc/mtree - updated bsd.lua.mk - fixed bozohttpd (lua-bozo.c) - compatibilized bindings: gpio, sqlite * lua(4): - removed floating-point and libc dependencies using '#ifndef _KERNEL' - fixed division by zero and exponentiation - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct() - acpica: removed isprint() from acnetbsd.h - libc: moved strcspn.c, strpbrk.c and strspn.c to common - removed stub headers - compatibilized bindings: luapmf, luasystm * reorganized luaconf.h * updated doc/CHANGES and doc/RESPONSIBLE | |||
| 2014-07-17 | call this 20140717. | mrg | |
| 2014-07-17 | rewrite much of the SSL code: | mrg | |
| - handle errors in many places they weren't properly - make SSL_accept() an error the main code notices - expand bozo_ssl_err() to include bozo_ssl_warn(), bozo_clear_ssl_queue() - remove empty bozo_ssl_flush() | |||
| 2014-07-17 | link against main.c and ssl-bozo.c (which provides the IO backend.) | mrg | |
| 2014-07-17 | use const and remove unnecessary braces. | mrg | |
| 2014-07-16 | make a minor output change match again. | mrg | |
| 2014-07-16 | make -t chroot option available always again. | mrg | |
| 2014-07-08 | call this bozohttpd 20140708, and add/fix a couple of CHANGES entries. | mrg | |
| 2014-07-08 | avoid truncating a directory path when using snprintf(), but instead | mrg | |
| detect and return an error. found and fixed by shm@netbsd. | |||
| 2014-07-08 | make export-distfile target slightly more stable. | mrg | |
| 2014-07-02 | Handle ENAMETOOLONG to return 404 error instead of 500. | shm | |
| OK mrg@ | |||
| 2014-07-01 | * bozo_clean_request free(3) clean up (removed needless checks) | shm | |
| * HEAD method no longer returns response body on error * fixed bug with multiple bozo_http_error calls caused by fix_url_percent OK @mrg | |||
