php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58166 RFC1867 features fails during multiple uploads
Submitted: 2008-04-19 04:15 UTC Modified: 2016-11-18 20:51 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: richard at richard-sumilang dot com Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: 5.2.5 OS: Windows 2003 Server
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: richard at richard-sumilang dot com
New email:
PHP Version: OS:

 

 [2008-04-19 04:15 UTC] richard at richard-sumilang dot com
Description:
------------
When uploading more than 1 file and trying to get the results with APCs new rfc1867 feature it goes haywire and sometimes even breaks the upload.

I am using apc_fetch to get back the data and you will notice current amount transfered far exceeding the total amount possible, sometimes by even 800%.

Also some other symptoms include getting back a smaller current amount transfered than what was given earlier during the process.

And usually while the results being returned are going crazy they eventually freeze at a certain number and the upload doesn't go all the way through. Sometimes both apc_fetch results for both uploads freeze at the same time, its hard to tell though.

Reproduce code:
---------------
Just apc_fetch the results of a file being uploaded and then start another upload. You will notice the uploads go crazy when more than 1 go in progress. Uploading 1 file at a time is usually pretty stable.

Expected result:
----------------
^^

Actual result:
--------------
^^

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-19 06:24 UTC] rasmus@php.net
Which SAPI?  The feature isn't threadsafe, and likely never will be, so if you are using a threaded sapi, you are out of luck.
 [2008-06-17 20:39 UTC] richard at richard-sumilang dot com
I am using Apache 2 prefork. I am not using any threading but this problem still exists.
 [2009-02-18 22:57 UTC] shire@php.net
Probably worth trying the latest CVS on this, there's been some changes and bug fixes made.  My reproductions aren't the same, but behavior could be different on your OS.
 [2016-11-18 20:51 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2016-11-18 20:51 UTC] kalle@php.net
APC is no longer supported in favor of opcache that comes bundled with PHP, if you wish to use the user cache, then look at PECL/APCu.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 19:01:28 2024 UTC