Closed Bug 759659 Opened 8 years ago Closed 7 years ago
Limit the speed of a httpd
To test various things related to buffering for the audio and video elements, we need to be able to control the network speed of a httpd.js server (in the context of a mochitest, in particular). With this patch, one can hit the /server/rate?100 on the server to be able to limit the network speed to 100kB/s, using an XHR. /server/rate?0 removes the throttling. No throttling by default.
Comment on attachment 628238 [details] [diff] [review] Patch v0 : add a throttling feature to httpd.js This patch is wrong. I'll upload a better approach in the following days.
I don't need this anymore.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.