php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13435 fileupload and filedownload
Submitted: 2001-09-25 13:37 UTC Modified: 2001-10-28 12:19 UTC
From: saibot at t-sasse dot de Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.0.6 OS: windows 2000 pro
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: saibot at t-sasse dot de
New email:
PHP Version: OS:

 

 [2001-09-25 13:37 UTC] saibot at t-sasse dot de
While uploading thru intranet, the PHP-process uses 99% of CPU, lots of memory (up to twice as much as the file itself) and takes 3/4 hour for 40 MB. While sending this file back using fopen/passthru, it takes a lot time until the browsers download-dialog opens. Then the transfer itself ist very quick !

That's why I guess it is not a http-problem, but a problem in handling files or handling memory ! Another hint on this is, that large files seem to get back corrupt, as testing a large and downloaded file resulted in some crc-errors. On small files all works fine.

This one might be relatet to the bug 10800 (or 10080 %o),
so have a look at that.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-25 13:43 UTC] saibot at t-sasse dot de
Ahhm.... forgot the environment:

Win2kPro, Apache (latest),MySQL,RAID-System for IDE, 128MB of ram and about 40 GB free harddisk. The php.ini was configured for 100mb posts and 100mb files, using 64 MB of memory for each script.
 [2001-09-25 17:11 UTC] sniper@php.net
I'm working on this..

 [2001-10-28 12:19 UTC] sniper@php.net
This should be fixed in CVS now. You can try the latest 
development build from http://www.php4win.com/ but make
sure it's dated after 27th of October 2001.

Also, there are some minor leaks still in the new code.
If you encounter such leaks, please send the shortest
possible code + html with which you can reproduce the leak
to php-dev@lists.php.net (or me) so we can get rid of these
leaks. 

The fix will be in PHP 4.2.0.

--Jani


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC