| #
f655db1d |
| 07-Jun-2023 |
mrg <mrg@NetBSD.org> |
serve .iso as "application/octet-stream". bump version & copyright.
|
| #
3e94b887 |
| 12-Sep-2022 |
martin <martin@NetBSD.org> |
Add a -q option to make http quiet (no log messages).
Usefull when running multiple instances and some for (high traffic) APIs e.g. to receive log data from appliences - it makes not sense to duplic
Add a -q option to make http quiet (no log messages).
Usefull when running multiple instances and some for (high traffic) APIs e.g. to receive log data from appliences - it makes not sense to duplicate the whole log in the xferlog file (but we can't configure that at the syslog level due to other httpd instances using that).
show more ...
|
| #
19f40606 |
| 24-Aug-2021 |
mrg <mrg@NetBSD.org> |
implement tls minimum version setting.
mostly from sunil@nimmagadda.net in PR#55830, though i moved the member into the main http structure, so that it doesn't trigger sslinfo being allocated via co
implement tls minimum version setting.
mostly from sunil@nimmagadda.net in PR#55830, though i moved the member into the main http structure, so that it doesn't trigger sslinfo being allocated via command line without the rest of the ssl being setup (which then leads to crashes.)
show more ...
|
| #
080a4ce9 |
| 24-Aug-2021 |
mrg <mrg@NetBSD.org> |
remove unused parameters, and clean up incompatible options.
from <henrik@gulbra.net>
|
| #
9402120e |
| 27-Feb-2021 |
mrg <mrg@NetBSD.org> |
belated call version 20210211 after previous memory leak fix.
|
| #
b0f74aaa |
| 11-Feb-2021 |
mrg <mrg@NetBSD.org> |
clean up issues detected by address sanitizer (just some memory leaks that only apply to the library version.)
XXX: the handling of hr_file and its variants is more crappy again - the prior clean up
clean up issues detected by address sanitizer (just some memory leaks that only apply to the library version.)
XXX: the handling of hr_file and its variants is more crappy again - the prior clean up is slightly less clean now, but at least it does not leak memory.
XXX2: cgi-bin test hangs with address sanitizer. don't know why yet..
show more ...
|
| #
4864410b |
| 15-Oct-2020 |
mrg <mrg@NetBSD.org> |
various updates from <henrik@gulbra.net> / freebsd. the list from Henrik:
bozohttpd.8: o Added -d flag to the man page o Moved -E flag in man page to keep alphabetic order o Grammar fix
various updates from <henrik@gulbra.net> / freebsd. the list from Henrik:
bozohttpd.8: o Added -d flag to the man page o Moved -E flag in man page to keep alphabetic order o Grammar fix for description of -E flag in man page o Moved a word in the man description for the -f flag o Made -f imply -b as a backwards-compatible shortcut o Updated man description of -n to mention Lua scripts o Moved -z below -Z to keep the uppercase options first
bozohttpd.c: o Removed obsolete comment about ~user missing cgi-bin support o Removed "/* ARGSUSED */" lines; was that a macro or a reminder? o Added USE_ARG macro call for sig, which was otherwise not used o Added USE_ARG macro call for msg (only used if debug is enabled)
bozohttpd.h: o Fixed typo in the include guard (BOZOHTTOPD_H_ -> BOZOHTTPD_H_) o Renamed have_all to have_core; it didn't mean "all" options
content-bozo.c: o Added USE_ARG macro call for signo, which was otherwise not used o Made -f imply -b as a backwards-compatible shortcut
main.c: o Simplified -b text to be symmetric with that for the -f option o Updated -C text to make "suffix" explicit; it's better than "arg" o Changed to only show the -E description if have_user is true o Always show the -e option, which incorrectly used the -E logic o Renamed have_all to have_core; it didn't mean "all" options o Added three missing tabs for the description of the -G option o Updated -L text to make "prefix" explicit; it's better than "arg" o Updated -M text to make "suffix" explicit; it's slightly better o Added a previously missing description for the -n option o Documented the otherwise obscure valid types for the -T option o Shortened "username" to "user" to match the actual help text o Moved handling of -c below that for -C to standardize the order o Broke the enabling test for -C into two lines for consistency o Inverted the enabling test for -E; this is what was meant, right? o Removed the enabling test for -e, which should always be enabled
ssl-bozo.c: o Added USE_ARG for httpd, which is not used if SSL has been excluded
show more ...
|
| #
bf53dc23 |
| 15-Oct-2020 |
mrg <mrg@NetBSD.org> |
set -D_GNU_SOURCE in Makefile.boot. from hadrien.lacour@posteo.net. also match %2F as well as %2f. from leah@vuxu.org. introduce defines for "80" and "443". copyright maint.
|
| #
026e4ac0 |
| 06-Jul-2020 |
jmcneill <jmcneill@NetBSD.org> |
Add -R flag to specify a README file to add at the bottom of directory autoindex listings.
|
| #
c53bc788 |
| 25-Nov-2018 |
mrg <mrg@NetBSD.org> |
fix -X option parsing. noted by Rajeev V. Pillai.
|
| #
0e9761c1 |
| 24-Nov-2018 |
mrg <mrg@NetBSD.org> |
fix a bug in the rework for -i option: move the real code in place.
for some reason gcc does not warn about this:
case 'x': stuff_here(); break;
other_stuff_here(); break;
fix a bug in the rework for -i option: move the real code in place.
for some reason gcc does not warn about this:
case 'x': stuff_here(); break;
other_stuff_here(); break;
and the other_stuff_here() was what was mis-placed.
should fix atf failures in networking.
show more ...
|
| #
b0d9cf70 |
| 22-Nov-2018 |
mrg <mrg@NetBSD.org> |
alpha sort the option switch.
|
| #
4cfb2183 |
| 22-Nov-2018 |
mrg <mrg@NetBSD.org> |
many clean ups: - keep a list of special files and their human names - remove (void) casts on bozo_http_error() - fix a few more misuses of bozo_http_error() - rename check_mapping() to check_remap()
many clean ups: - keep a list of special files and their human names - remove (void) casts on bozo_http_error() - fix a few more misuses of bozo_http_error() - rename check_mapping() to check_remap() and perform some CSE - switch away from ``%s'' to '%s' - remove a bunch of #ifdef using new have_feature defines
show more ...
|
| #
cbabfa75 |
| 20-Nov-2018 |
mrg <mrg@NetBSD.org> |
move some #if support into bozohttpd.h.
|
| #
3230a9a3 |
| 20-Nov-2018 |
mrg <mrg@NetBSD.org> |
from CHANGES:
o reduce default timeouts, and add expand timeouts to handle the initial line, each header, and the total time spent o add -T option to expose new timeout settings o minor RFC fi
from CHANGES:
o reduce default timeouts, and add expand timeouts to handle the initial line, each header, and the total time spent o add -T option to expose new timeout settings o minor RFC fixes related to timeout handling responses
old timeouts: 60 seconds for initial request like, 60 seconds per header line, and no whole timeout (though the recent total header size changes do introduce one that would be about 11 hours.) new timeouts: 30 seconds for initial request like, 10 seconds per header line, and a total request time of 600 seconds.
the new global timeout is implemented using CLOCK_MONOTONIC, with a fallback to CLOCK_REALTIME if monotonic time is unavailable.
reject multiple Host: headers. besides being protocol standard, this closes one additional memory leak found by JP. add a simple test to check this.
clean up option and usage handling some.
show more ...
|
| #
da548da1 |
| 04-Oct-2016 |
mrg <mrg@NetBSD.org> |
update the -V documentation to be more clear about what it does. inspired by Swift Griggs on netbsd-users.
|
| #
5261f4fb |
| 04-Oct-2016 |
mrg <mrg@NetBSD.org> |
add -V to the usage() list. noted by Swift Griggs on netbsd-users.
|
| #
20563328 |
| 24-May-2016 |
agc <agc@NetBSD.org> |
As proposed in:
http://mail-index.netbsd.org/tech-userlevel/2016/05/18/msg009999.html
and
https://www.netbsd.org/~agc/bozo-20160517.diff
add a patch to httpd to return the version string of htt
As proposed in:
http://mail-index.netbsd.org/tech-userlevel/2016/05/18/msg009999.html
and
https://www.netbsd.org/~agc/bozo-20160517.diff
add a patch to httpd to return the version string of httpd itself, and use the -G option on the command line to enable this. This gives httpd the ability to show, from the command line, what version is running.
% /usr/build/obj/x86_64/usr/src/libexec/httpd/bozohttpd -G bozohttpd version bozohttpd/20160415 %
show more ...
|
| #
881b8188 |
| 28-Dec-2015 |
mrg <mrg@NetBSD.org> |
rename bozo_err/bozo_warn/bozo_asprintf to bozoerr/etc. new rule is that function that mirror libc-style functions get no underscore.
|
| #
cff2d956 |
| 27-Dec-2015 |
mrg <mrg@NetBSD.org> |
several clean ups:
- 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 h
several clean ups:
- 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.
show more ...
|
| #
14ba2569 |
| 12-Dec-2015 |
christos <christos@NetBSD.org> |
- restrict the default list of ciphers to something more secure - restrict ssl options From Travis Paul
|
| #
55cd3147 |
| 29-Nov-2015 |
kamil <kamil@NetBSD.org> |
Remove nonexistent option z: in the getopt(3) call
|
| #
c4fe1fac |
| 28-Oct-2015 |
shm <shm@NetBSD.org> |
* add CGI support for ~user translation (-E switch) * add redirects to ~user translation * fix bugs around ~user translation * add schema detection for absolute redirects * fixed few memory leaks * b
* add CGI support for ~user translation (-E switch) * 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@
show more ...
|
| #
dfbb0220 |
| 16-Jul-2014 |
mrg <mrg@NetBSD.org> |
make -t chroot option available always again.
|
| #
d1b43391 |
| 02-Jan-2014 |
mrg <mrg@NetBSD.org> |
- update CHANGES with recent changes - update version to 20140102 - update copyrights - use getcwd() over getwd() - fix lean build (don't include lua)
|