Project

General

Profile

Bug #1511

mod_uploadprogress broken by mod_proxy_core

Added by Anonymous over 11 years ago. Updated almost 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
mod_uploadprogress
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

while uploadpost to php script is processed the GET /progress requests will be responded, after the upload is finished, so i get the final received sizes in the javascript object, which is useless for presenting a progress bar. it seems the post kind of blocks every other request... this is for r1992

my config:


...
$PHYSICAL["existing-path"] =~ "\.php$" {
  proxy-core.balancer = "round-robin" 
  proxy-core.protocol = "fastcgi" 
  proxy-core.allow-x-sendfile = "enable" 
  proxy-core.backends = ( "127.0.0.1:1026" )
  proxy-core.max-pool-size = 16
}

...
server.modules += ("mod_uploadprogress")
upload-progress.progress-url = "/progress" 

...
# all php requests are rewritten
# for having nice urls

server.modules += ( "mod_rewrite" )
url.rewrite-once = (
  "^/rs/([^?]*)\.(.*)$" => "$0",
  "^/rs/(.*)$" => "/rs/index.php/$1",
  "^/rs$" => "/rs/index.php",
)

b.t.w there's still no working demo of this great feature anywhere. i once did get uploadprogress working with some older version. unfortunately everything is lost when my college destroyed my xen image :((

cheers,
robert

-- robbie.wilhelm

History

#1

Updated by Anonymous over 11 years ago

yup. got the same problem :/. it seems that the whole content i uploaded to the backend when it finishes...

-- cahe

#2

Updated by Anonymous over 11 years ago

It doesn't work with the http backend as well. It seems' that it's a general mod_proxy_core issue.

-- cahe

#3

Updated by stbuehler almost 11 years ago

  • Category changed from mod_proxy_core to mod_uploadprogress
#4

Updated by EricIsGood almost 11 years ago

mod_uploadprogress is successfully reporting the upload progress for me as of r2353. This might be resolved.

#5

Updated by icy almost 11 years ago

  • Status changed from New to Fixed
  • Priority changed from High to Normal
  • Pending changed from Yes to No
  • Patch available set to No

I don't know in what changeset this was fixed, it's too old to bother looking it up.
Closed because working in recent versions.

Also available in: Atom