disable chrome http request throttling in extension -


how can disable anti ddos throttling inside chrome extension? working set flag --disable-extensions-http-throttling inside extension shortcut, not acceptable when extension running on many clients (i need set manually on client).

i have tried disable in background.js script, not working:

chrome.webrequest.onheadersreceived.addlistener(     function(info) {       var headers = info.responseheaders;       var throttleheader = {name: 'x-chrome-exponential-throttling',           value: 'disable'};       headers.push(throttleheader);       return {responseheaders: headers};     },     {         urls: ['*://*/*'], // pattern match http(s) pages         types: ['sub_frame', 'xmlhttprequest']     },     ['blocking', 'responseheaders'] ); 

are there other ways disable throttling extension? using latest version of chrome (50.0.2661.102 m)

there no way disable throttling within extension. allowing developers defeat purpose of throttling.

in fact possibility exploit x-chrome-exponential-throttling header purpose way tried considered security issue: https://bugs.chromium.org/p/chromium/issues/detail?id=318366

this led removing x-chrome-exponential-throttling header chrome in may 2015: https://bugs.chromium.org/p/chromium/issues/detail?id=352259


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -