GitHub user ProjectMoon opened a pull request:
https://github.com/apache/cloudstack/pull/1607
SSVM downloader now handles redirects properly.
Previously it was using the HttpClient to make an initial request to an
ISO. This would follow redirects. Then it would make another request using
built-in Java URL and InputStream, which doesn't follow redirects. This results
in the ISO getting stuck at 0% forever and also causing DOS effects.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/greenqloud/cloudstack pr-iso-follow-redirects
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1607.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1607
----
commit 14803529705f17194a6eee92187cc572e8741f47
Author: jeff <[email protected]>
Date: 2016-07-08T09:59:08Z
SSVM downloader now handles redirects properly.
Previously it was using the HttpClient to make an initial request
to an ISO. This would follow redirects. Then it would make
another request using built-in Java URL and InputStream, which
doesn't follow redirects. This results in the ISO getting stuck
at 0% forever and also causing DOS effects.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---