Previous version crashes if you send a HTTP/1.0 request with no Host header.
PR: 164737
Submitted by: Michiel Boland <michiel at boland dot org> (maintainer)
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
Changes (as taken from
16461.82.215.41.237.1185016981.squirrel@webmail.xs4all.nl):
1) On FreeBSD there was a rather embarrassing bug when sendfile was used,
which manifests itself in bogus 'premature end of file' messages in the
error log. This should now be fixed.
2) There were some stupid mistakes in the way in which Content-Length, and
Range headers were computed and/or parsed. This had to do with the fact
that size_t is 32 bit on most 32-bit platforms, but file sizes can be
much bigger.
3) Mathopd would refuse to open files larger than 2 GB on Solaris or Linux.
This should now be fixed, provided you follow the instructions in the
Makefile.
4) The SanitizePath feature (the one that substitutes // for /, etc. in
request URIs) has been retrofitted into 1.5.
5) Some cosmetic changes were made to the Makefile in 1.6. These were
merged also.
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.
The (42 or so) ports that already DTRT before are unchanged.