Hi. I have released a new stable version of mathopd. This contains some
bugfixes, plus one feature that has been merged from 1.6.

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.

Because of item 2, Mathopd now requires an environment that supports C99
features. In particular you must have intmax_t types, and your library must
support the j and z printf modifiers. I have tested so far on FreeBSD,
Linux and Solaris, and these are all ok.

Cheers
Michiel


Reply via email to