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-bozo.c src/libexec/httpd/testsuite: Makefile Added Files: src/libexec/httpd/testsuite: t15.in t15.out Log Message: from CHANGES: o reduce default timeouts, and add expand timeouts to handle the initial line, each header, and the total time spent o add -T option to expose new timeout settings o minor RFC fixes related to timeout handling responses old timeouts: 60 seconds for initial request like, 60 seconds per header line, and no whole timeout (though the recent total header size changes do introduce one that would be about 11 hours.) new timeouts: 30 seconds for initial request like, 10 seconds per header line, and a total request time of 600 seconds. the new global timeout is implemented using CLOCK_MONOTONIC, with a fallback to CLOCK_REALTIME if monotonic time is unavailable. reject multiple Host: headers. besides being protocol standard, this closes one additional memory leak found by JP. add a simple test to check this. clean up option and usage handling some. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/libexec/httpd/CHANGES cvs rdiff -u -r1.19 -r1.20 src/libexec/httpd/auth-bozo.c cvs rdiff -u -r1.72 -r1.73 src/libexec/httpd/bozohttpd.8 cvs rdiff -u -r1.89 -r1.90 src/libexec/httpd/bozohttpd.c cvs rdiff -u -r1.50 -r1.51 src/libexec/httpd/bozohttpd.h cvs rdiff -u -r1.40 -r1.41 src/libexec/httpd/cgi-bozo.c cvs rdiff -u -r1.14 -r1.15 src/libexec/httpd/content-bozo.c \ src/libexec/httpd/tilde-luzah-bozo.c cvs rdiff -u -r1.17 -r1.18 src/libexec/httpd/daemon-bozo.c cvs rdiff -u -r1.25 -r1.26 src/libexec/httpd/dir-index-bozo.c cvs rdiff -u -r1.16 -r1.17 src/libexec/httpd/main.c cvs rdiff -u -r1.23 -r1.24 src/libexec/httpd/ssl-bozo.c cvs rdiff -u -r1.9 -r1.10 src/libexec/httpd/testsuite/Makefile cvs rdiff -u -r0 -r1.1 src/libexec/httpd/testsuite/t15.in \ src/libexec/httpd/testsuite/t15.out Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.