nginx-upload-progress-module icon indicating copy to clipboard operation
nginx-upload-progress-module copied to clipboard

Implement HTTP Server-Sent Events

Open BenBE opened this issue 8 years ago • 1 comments

To save on server-load renegotiating several SSL connections it might be interesting to implement server-sent events as means of returning the status. That way, only one connection has to be opened by the client, which reduces load on the server.

More information on Server-Sent Events can be found at the W3C at https://www.w3.org/TR/2009/WD-eventsource-20091029/

Default reporting interval might be 1000ms or 1 MiB, whatever happens first. Optional reporting details via request, e.g. /report?upload_id=foo&interval=750&block=524288 for updates every 750ms or completion of 512KiB.

BenBE avatar May 01 '17 21:05 BenBE

hello, did you implement this idea? i also need this solution. thanks!

sherlockchou86 avatar Mar 12 '18 07:03 sherlockchou86