HUM is a CGI module that processes multipart/form-data input, extracts
a file being uploaded and saves it under compiled-in dir preserving original
If the file already exists, HUM calls tmpnam() function to generate
unique file name. Note that this can result in saving the file in a totally
different location. This depends upon P_tmpdir constant found in .
See tmpnam(3). This feature is pretty much experimental. There are several
ways to generate unique filename in *nix, and I have choosen tmpnam() just
because it's POSIX compliant. If you believe HUM must use tempnam, or mktemp, or whatever other way to avoid overwriting existing files, please let me know.
In many senses HUM is referemtial implementation and some parts must be
changed to make it more stable and usable in extra heavy load enviroments.
Note that since version 0.7 HUM refuses to run with root (e)uid/(e)gid. It's
not configurable, don't even ask. You can change HUM behaviour by altering
the code, but you aren't encouraged to. Running your HTTP server under
root account is asking for troubles.
· GNU libc5
· GNU cc 220.127.116.11
· Apache 1.3.1
· bash 1.14.7(1)
· w3m, Netscape Navigator
What's New in This Release:
· Don't run as root.