Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/httpd serve .iso as "application/octet-stream". bum...



details:   https://anonhg.NetBSD.org/src/rev/3b9726ad5850
branches:  trunk
changeset: 376264:3b9726ad5850
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jun 07 20:12:31 2023 +0000

description:
serve .iso as "application/octet-stream".  bump version & copyright.

diffstat:

 libexec/httpd/bozohttpd.c    |  6 +++---
 libexec/httpd/content-bozo.c |  5 +++--
 libexec/httpd/main.c         |  4 ++--
 libexec/httpd/ssl-bozo.c     |  4 ++--
 4 files changed, 10 insertions(+), 9 deletions(-)

diffs (78 lines):

diff -r 95305f08edd3 -r 3b9726ad5850 libexec/httpd/bozohttpd.c
--- a/libexec/httpd/bozohttpd.c Wed Jun 07 15:46:11 2023 +0000
+++ b/libexec/httpd/bozohttpd.c Wed Jun 07 20:12:31 2023 +0000
@@ -1,9 +1,9 @@
-/*     $NetBSD: bozohttpd.c,v 1.142 2022/09/12 10:30:39 martin Exp $   */
+/*     $NetBSD: bozohttpd.c,v 1.143 2023/06/07 20:12:31 mrg Exp $      */
 
 /*     $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $      */
 
 /*
- * Copyright (c) 1997-2022 Matthew R. Green
+ * Copyright (c) 1997-2023 Matthew R. Green
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -108,7 +108,7 @@
 #define INDEX_HTML             "index.html"
 #endif
 #ifndef SERVER_SOFTWARE
-#define SERVER_SOFTWARE                "bozohttpd/20220517"
+#define SERVER_SOFTWARE                "bozohttpd/20230602"
 #endif
 #ifndef PUBLIC_HTML
 #define PUBLIC_HTML            "public_html"
diff -r 95305f08edd3 -r 3b9726ad5850 libexec/httpd/content-bozo.c
--- a/libexec/httpd/content-bozo.c      Wed Jun 07 15:46:11 2023 +0000
+++ b/libexec/httpd/content-bozo.c      Wed Jun 07 20:12:31 2023 +0000
@@ -1,9 +1,9 @@
-/*     $NetBSD: content-bozo.c,v 1.21 2022/05/31 06:34:33 mrg Exp $    */
+/*     $NetBSD: content-bozo.c,v 1.22 2023/06/07 20:12:31 mrg Exp $    */
 
 /*     $eterna: content-bozo.c,v 1.17 2011/11/18 09:21:15 mrg Exp $    */
 
 /*
- * Copyright (c) 1997-2021 Matthew R. Green
+ * Copyright (c) 1997-2023 Matthew R. Green
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -198,6 +198,7 @@ static bozo_content_map_t static_content
        { ".vrml",      "x-world/x-vrml",               "",             "", NULL },
        { ".svg",       "image/svg+xml",                "",             "", NULL },
        { ".mobi",      "application/x-mobipocket-ebook", "",           "", NULL },
+       { ".iso",       "application/octet-stream",     "",             "", NULL },
        { NULL,         NULL,           NULL,           NULL, NULL }
 };
 
diff -r 95305f08edd3 -r 3b9726ad5850 libexec/httpd/main.c
--- a/libexec/httpd/main.c      Wed Jun 07 15:46:11 2023 +0000
+++ b/libexec/httpd/main.c      Wed Jun 07 20:12:31 2023 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: main.c,v 1.30 2022/09/12 10:30:39 martin Exp $ */
+/*     $NetBSD: main.c,v 1.31 2023/06/07 20:12:31 mrg Exp $    */
 
 /*     $eterna: main.c,v 1.6 2011/11/18 09:21:15 mrg Exp $     */
 /* from: eterna: bozohttpd.c,v 1.159 2009/05/23 02:14:30 mrg Exp       */
 
 /*
- * Copyright (c) 1997-2021 Matthew R. Green
+ * Copyright (c) 1997-2023 Matthew R. Green
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff -r 95305f08edd3 -r 3b9726ad5850 libexec/httpd/ssl-bozo.c
--- a/libexec/httpd/ssl-bozo.c  Wed Jun 07 15:46:11 2023 +0000
+++ b/libexec/httpd/ssl-bozo.c  Wed Jun 07 20:12:31 2023 +0000
@@ -1,9 +1,9 @@
-/*     $NetBSD: ssl-bozo.c,v 1.32 2022/09/12 10:30:39 martin Exp $     */
+/*     $NetBSD: ssl-bozo.c,v 1.33 2023/06/07 20:12:31 mrg Exp $        */
 
 /*     $eterna: ssl-bozo.c,v 1.15 2011/11/18 09:21:15 mrg Exp $        */
 
 /*
- * Copyright (c) 1997-2020 Matthew R. Green
+ * Copyright (c) 1997-2023 Matthew R. Green
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without



Home | Main Index | Thread Index | Old Index