K
katz.merav
Hi,
I have a client application connecting to a server using SSL.
The connection is very very slow.
When I add the server ip to the windows hosts file it connects quickly
but I don't want to rely on users doing this ....
I tried removing all calls to InetAddress.getByName to avoid DNS lookup
but it didn't help.
I found the the bottleneck is the SSLSocketFactory.createSocket call.
Any ideas ???
Thanks.
I have a client application connecting to a server using SSL.
The connection is very very slow.
When I add the server ip to the windows hosts file it connects quickly
but I don't want to rely on users doing this ....
I tried removing all calls to InetAddress.getByName to avoid DNS lookup
but it didn't help.
I found the the bottleneck is the SSLSocketFactory.createSocket call.
Any ideas ???
Thanks.