[rfc][icedtea-web] add possibility to use testserver also via host name (not only by localhost)

Jiri Vanek jvanek at redhat.com
Tue Oct 6 12:08:56 UTC 2015


Hello!

During the fiddling on SOPreproducer I found that socketconnections on localhost conenctions are... 
taken by shortcut via JDK.
So to test it more properly I need to call testserver via its hostname.
This patch is adding this ability to it.

Also I found that no metter how I call the server, its not clear whether it will be blocked on 
"localhost" or "127.0.0.1" or on "hostname"  - depends on type of permissions and level of blocking.
So the test server can return all ways how it is accessible.
Currently only ipv4 based, but extending to ipv6 may come in future.


J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: useHostNameIntestServerOnDemand.patch
Type: text/x-patch
Size: 4027 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20151006/5f59c4ff/useHostNameIntestServerOnDemand.patch>


More information about the distro-pkg-dev mailing list