Skip to content

Instantly share code, notes, and snippets.

@purcell
Created January 28, 2012 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save purcell/1694717 to your computer and use it in GitHub Desktop.
Save purcell/1694717 to your computer and use it in GitHub Desktop.
(defadvice package-download-transaction
(around disable-keepalives (&optional args) activate)
"Disable HTTP keep-alives to work around network issues with Melpa host."
(let ((url-http-attempt-keepalives nil))
ad-do-it))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment