On Wed, 4 Aug 2004, David Santinoli wrote: > I'm submitting a patch to perform "on the fly" MD5/SHA1 digest > calculation of a file uploaded via the HTTP POST method. Being > not uncommon for applications to require some digest of a freshly > uploaded file, doing the math directly in the buffer where the file is > being read can save some time.
I like this idea, and the patch looks (from a glance OK). Without applying it I have a question though: Does it handle cleaning up the digest structures correctly if the fileupload is aborted in some way? regards, Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php