[GH-ISSUE #94] File uploads in-browser show incorrect progress #83

Open
opened 2026-02-26 12:33:55 +03:00 by kerem · 0 comments
Owner

Originally created by @WhiteExponent on GitHub (Jan 22, 2020).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/94

When uploading a file in the browser with shadowsocks + Cloak configured, the upload usually goes immediately to 100%, despite still uploading at my normal bandwidth. I suppose this is because either shadowsocks or Cloak buffers the actual file, and Firefox can immediately send the data to the proxy (which is on localhost), but the response is only received after the file is really sent. Perhaps a sequential read system could be added where the local end of the proxy only accepts new data from the browser after the current chunk has been uploaded.

Originally created by @WhiteExponent on GitHub (Jan 22, 2020). Original GitHub issue: https://github.com/cbeuw/Cloak/issues/94 When uploading a file in the browser with shadowsocks + Cloak configured, the upload usually goes immediately to 100%, despite still uploading at my normal bandwidth. I suppose this is because either shadowsocks or Cloak buffers the actual file, and Firefox can immediately send the data to the proxy (which is on localhost), but the response is only received after the file is really sent. Perhaps a sequential read system could be added where the local end of the proxy only accepts new data from the browser after the current chunk has been uploaded.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cloak#83
No description provided.