diff options
author | mrg <mrg@pkgsrc.org> | 2003-10-06 01:18:28 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2003-10-06 01:18:28 +0000 |
commit | 8a94087aa0d2d65f44cae119f592ac7d43bb92e1 (patch) | |
tree | d43999b0796c8aca709f4b1ad7d112828589e5d8 /www/bozohttpd | |
parent | f9d46ea46fed33f57328d649d439200eaf5e1233 (diff) | |
download | pkgsrc-8a94087aa0d2d65f44cae119f592ac7d43bb92e1.tar.gz |
update to bozohttpd 20031005. changes include:
o fixes for basic authorisation. from <ecu@ipv42.net>
o always display file size in directory index mode
o add .xbel, .xml & .xsl -> text/xml mappings. from
<wiz@danbala.ifoer.tuwien.ac.at>
Diffstat (limited to 'www/bozohttpd')
-rw-r--r-- | www/bozohttpd/patches/patch-aa | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/www/bozohttpd/patches/patch-aa b/www/bozohttpd/patches/patch-aa deleted file mode 100644 index 40c0f95b53d..00000000000 --- a/www/bozohttpd/patches/patch-aa +++ /dev/null @@ -1,36 +0,0 @@ -$NetBSD: patch-aa,v 1.9 2003/09/27 15:37:43 wiz Exp $ - ---- bozohttpd.c.orig 2003-07-09 17:53:47.000000000 +0200 -+++ bozohttpd.c -@@ -2092,6 +2092,9 @@ static struct content_map content_map[] - { ".ice", "x-conference/x-cooltalk", "", "", NULL }, - { ".wrl", "x-world/x-vrml", "", "", NULL }, - { ".vrml", "x-world/x-vrml", "", "", NULL }, -+ { ".xbel", "text/xml", "", "", NULL }, -+ { ".xml", "text/xml", "", "", NULL }, -+ { ".xsl", "text/xml", "", "", NULL }, - { NULL, NULL, NULL, NULL, NULL, }, - }; - -@@ -2332,10 +2335,10 @@ error(int code, const char *fmt, ...) - /* the follow functions and variables are used in handling HTTP errors */ - /* ARGSUSED */ - static void --http_error(code, request, log) -+http_error(code, request, logstr) - int code; - http_req *request; -- const char *log; -+ const char *logstr; - { - static char buf[BUFSIZ]; /* static so we don't need to malloc? */ - char portbuf[20]; -@@ -2344,7 +2347,7 @@ http_error(code, request, log) - const char *proto = (request && request->hr_proto) ? request->hr_proto : http_11; - int size; - -- debug((DEBUG_FAT, "http_error %d: %s", code, log)); -+ debug((DEBUG_FAT, "http_error %d: %s", code, logstr)); - if (header == NULL || reason == NULL) - error(1, "http_error() failed (short = %p, long = %p)", - header, reason); |