Ticket #1511 (new defect)

Opened 6 months ago

Last modified 5 months ago

mod_uploadprogress broken by mod_proxy_core

Reported by: robbie.wilhelm@gmail.com Assigned to: jan
Priority: high Milestone: 1.5.0
Component: mod_proxy_core Version: 1.5.x-svn
Severity: major Keywords:
Cc: Blocking:
Need Feedback: 1

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

Attachments

Change History

02/10/2008 02:19:32 PM changed by cahe

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

02/10/2008 02:26:20 PM changed by cahe

  • priority changed from normal to high.
  • component changed from mod_proxy_backend_fastcgi to mod_proxy_core.
  • severity changed from normal to major.
  • pending set to 1.
  • summary changed from mod_uploadprogress and mod_proxy_core with fastcgi php don't work together (blocking??) to mod_uploadprogress and mod_proxy_core together.

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

02/10/2008 02:27:04 PM changed by anonymous

  • summary changed from mod_uploadprogress and mod_proxy_core together to mod_uploadprogress broken by mod_proxy_core.

Add/Change #1511 (mod_uploadprogress broken by mod_proxy_core)




Change Properties