Alexander Sagen wrote:
Yeah, thanks... I guess it's the same-domain policy you're referring to?
I'm aware of that, I was wondering why anything would connect to localhost.
Sorry, you first mail wasn't clear it was not such a simple error. And I was in a hurry, so the short mail.
I wasn't aware of the fact that the DefaultSocketSessionConfig was connecting to itself, which I found out after digging into the sources. I'm sure there is a good reason for it to do so, but it's obviously not something an applet would want to do.
That's *really* interesting ! I had no idea that this class was creating a ServerSocket, and tried to connect to itself, and looking at the code, it seems that it's done to initialize some default values for a socket configuration. In any case, it sounds a very bad idea.

Anyone know of a way to get around this without digging too far into the framework? Would be a shame if the NIO-part of Mina wasn't usable in applets.
A total shame, I agree. I have opened a JIRA for this bug. We will try to get it fixed asap.

Thanks a lot for the report, it was very helpfull !

PS : Where it's becoming interesting is that it gives a clue about why on Vista, some other users get some warning because some unwanted connections are open ...

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to