Code Monkey home page Code Monkey logo

Comments (1)

masterzen avatar masterzen commented on August 15, 2024

Hi,
That's what I thought: your upload is too fast and finishes before your first upload progress probe hits nginx:
Upload start:
2010/02/15 15:31:25 [debug] 10253#0: *1 http request line: "POST /customer/files/ftp_upload?X-Progress-ID=5707e98c445839f0613b9e32cad597d5 HTTP/1.1"

Upload finishes at:
2010/02/15 15:31:25 [debug] 10253#0: *1 http upstream request: "/customer/files/ftp_upload?X-Progress-ID=5707e98c445839f0613b9e32cad597d5"

First probe is at:
2010/02/15 15:31:26 [debug] 10253#0: *3 http request line: "GET /upload_progress HTTP/1.1"

As you can see, it is before the probe.
If you want to check that it indeed works:

  • upload something larger
  • throttle your upload
  • send more frequent probes

About the probes, I suggest instead of using the code I ship with the code, to use one of the javascript library (I'm no JS dev):
http://github.com/drogus/prototype-upload-progress
or
http://github.com/drogus/jquery-upload-progress

from nginx-upload-progress-module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.