CVS commit: src/libexec/httpd

2021-05-05 Thread matthew green
Module Name:src Committed By: mrg Date: Wed May 5 07:41:48 UTC 2021 Modified Files: src/libexec/httpd: CHANGES auth-bozo.c bozohttpd.c bozohttpd.h src/libexec/httpd/testsuite: t10.out Log Message: don't assume host BUFSIZ is sufficent. small BUFSIZ leads to alway

CVS commit: src/libexec/httpd

2021-05-05 Thread matthew green
Module Name:src Committed By: mrg Date: Wed May 5 07:09:19 UTC 2021 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: include . bozo_unconst() uses uintptr_t defined here. from embr . To generate a diff of this commit: cvs rdiff -u -r1.130 -r1.131 src/libexec

CVS commit: src/libexec/httpd

2021-04-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Apr 8 07:02:12 UTC 2021 Modified Files: src/libexec/httpd: bozohttpd.c cgi-bozo.c Log Message: bozohttpd: fix argument type for functions from Found by the recently added check to lint (message 342). ok mrg@ To generate

CVS commit: src/libexec/httpd/small

2021-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Apr 8 06:52:42 UTC 2021 Modified Files: src/libexec/httpd/small: Makefile Log Message: bozohttpd-small: fix typo in SRCS, fix targets dependall and lint The additional ':' after 'main.c' had no effect on the compilation sinc

CVS commit: src/libexec/httpd/small

2021-04-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Apr 8 06:44:55 UTC 2021 Modified Files: src/libexec/httpd/small: Makefile Log Message: bozohttpd-small: fix error handling for unifdef The second of the '$$?' was spelled only '$?'. At the time where this shell expression w

CVS commit: src/libexec/httpd

2021-04-04 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 4 18:14:27 UTC 2021 Modified Files: src/libexec/httpd: CHANGES bozohttpd.c Log Message: avoid DoS in initial request size, which is now bounded at 16KiB. reported by Justin Parrott in PR#56085. To generate a diff of this c

CVS commit: src/libexec/httpd

2021-02-28 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Feb 28 16:10:00 UTC 2021 Modified Files: src/libexec/httpd: printenv.lua Log Message: libexec/httpd: fix cross-site scripting in Lua example curl \ --header 'NAME: ' \ 'http://127.0.0.1:8080/test/printenv?=' To generate

CVS commit: src/libexec/httpd

2021-02-27 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 28 05:19:52 UTC 2021 Modified Files: src/libexec/httpd: bozohttpd.8 Log Message: update version, dates, add emily to list of contributors. sort list. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/libexe

CVS commit: src/libexec/httpd

2021-02-27 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 28 04:18:46 UTC 2021 Modified Files: src/libexec/httpd: Makefile Log Message: avoid warnings from the previous when using objdirs. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/libexec/httpd/Makefile Pl

CVS commit: src/libexec/httpd

2021-02-27 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 28 02:39:15 UTC 2021 Modified Files: src/libexec/httpd: Makefile Log Message: give BOZOVER a default so exporting a distfile is easy. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/libexec/httpd/Makefile

CVS commit: src/libexec/httpd

2021-02-27 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Feb 27 12:55:25 UTC 2021 Modified Files: src/libexec/httpd: CHANGES bozohttpd.c content-bozo.c Log Message: changes in bozohttpd 20210227: o new support for content types: .tar.bz2, .tar.xz, .tar.lz, .tar.zst,

CVS commit: src/libexec/httpd

2021-02-27 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Feb 27 12:36:46 UTC 2021 Modified Files: src/libexec/httpd: CHANGES bozohttpd.c bozohttpd.h cgi-bozo.c main.c src/libexec/httpd/libbozohttpd: libbozohttpd.3 Log Message: belated call version 20210211 after previous memory

CVS commit: src/libexec/httpd

2021-02-11 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Feb 11 09:57:53 UTC 2021 Modified Files: src/libexec/httpd: bozohttpd.c bozohttpd.h main.c src/libexec/httpd/libbozohttpd: libbozohttpd.3 Log Message: clean up issues detected by address sanitizer (just some memory leaks

CVS commit: src/libexec/httpd

2021-02-11 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Feb 11 09:23:56 UTC 2021 Modified Files: src/libexec/httpd: CHANGES bozohttpd.c bozohttpd.h cgi-bozo.c src/libexec/httpd/testsuite: Makefile Added Files: src/libexec/httpd/testsuite: t16.in t16.out t17.in t17.out t

CVS commit: src/libexec/httpd

2021-01-16 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jan 17 00:15:14 UTC 2021 Modified Files: src/libexec/httpd: Makefile.boot Log Message: also set -D_DEFAULT_SOURCE to open up more headers. allow passing $(EXTRALIBS). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/libexec/httpd

2020-11-19 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Thu Nov 19 10:45:37 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: Bozohttpd clobbers files greater than 4GB on 32bit archs. Make sure the alignment mask derived from pagesize is an off_t. To generate a d

CVS commit: src/libexec/httpd

2020-10-15 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Oct 15 09:54:22 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.8 Log Message: New sentence, new line. Fix xref. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/libexec/httpd/bozohttpd.8 Please note tha

CVS commit: src/libexec/httpd

2020-10-14 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Oct 15 04:21:53 UTC 2020 Modified Files: src/libexec/httpd: CHANGES bozohttpd.8 bozohttpd.c bozohttpd.h cgi-bozo.c content-bozo.c daemon-bozo.c main.c ssl-bozo.c Log Message: various updates from / freebsd. the list

CVS commit: src/libexec/httpd

2020-10-14 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Oct 15 02:19:24 UTC 2020 Modified Files: src/libexec/httpd: CHANGES auth-bozo.c bozohttpd.8 bozohttpd.c bozohttpd.h dir-index-bozo.c main.c ssl-bozo.c Log Message: set -D_GNU_SOURCE in Makefile.boot. from hadrien.lac

CVS commit: src/libexec/httpd

2020-09-12 Thread Olaf Seibert
Module Name:src Committed By: rhialto Date: Sat Sep 12 14:44:25 UTC 2020 Modified Files: src/libexec/httpd: content-bozo.c Log Message: bozohttpd: correct .m4a to audio/mp4. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/libexec/httpd/content-bozo.c P

CVS commit: src/libexec/httpd

2020-09-12 Thread Olaf Seibert
Module Name:src Committed By: rhialto Date: Sat Sep 12 12:39:28 UTC 2020 Modified Files: src/libexec/httpd: CHANGES content-bozo.c Log Message: bozohttpd: add .m4a and .m4v file extensions. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/libexec/httpd/C

CVS commit: src/libexec/httpd

2020-09-05 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Sep 5 13:38:24 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: avoid passing NULL pointers to printf() like functions and %s. To generate a diff of this commit: cvs rdiff -u -r1.120 -r1.121 src/libexec/htt

CVS commit: src/libexec/httpd

2020-08-25 Thread Leonardo Taccari
Module Name:src Committed By: leot Date: Tue Aug 25 20:02:33 UTC 2020 Modified Files: src/libexec/httpd: printenv.lua Log Message: Fix a typo in a comment To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/libexec/httpd/printenv.lua Please note that diffs a

CVS commit: src/libexec/httpd

2020-08-20 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Aug 20 07:56:27 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: compare mmap return again MAP_FAILED not -1 or 0. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/libexec/httpd/bozohttpd.

CVS commit: src/libexec/httpd

2020-08-20 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Aug 20 07:57:01 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: call this bozohttpd/20200820 To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/libexec/httpd/bozohttpd.c Please note that d

CVS commit: src/libexec/httpd

2020-08-20 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Aug 20 07:55:10 UTC 2020 Modified Files: src/libexec/httpd: CHANGES bozohttpd.8 Log Message: update for recent changes. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/libexec/httpd/CHANGES cvs rdiff -u -r1.83

CVS commit: src/libexec/httpd

2020-08-19 Thread S.P.Zeidler
Module Name:src Committed By: spz Date: Thu Aug 20 05:46:31 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.c bozohttpd.h cgi-bozo.c ssl-bozo.c Log Message: send close_notify for the ssl connection before closing the TCP connection Thanks to Dr. Thomas Orgis for repo

CVS commit: src/libexec/httpd/small

2020-07-13 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jul 13 10:35:17 UTC 2020 Modified Files: src/libexec/httpd/small: Makefile Log Message: Add -DNO_BLOCKLIST_SUPPORT also to small/Makefile. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/libexec/httpd/small/M

CVS commit: src/libexec/httpd

2020-07-13 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Jul 13 09:41:18 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.8 Log Message: Use Nx. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/libexec/httpd/bozohttpd.8 Please note that diffs are not public dom

CVS commit: src/libexec/httpd

2020-07-13 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Mon Jul 13 09:38:57 UTC 2020 Modified Files: src/libexec/httpd: Makefile.boot bozohttpd.8 bozohttpd.c Log Message: Do not report status code 500 to blocklistd(8) Add -DNO_BLOCKLIST_SUPPORT to Makefile.boot. To generate a diff o

CVS commit: src/libexec/httpd

2020-07-11 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Jul 11 08:10:52 UTC 2020 Modified Files: src/libexec/httpd: Makefile auth-bozo.c bozohttpd.8 bozohttpd.c bozohttpd.h Log Message: Add blocklistd(8) support. To generate a diff of this commit: cvs rdiff -u -r1.28

CVS commit: src/libexec/httpd

2020-07-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Jul 6 23:31:36 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.8 bozohttpd.c bozohttpd.h dir-index-bozo.c main.c Log Message: Add -R flag to specify a README file to add at the bottom of directory autoinde

CVS commit: src/libexec/httpd

2020-06-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Jun 7 23:33:02 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: libexec/httpd: Fix the possible -Werror=stringop-truncation Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed b

CVS commit: src/libexec/httpd

2019-12-05 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Dec 6 05:53:21 UTC 2019 Modified Files: src/libexec/httpd: cgi-bozo.c Log Message: remove some XXX comments. one isn't relevant, and the other two have been incorrect for a long while now. To generate a diff of this commit: c

CVS commit: src/libexec/httpd

2019-03-29 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Mar 29 14:46:44 UTC 2019 Modified Files: src/libexec/httpd: cgi-bozo.c Log Message: Account for cgihandler being set when counting the number of CGI environment headers we are about to set. Avoids an assertion failure (and ove

CVS commit: src/libexec/httpd/testsuite

2019-03-26 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Mar 27 04:50:30 UTC 2019 Modified Files: src/libexec/httpd/testsuite: Makefile Log Message: add $NetBSD$ To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/libexec/httpd/testsuite/Makefile Please note that diffs

CVS commit: src/libexec/httpd

2019-03-07 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Mar 8 03:12:28 UTC 2019 Modified Files: src/libexec/httpd: bozohttpd.h Log Message: on m68010 set BOZO_WRSZ to 16k and BOZO_WRSZ to 64k. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/libexec/httpd/bozohttpd

CVS commit: src/libexec/httpd

2019-02-28 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Feb 28 09:16:42 UTC 2019 Modified Files: src/libexec/httpd: CHANGES bozohttpd.c Log Message: call this bozohttpd 20190228, and merge the CHANGES entries from the previous release. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/libexec/httpd

2019-02-28 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Feb 28 08:28:22 UTC 2019 Modified Files: src/libexec/httpd: auth-bozo.c bozohttpd.8 bozohttpd.c bozohttpd.h dir-index-bozo.c ssl-bozo.c Log Message: add ssl specific timeout value (30s). if SSL_accept() doesn't work

CVS commit: src/libexec/httpd

2019-01-26 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Jan 27 04:40:57 UTC 2019 Modified Files: src/libexec/httpd: CHANGES Log Message: fix duplicated chunk from merge To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/libexec/httpd/CHANGES Please note that dif

CVS commit: src/libexec/httpd

2019-01-21 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Jan 22 05:32:57 UTC 2019 Modified Files: src/libexec/httpd: CHANGES auth-bozo.c bozohttpd.c bozohttpd.h dir-index-bozo.c Log Message: o don't display special files in the directory index. they aren't served, but

CVS commit: src/libexec/httpd

2019-01-17 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Jan 18 06:04:10 UTC 2019 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: rework size_arrays(): - avoid calloc, use bozomalloc - minor CSE - fix bozoprefs->size setting when increasing the size (new total was being a

CVS commit: src/libexec/httpd

2019-01-17 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Jan 18 05:48:31 UTC 2019 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: fix a few problems pointed out by clang static analyzer, from rajeev_v_pillai: - bozostrnsep() may return with "in = NULL", so check for it. -

CVS commit: src/libexec/httpd

2019-01-16 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Jan 17 07:46:16 UTC 2019 Modified Files: src/libexec/httpd: CHANGES bozohttpd.8 bozohttpd.c cgi-bozo.c daemon-bozo.c dir-index-bozo.c Log Message: - call this 20190116 - adjust the directory indexing again: - don't

CVS commit: src/libexec/httpd

2019-01-16 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Jan 17 07:39:00 UTC 2019 Modified Files: src/libexec/httpd: Makefile src/libexec/httpd/testsuite: t11.out Log Message: add 'check' target to toplevel makefile. fix the t11.out output now that CGI parsing works better.

CVS commit: src/libexec/httpd

2019-01-16 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Jan 17 07:34:06 UTC 2019 Modified Files: src/libexec/httpd: CHANGES cgi-bozo.c daemon-bozo.c Log Message: - fix CGI '+' param and error handling. - remove unused parameter to daemon_poll_err(). both from "Rajeev V. Pillai" To

CVS commit: src/libexec/httpd

2019-01-07 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Jan 8 06:04:29 UTC 2019 Modified Files: src/libexec/httpd: bozohttpd.8 Log Message: remove reference to deleted -r option. fixes PR#53840 from J. Lewis Muir. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/l

CVS commit: src/libexec/httpd

2018-12-19 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Dec 19 12:40:32 UTC 2018 Modified Files: src/libexec/httpd: CHANGES bozohttpd.8 Log Message: minor rewording. fix alphabeta ordering of contributors. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/libexec/ht

CVS commit: src/libexec/httpd

2018-12-18 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Dec 18 23:11:40 UTC 2018 Modified Files: src/libexec/httpd: CHANGES Log Message: fix an old spell-o and a new format-o. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/libexec/httpd/CHANGES Please note that d

CVS commit: src/libexec/httpd

2018-12-15 Thread Leonardo Taccari
Module Name:src Committed By: leot Date: Sat Dec 15 12:52:37 UTC 2018 Modified Files: src/libexec/httpd: CHANGES bozohttpd.c Log Message: Document last changes and bump version to 20181215 Suggested by , thanks! (Possible mistakes are mine though!) To generate a diff of

CVS commit: src/libexec/httpd

2018-12-15 Thread Leonardo Taccari
Module Name:src Committed By: leot Date: Sat Dec 15 12:43:24 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: Fix handling of bozo_set_timeout() timeouts (and `-T' option parsing) To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/lib

CVS commit: src/libexec/httpd

2018-12-15 Thread Leonardo Taccari
Module Name:src Committed By: leot Date: Sat Dec 15 12:39:22 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: Avoid .htpasswd exposure to authenticated users when .htpasswd is in the slashdir too. Problem reported by JP via tech-security@ and discussed

CVS commit: src/libexec/httpd

2018-12-15 Thread Leonardo Taccari
Module Name:src Committed By: leot Date: Sat Dec 15 09:28:27 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: Avoid possible NULL dereference when sending a big request that timeout. Problem reported by and reviewed by and , thanks! To generate a d

CVS commit: src/libexec/httpd

2018-12-14 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sat Dec 15 02:03:24 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: strings.h for strcasecmp (on linux) To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/libexec/httpd/bozohttpd.c Please not

CVS commit: src/libexec/httpd

2018-12-14 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sat Dec 15 01:02:34 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: Check against BOZO_HEADERS_MAX_SIZE in a way that isn't prone to overflow. Note that this isn't reachable in practice as big requests time out.

CVS commit: src/libexec/httpd/testsuite

2018-12-14 Thread Maya Rashish
Module Name:src Committed By: maya Date: Fri Dec 14 23:57:22 UTC 2018 Modified Files: src/libexec/httpd/testsuite: Makefile test-bigfile test-simple Log Message: Don't pass ${HOST} to test scripts. htnl_cmp compares against the output of `hostname`. This makes the tests p

CVS commit: src/libexec/httpd

2018-12-03 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Dec 4 02:52:42 UTC 2018 Modified Files: src/libexec/httpd: CHANGES bozohttpd.8 bozohttpd.c dir-index-bozo.c Log Message: use html tables for directory index. from "Rajeev V. Pillai" call this bozohttpd 20181204. To generate

CVS commit: src/libexec/httpd

2018-12-03 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Dec 4 00:26:15 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: avoid sign extension in % handling (and printing 0xFF before wanted values.) from Rajeev V. Pillai. To generate a diff of this commit: cv

CVS commit: src/libexec/httpd

2018-11-25 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Nov 25 23:48:14 UTC 2018 Modified Files: src/libexec/httpd: CHANGES Log Message: normalise some messages. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/libexec/httpd/CHANGES Please note that diffs are not p

CVS commit: src/libexec/httpd

2018-11-25 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Nov 25 23:37:09 UTC 2018 Modified Files: src/libexec/httpd: CHANGES Log Message: add option fixes here. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/libexec/httpd/CHANGES Please note that diffs are not pub

CVS commit: src/libexec/httpd

2018-11-24 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Nov 25 07:37:20 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c main.c Log Message: fix -X option parsing. noted by Rajeev V. Pillai. To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/libexec/httpd/bozo

CVS commit: src/libexec/httpd

2018-11-24 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Nov 24 18:38:59 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: avoid c99ism. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/libexec/httpd/bozohttpd.c Please note that diffs are not publ

CVS commit: src/libexec/httpd

2018-11-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 24 13:08:11 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: - add FALLTHROUGH comment - one return is usually enough. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/libexec/httpd

CVS commit: src/libexec/httpd

2018-11-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 24 13:03:15 UTC 2018 Modified Files: src/libexec/httpd: cgi-bozo.c Log Message: appease lint To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/libexec/httpd/cgi-bozo.c Please note that diffs are not pu

CVS commit: src/libexec/httpd

2018-11-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 24 13:02:46 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.h Log Message: one semicolon is usually enough. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/libexec/httpd/bozohttpd.h Please note

CVS commit: src/libexec/httpd

2018-11-23 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Nov 24 02:35:13 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: call this bozohttpd 20181124. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/libexec/httpd/bozohttpd.c Please note that di

CVS commit: src/libexec/httpd

2018-11-23 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Nov 24 02:30:56 UTC 2018 Modified Files: src/libexec/httpd: main.c Log Message: 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();

CVS commit: src/libexec/httpd

2018-11-23 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Nov 24 00:47:52 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: s/time/val/ to avoid shadowing a global indentifier. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/libexec/httpd/bozohttpd

CVS commit: src/libexec/httpd

2018-11-23 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Nov 23 08:11:20 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.8 bozohttpd.c cgi-bozo.c content-bozo.c Log Message: minor style fixes. simplify bozo_match_content_map(). To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/libexec/httpd

2018-11-22 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 22 18:42:06 UTC 2018 Modified Files: src/libexec/httpd: cgi-bozo.c Log Message: add an assert() check on array bounds. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/libexec/httpd/cgi-bozo.c Please note

CVS commit: src/libexec/httpd

2018-11-22 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 22 18:21:59 UTC 2018 Modified Files: src/libexec/httpd: main.c Log Message: alpha sort the option switch. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/libexec/httpd/main.c Please note that diffs are no

CVS commit: src/libexec/httpd

2018-11-22 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 22 08:54:08 UTC 2018 Modified Files: src/libexec/httpd: auth-bozo.c bozohttpd.c bozohttpd.h cgi-bozo.c daemon-bozo.c dir-index-bozo.c main.c ssl-bozo.c tilde-luzah-bozo.c Log Message: many clean ups: - keep a list

CVS commit: src/libexec/httpd

2018-11-21 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Nov 21 17:39:19 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: use MAP_SHARED for the bzremap file. avoids netbsd kernel complaining: WARNING: defaulted mmap() share type to MAP_PRIVATE (pid 15478 command

CVS commit: src/libexec/httpd

2018-11-21 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Nov 21 10:25:17 UTC 2018 Modified Files: src/libexec/httpd: dir-index-bozo.c Log Message: two fixes reported by mouse: - don't check contents of 'st' if stat(2) failed. - round up instead of truncate. now 1 byte files say 10

CVS commit: src/libexec/httpd

2018-11-21 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Nov 21 09:37:02 UTC 2018 Modified Files: src/libexec/httpd: CHANGES auth-bozo.c bozohttpd.c bozohttpd.h src/libexec/httpd/testsuite: Makefile html_cmp test-bigfile test-simple Log Message: - move special files defines int

CVS commit: src/libexec/httpd

2018-11-19 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Nov 20 01:23:06 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.h Log Message: also fix have_dynamic_content from the previous previous. re-order the debug and dynamic content to match the same pattern as everything else s

CVS commit: src/libexec/httpd

2018-11-19 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Nov 20 01:15:50 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.h main.c Log Message: move some #if support into bozohttpd.h. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/libexec/httpd/bozohttpd.h cvs

CVS commit: src/libexec/httpd

2018-11-19 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Nov 20 01:19:52 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.h Log Message: fix previous: have_debug was reversed. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/libexec/httpd/bozohttpd.h Please not

CVS commit: src/libexec/httpd

2018-11-19 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Nov 20 01:06:47 UTC 2018 Modified Files: src/libexec/httpd: CHANGES auth-bozo.c bozohttpd.8 bozohttpd.c bozohttpd.h cgi-bozo.c content-bozo.c daemon-bozo.c dir-index-bozo.c main.c ssl-bozo.c tilde-luzah-boz

CVS commit: src/libexec/httpd

2018-11-18 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Nov 19 04:15:00 UTC 2018 Modified Files: src/libexec/httpd: CHANGES bozohttpd.8 Log Message: note the changes present in bozohttpd 20181118: o add url remap support via .bzremap file, from mar...@netbsd.org o handle redirectio

CVS commit: src/libexec/httpd

2018-11-18 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Nov 19 04:13:09 UTC 2018 Modified Files: src/libexec/httpd: auth-bozo.c Log Message: avoid memory leak in sending multiple auth headers. mostly mitigated by previous patch to limit total header size, but still a real problem here

CVS commit: src/libexec/httpd

2018-11-18 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Nov 19 04:12:22 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c bozohttpd.h src/libexec/httpd/testsuite: Makefile Added Files: src/libexec/httpd/testsuite: t14.in t14.out Log Message: fix a denial of servi

CVS commit: src/libexec/httpd

2018-11-18 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Nov 18 11:22:11 UTC 2018 Modified Files: src/libexec/httpd: cgi-bozo.c Log Message: use __func__ in debug(). To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/libexec/httpd/cgi-bozo.c Please note that diffs are

CVS commit: src/libexec/httpd

2018-08-24 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Aug 24 14:24:50 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.8 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/libexec/httpd/bozohttpd.8 Please note that diff

CVS commit: src/libexec/httpd

2018-08-24 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Aug 24 11:43:13 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.8 Log Message: Bump date To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/libexec/httpd/bozohttpd.8 Please note that diffs are not publi

CVS commit: src/libexec/httpd

2018-08-24 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Aug 24 11:41:16 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.8 bozohttpd.c src/libexec/httpd/testsuite: Makefile Added Files: src/libexec/httpd/testsuite: t12.in t12.out t13.in t13.out src/libex

CVS commit: src/libexec/httpd/testsuite

2018-08-24 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Aug 24 10:04:41 UTC 2018 Modified Files: src/libexec/httpd/testsuite: t3.out t5.out t6.out Log Message: fix output since protocol agnostic change went in. XXX: i thought someone hooked this into atf already, please do :) To ge

CVS commit: src/libexec/httpd/lua

2018-05-04 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Fri May 4 19:45:27 UTC 2018 Modified Files: src/libexec/httpd/lua: glue.c Log Message: Do not try and process empty requests. This resolves a crash when issuing a carriage return to read_request() in foreground mode. In the C daem

CVS commit: src/libexec/httpd

2018-05-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri May 4 18:07:23 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.h Log Message: fix the rest of the compilers. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/libexec/httpd/bozohttpd.h Please note t

CVS commit: src/libexec/httpd

2018-05-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri May 4 18:06:44 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.h Log Message: fix lint To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/libexec/httpd/bozohttpd.h Please note that diffs are not publ

CVS commit: src/libexec/httpd/lua

2018-05-01 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Wed May 2 00:03:27 UTC 2018 Modified Files: src/libexec/httpd/lua: optparse.lua Log Message: Unbreak script for Lua 5.3. This change breaks support for older releases of Lua. To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/libexec/httpd/lua

2018-05-01 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Wed May 2 00:00:30 UTC 2018 Modified Files: src/libexec/httpd/lua: bozo.lua Log Message: Pass the expected httpd instance when calling set_pref() process_request() only takes a single argument. To generate a diff of this commit:

CVS commit: src/libexec/httpd/lua

2018-05-01 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Tue May 1 23:51:53 UTC 2018 Modified Files: src/libexec/httpd/lua: glue.c Log Message: Enable checking arguments for validity. Remove disabled code. Fix function parameters. Add support for Lua 5.3 To generate a diff of this com

CVS commit: src/libexec/httpd

2018-02-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 6 15:48:46 UTC 2018 Modified Files: src/libexec/httpd: ssl-bozo.c Log Message: - need string.h - cast options to long for OpenSSL-1.1 To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/libexec/httpd/ssl

CVS commit: src/libexec/httpd

2018-01-28 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sun Jan 28 13:37:39 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: Use a protocol-agnostic URL (don't degrade HTTPS->HTTP) Suggested by Travis Paul in PR bin/52958. To generate a diff of this commit: cvs rdi

CVS commit: src/libexec/httpd

2017-11-28 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Nov 28 12:22:27 UTC 2017 Modified Files: src/libexec/httpd: bozohttpd.8 Log Message: Document script handler issues with httpd(8). >From martin@, addressing PR 52194. While here, use American spelling consistently and upper-case

CVS commit: src/libexec/httpd

2017-11-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Nov 28 10:33:51 UTC 2017 Modified Files: src/libexec/httpd: cgi-bozo.c Log Message: PR bin/52194: bozohttpd fails to exec scripts via the -C mechanism sometimes with EFAULT due to not NULL terminated environment. To generate

CVS commit: src/libexec/httpd

2017-10-04 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Oct 5 04:22:41 UTC 2017 Modified Files: src/libexec/httpd: cgi-bozo.c Log Message: s/u_int/unsigned/. from Jan Danielsson. increases/fixes portability. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/libexe

CVS commit: src/libexec/httpd

2017-07-07 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Jul 7 07:05:49 UTC 2017 Modified Files: src/libexec/httpd: bozohttpd.8 Log Message: fix ordering of a couple of words. from Edgar Pettijohn in PR#52375. thanks! To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 sr

CVS commit: src/libexec/httpd

2017-05-28 Thread Alexander Nasonov
Module Name:src Committed By: alnsn Date: Sun May 28 22:37:36 UTC 2017 Modified Files: src/libexec/httpd: lua-bozo.c Log Message: Cosmetic changes to Lua binding in bozohttpd. - Don't use negative indicies to read arguments of Lua functions. - On error, return nil, "error

  1   2   3   >