| Age | Commit message (Collapse) | Author |
|
|
|
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).
|
|
|
|
|
|
bozo_set_pref() fails, return 0 instead. fixes PR#54785 but with
a different patch.
|
|
OK mrg@
|
|
|
|
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.)
|
|
from PR#56367 (thanks JP.)
|
|
from <henrik@gulbra.net>
|
|
|
|
always happens errors in the testsuite. switch all these buffers
to be 4KiB sized. reported by embr <git@liclac.eu>
|
|
from embr <git@liclac.eu>.
|
|
Found by the recently added check to lint (message 342).
ok mrg@
|
|
reported by Justin Parrott in PR#56085.
|
|
o new support for content types: .tar.bz2, .tar.xz, .tar.lz,
.tar.zst, .tbz2, .txz, .tlz, .zipx, .xz, .zst, .sz, .lz, .lzma,
.lzo, .7z, .lzo, .cab, .dmg, .jar, and .rar. should fix
netbsd PR#56026:
MIME type of .tar.xz file on ny{cdn,ftp}.NetBSD.org is invalid
|
|
|
|
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..
|
|
o fix various NULL derefs from malformed headers. mostly from
<emily@ingalls.rocks>.
|
|
Make sure the alignment mask derived from pagesize is an off_t.
|
|
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
|
|
also match %2F as well as %2f. from leah@vuxu.org.
introduce defines for "80" and "443". copyright maint.
|
|
|
|
|
|
|
|
Thanks to Dr. Thomas Orgis for reporting the issue.
|
|
to Makefile.boot.
|
|
|
|
autoindex listings.
|
|
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@, mrg@
|
|
previous release.
|
|
work with in this timeout value, ssl setup now fails.
mostly different from, but inspired from the patch in PR 50655
|
|
served, but links to them are generated.
|
|
- avoid calloc, use bozomalloc
- minor CSE
- fix bozoprefs->size setting when increasing the size (new total was
being added to the prior total.) found by clang static analyzer
from rajeev_v_pillai.
pass httpd to size_arrays() now.
free(NULL) is legal.
|
|
- bozostrnsep() may return with "in = NULL", so check for it.
- nul terminating in bozo_escape_rfc3986() can be simpler
- don't use uniinit variables in check_remap()
- don't use re-used freed data in check_virtual(). this one is tricky as
the original code was:
free(request->hr_file);
request->hr_file = bozostrdup(httpd, request, s ? s : "/");
however, bozostrdup() may reference request->hr_file.
|
|
- adjust the directory indexing again:
- don't include "index.html" in html headers
- additional escaping of names
- re-add top/bottom borders
- adds an aquamarine table header
- Zebra-stripes table rows using CSS instead of code
all from "Rajeev V. Pillai" <rajeev_v_pillai@yahoo.com>
|
|
Suggested by <mrg>, thanks! (Possible mistakes are mine though!)
|
|
|
|
in the slashdir too.
Problem reported by JP via tech-security@ and discussed with <mrg>, thanks!
|
|
Problem reported by <maya> and reviewed by <maya> and <mrg>, thanks!
|
|
|
|
Note that this isn't reachable in practice as big requests time out.
|
|
from "Rajeev V. Pillai" <rajeev_v_pillai@yahoo.com>
call this bozohttpd 20181204.
|
|
wanted values.) from Rajeev V. Pillai.
|
|
|
|
|
|
- one return is usually enough.
|
|
|
|
|
|
|