diff options
author | Adam Domurad <[email protected]> | 2013-02-14 15:48:21 -0500 |
---|---|---|
committer | Adam Domurad <[email protected]> | 2013-02-14 15:48:21 -0500 |
commit | 59d2d03b074c70cc9c771d4787353726b1426d91 (patch) | |
tree | 8eb9cec30b1d95251b8cc9dab783530e825f582a /ChangeLog | |
parent | 5f81c444fcb54e316999146db197bfe2d1aaaaef (diff) |
Fix PR835, use HEAD requests to query if resource URL is valid
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,18 @@ 2013-02-14 Adam Domurad <[email protected]> + PR835: javaws leaks connections + Uses HEAD requests if possible for testing URLs. Adds name to download + threads. + * netx/net/sourceforge/jnlp/cache/ResourceTracker.java: + (startThread): Add name to download thread + (getResourceUrlResponseCode): Get or fake an HTTP response code. + (findBestUrl): Use getResourceUrlResponseCode to first try a HEAD + request. Fall-back to GET rquest. + * netx/net/sourceforge/jnlp/utils/StreamUtils.java: + New file, contains utility for consuming input stream. + +2013-02-14 Adam Domurad <[email protected]> + * tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: Support HEAD requests. |