From 3d22c178d766d0601b75f5c0de7ee0696745c41c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 13 Feb 2009 00:08:33 -0800 Subject: Remove tempfile reuse from HttpRequest, upload tests Tempfile reuse was over-engineered and the problem was not nearly as big a problem as initially thought. Additionally, it could lead to a subtle bug in an applications that link(2)s or rename(2)s the temporary file to a permanent location _without_ closing it after the request is done. Applications that suffer from the problem of directory bloat are still free to modify ENV['TMPDIR'] to influence the creation of Tempfiles. --- README | 6 ------ 1 file changed, 6 deletions(-) (limited to 'README') diff --git a/README b/README index 04b9440..45f0a8e 100644 --- a/README +++ b/README @@ -107,12 +107,6 @@ proxy we know of that meets this requirement. unportable event notification solutions for watching few file descriptors. - * Since workers only work on one client at a time, the temporary - file for storing large POST/PUT requests is reused for the - lifetime of the process. This should limit temp directory - growth on UNIX filesystems where temp file names are never - purged from the containing directory. - * If the master process dies unexpectedly for any reason, workers will notice within :timeout/2 seconds and follow the master to its death. -- cgit v1.2.3-24-ge0c7