[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug crypto/31626] javax.net.SocketFactory#createSocket() throws Unsuppo
From: |
overholt at redhat dot com |
Subject: |
[Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException |
Date: |
18 Apr 2007 20:27:28 -0000 |
------- Comment #2 from overholt at redhat dot com 2007-04-18 21:27 -------
In http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236832#c2, Tom Tromey
wrote:
> how does Mylar use this socket once it has created it?
Socket socket = getSslContext().getSocketFactory().createSocket();
socket.bind(new InetSocketAddress(clientHost, clientPort));
socket.connect(new InetSocketAddress(remoteHost, remotePort),
params.getConnectionTimeout());
I'm not sure if we have a timeout somewhere. I changed these calls to:
Socket socket = getSslContext().getSocketFactory().createSocket(remoteHost,
remotePort, clientHost, clientPort);
It'd be cool if someone could tell me whether or not that's crack-tastic. It
seems to work with gij but it should work with the proprietary VMs as well. I
this it works, but I haven't tested extensively.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31626
- [Bug crypto/31626] New: javax.net.SocketFactory#createSocket() throws UnsupportedOperationException, overholt at redhat dot com, 2007/04/18
- [Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException, tromey at gcc dot gnu dot org, 2007/04/18
- [Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException, tromey at gcc dot gnu dot org, 2007/04/18
- [Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException,
overholt at redhat dot com <=
- [Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException, tromey at gcc dot gnu dot org, 2007/04/18
- [Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException, cvs-commit at developer dot classpath dot org, 2007/04/19
- [Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException, tromey at gcc dot gnu dot org, 2007/04/19
- [Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException, tromey at gcc dot gnu dot org, 2007/04/19
- [Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException, tromey at gcc dot gnu dot org, 2007/04/19
- [Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException, cvs-commit at developer dot classpath dot org, 2007/04/20
- [Bug crypto/31626] javax.net.SocketFactory#createSocket() throws UnsupportedOperationException, mark at gcc dot gnu dot org, 2007/04/20