Project

General

Profile

Actions

Bug #1511

closed

mod_uploadprogress broken by mod_proxy_core

Added by Anonymous over 16 years ago. Updated over 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_uploadprogress
Target version:
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by Anonymous about 16 years ago

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

-- cahe

Actions #2

Updated by Anonymous about 16 years ago

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

-- cahe

Actions #3

Updated by stbuehler over 15 years ago

  • Category changed from mod_proxy_core to mod_uploadprogress
Actions #4

Updated by EricIsGood over 15 years ago

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

Actions #5

Updated by icy over 15 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.

Actions

Also available in: Atom