kurtextrem / PS2Alerts

Easy overview over PlanetSide2 Alerts in Chrome.
https://chrome.google.com/webstore/detail/planetside-2-alerts/bondapheaemfkkiabfjnhdempfmnikcg
11 stars 0 forks source link

Remove keep-alive connection header #11

Closed Maelstromeous closed 10 years ago

Maelstromeous commented 10 years ago

Hey bud,

Was looking through the dev tools in chrome for the plugin, I noticed that theres a keep-alive flag which is set to true on the request.

http://puu.sh/9xV99/c9824579a8.png

I think this is the cause of the issues we're facing, as the connections are being kept open, therefore clogging up the sockets.

Maelstromeous commented 10 years ago

http://stackoverflow.com/questions/17062884/how-to-force-jquery-to-make-an-http-1-0-request-and-close-the-connection

kurtextrem commented 10 years ago

Added https://github.com/kurtextrem/PS2Alerts/commit/5312d75818c6a7a20ba047be6bfdf0500a7a8bb2