summaryrefslogtreecommitdiff
path: root/www/bozohttpd
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2003-10-06 01:18:28 +0000
committermrg <mrg@pkgsrc.org>2003-10-06 01:18:28 +0000
commit4845b0c51a618b0df86d907d729366485f97c5b7 (patch)
treed43999b0796c8aca709f4b1ad7d112828589e5d8 /www/bozohttpd
parentb6f5e5e101a7c61637bf58faf887d0a616cc1d2a (diff)
downloadpkgsrc-4845b0c51a618b0df86d907d729366485f97c5b7.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-aa36
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);